Commit 153e03a3 authored by Grigory Fedorov's avatar Grigory Fedorov

Add account: scroll view added to layout. (not to hide toolbar on small screens)

parent 202de8e4
...@@ -13,24 +13,27 @@ ...@@ -13,24 +13,27 @@
along with this program. If not, see http://www.gnu.org/licenses/. along with this program. If not, see http://www.gnu.org/licenses/.
--> -->
<LinearLayout <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:orientation="vertical" android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:padding="16dp" android:orientation="vertical"
> android:padding="16dp">
<TextView <TextView
android:text="@string/account_type"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:text="@string/account_type" />
<Spinner <Spinner
android:id="@+id/account_type" android:id="@+id/account_type"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="4dip"
android:paddingBottom="8dip" android:paddingBottom="8dip"
android:paddingTop="4dip"
android:prompt="@string/account_type" android:prompt="@string/account_type"
/> />
...@@ -39,29 +42,28 @@ ...@@ -39,29 +42,28 @@
android:id="@+id/auth_panel" android:id="@+id/auth_panel"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"
android:descendantFocusability="beforeDescendants" android:descendantFocusability="beforeDescendants"
android:focusableInTouchMode="true" > android:focusableInTouchMode="true"
android:orientation="vertical">
<TextView <TextView
android:text="@string/account_user_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:text="@string/account_user_name" />
<EditText <EditText
android:id="@+id/account_user_name" android:id="@+id/account_user_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint=""
android:inputType="textEmailAddress" android:inputType="textEmailAddress"
android:singleLine="true" android:singleLine="true"
android:text="" android:text="" />
android:hint=""
/>
<TextView <TextView
android:text="@string/account_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:text="@string/account_password" />
<EditText <EditText
android:id="@+id/account_password" android:id="@+id/account_password"
...@@ -69,8 +71,7 @@ ...@@ -69,8 +71,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="textPassword" android:inputType="textPassword"
android:singleLine="true" android:singleLine="true"
android:text="" android:text="" />
/>
<CheckBox <CheckBox
android:id="@+id/store_password" android:id="@+id/store_password"
...@@ -96,16 +97,16 @@ ...@@ -96,16 +97,16 @@
android:text="@string/account_register" /> android:text="@string/account_register" />
<LinearLayout <LinearLayout
android:orientation="vertical" android:id="@+id/confirm_password_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/confirm_password_layout" android:orientation="vertical"
android:visibility="gone"> android:visibility="gone">
<TextView <TextView
android:text="@string/confirm_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"
android:text="@string/confirm_password" />
<EditText <EditText
android:id="@+id/confirm_password" android:id="@+id/confirm_password"
...@@ -113,13 +114,13 @@ ...@@ -113,13 +114,13 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="textPassword" android:inputType="textPassword"
android:singleLine="true" android:singleLine="true"
android:text=""/> android:text="" />
</LinearLayout> </LinearLayout>
<TextView <TextView
android:id="@+id/account_help" android:id="@+id/account_help"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:autoLink="all" android:autoLink="all" />
/> </LinearLayout>
</LinearLayout> </ScrollView>
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