diff options
Diffstat (limited to 'android/sdremote/res/layout')
-rw-r--r-- | android/sdremote/res/layout/action_bar_computer_creation.xml | 54 | ||||
-rw-r--r-- | android/sdremote/res/layout/activity_computer_creation.xml | 25 |
2 files changed, 79 insertions, 0 deletions
diff --git a/android/sdremote/res/layout/action_bar_computer_creation.xml b/android/sdremote/res/layout/action_bar_computer_creation.xml new file mode 100644 index 000000000000..5e6ea3696fb6 --- /dev/null +++ b/android/sdremote/res/layout/action_bar_computer_creation.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <FrameLayout + android:id="@+id/button_cancel" + style="@style/Widget.Sherlock.ActionButton" + android:layout_weight="1" + android:layout_width="0dp" + android:layout_height="match_parent"> + + <TextView + style="@style/Widget.Sherlock.ActionBar.TabText" + android:text="@string/button_cancel" + android:drawableLeft="@drawable/ic_action_cancel" + android:drawablePadding="@dimen/padding_action_bar_button_drawable" + android:paddingRight="@dimen/padding_horizontal_action_bar_button" + android:gravity="center_vertical" + android:layout_gravity="center" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + </FrameLayout> + + <View + android:layout_width="@dimen/width_action_bar_divider" + android:layout_height="match_parent" + android:layout_marginTop="@dimen/margin_vertical_action_bar_divider" + android:layout_marginBottom="@dimen/margin_vertical_action_bar_divider" + android:background="@color/background_action_bar_divider"/> + + <FrameLayout + android:id="@+id/button_save" + style="@style/Widget.Sherlock.ActionButton" + android:layout_weight="1" + android:layout_width="0dp" + android:layout_height="match_parent"> + + <TextView + style="@style/Widget.Sherlock.ActionBar.TabText" + android:text="@string/button_save" + android:drawableLeft="@drawable/ic_action_save" + android:drawablePadding="@dimen/padding_action_bar_button_drawable" + android:paddingRight="@dimen/padding_horizontal_action_bar_button" + android:gravity="center_vertical" + android:layout_gravity="center" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + </FrameLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/android/sdremote/res/layout/activity_computer_creation.xml b/android/sdremote/res/layout/activity_computer_creation.xml new file mode 100644 index 000000000000..be1f31395436 --- /dev/null +++ b/android/sdremote/res/layout/activity_computer_creation.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:padding="@dimen/padding_creation_layout" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <EditText + android:id="@+id/edit_ip_address" + android:singleLine="true" + android:inputType="text" + android:hint="@string/hint_ip_address" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <EditText + android:id="@+id/edit_name" + android:singleLine="true" + android:inputType="text" + android:hint="@string/hint_name" + android:paddingTop="@dimen/padding_vertical_edit" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + +</LinearLayout>
\ No newline at end of file |