Commit d710f4bb authored by Sajal Narang's avatar Sajal Narang

Add ScrollView to LoginActivity, fix #146

parent e399dd26
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
android:orientation="vertical" android:orientation="vertical">
android:weightSum="2">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"> android:orientation="vertical">
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="199dp" android:layout_height="200dp"
android:layout_marginBottom="15dp" android:layout_marginBottom="20dp"
android:contentDescription="InstiApp" android:contentDescription="InstiApp"
android:paddingLeft="100dp" android:paddingLeft="100dp"
android:paddingRight="100dp" android:paddingRight="100dp"
...@@ -35,8 +37,8 @@ ...@@ -35,8 +37,8 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_marginTop="100dp"
android:orientation="vertical" android:orientation="vertical"
android:padding="20dp"> android:padding="20dp">
...@@ -50,7 +52,6 @@ ...@@ -50,7 +52,6 @@
android:id="@+id/login_username" android:id="@+id/login_username"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ems="10"
android:hint="LDAP ID" android:hint="LDAP ID"
android:inputType="text" /> android:inputType="text" />
</android.support.design.widget.TextInputLayout> </android.support.design.widget.TextInputLayout>
...@@ -66,7 +67,6 @@ ...@@ -66,7 +67,6 @@
android:id="@+id/login_password" android:id="@+id/login_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ems="10"
android:hint="Password" android:hint="Password"
android:inputType="textPassword" /> android:inputType="textPassword" />
</android.support.design.widget.TextInputLayout> </android.support.design.widget.TextInputLayout>
...@@ -96,4 +96,5 @@ ...@@ -96,4 +96,5 @@
android:textAppearance="@style/TextAppearance.AppCompat.Light.SearchResult.Subtitle" /> android:textAppearance="@style/TextAppearance.AppCompat.Light.SearchResult.Subtitle" />
</LinearLayout> </LinearLayout>
</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