summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorArtur Dryomov <artur.dryomov@gmail.com>2013-08-03 04:01:59 +0300
committerArtur Dryomov <artur.dryomov@gmail.com>2013-08-03 19:01:59 +0300
commit20a17af069891da72ae6024436fa39d365c5c654 (patch)
treec82af5de415e6cc595f916b782955da9a2155df2 /android
parent53738414d34574d4c5fa06aba52b097f14b7dc17 (diff)
Move computer creation layout to scroll view.
* Allows to use auto-focus. * Should probably be better on devices with small displays in landscape mode. Change-Id: I745ffbf1aef5f757b54155a9e79e99026c49dd86
Diffstat (limited to 'android')
-rw-r--r--android/sdremote/res/layout/activity_computer_creation.xml46
1 files changed, 26 insertions, 20 deletions
diff --git a/android/sdremote/res/layout/activity_computer_creation.xml b/android/sdremote/res/layout/activity_computer_creation.xml
index 74751ea969d2..50fde03dcdbf 100644
--- a/android/sdremote/res/layout/activity_computer_creation.xml
+++ b/android/sdremote/res/layout/activity_computer_creation.xml
@@ -1,25 +1,31 @@
<?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">
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
- <EditText
- android:id="@+id/edit_ip_address"
- android:singleLine="true"
- android:inputType="phone"
- android:hint="@string/hint_ip_address"
+ <LinearLayout
+ android:orientation="vertical"
+ android:padding="@dimen/padding_creation_layout"
android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
+ android:layout_height="wrap_content">
- <EditText
- android:id="@+id/edit_name"
- android:singleLine="true"
- android:inputType="text|textCapSentences"
- android:hint="@string/hint_name"
- android:paddingTop="@dimen/padding_vertical_edit"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
+ <EditText
+ android:id="@+id/edit_ip_address"
+ android:singleLine="true"
+ android:inputType="phone"
+ 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|textCapSentences"
+ android:hint="@string/hint_name"
+ android:paddingTop="@dimen/padding_vertical_edit"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ </LinearLayout>
-</LinearLayout> \ No newline at end of file
+</ScrollView> \ No newline at end of file