Kaydet (Commit) 20a17af0 authored tarafından Artur Dryomov's avatar Artur Dryomov

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
üst 53738414
<?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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment