- xml version="1.0" encoding="utf-8"?>
- <LinearLayout android:layout_height="match_parent"
- android:background="@drawable/log_bg"
- android:layout_width="match_parent"
- android:weightSum="1"
- tools:context="com.example.agiletech.agiletech.Login"
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:orientation="vertical">
- <ScrollView android:layout_height="match_parent"
- android:layout_width="match_parent"
- android:layout_weight="1"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <LinearLayout
- android:orientation="vertical"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:layout_width="263dp"
- android:layout_height="141dp"
- android:layout_weight="1"
- android:layout_gravity="center"
- android:background="@drawable/login_img"
- />
- <EditText
- android:id="@+id/username"
- android:layout_width="259dp"
- android:layout_height="40dp"
- android:layout_marginTop="10dp"
- android:layout_gravity="center"
- android:background="@drawable/round"
- android:drawableLeft="@android:drawable/ic_secure"
- android:gravity="center"
- android:layout_weight="1" android:hint="Username"
- android:padding="5dp"
- android:inputType="text"
- android:textColor="#000000"
- />
- <ProgressBar
- android:id="@+id/pbb"
- style="?android:attr/progressBarStyleLarge"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:indeterminateDrawable="@drawable/custom_progress" />
- <EditText
- android:id="@+id/userpassword"
- android:layout_width="259dp"
- android:layout_height="40dp"
- android:layout_gravity="center"
- android:inputType="textPassword"
- android:layout_marginTop="10dp"
- android:background="@drawable/round"
- android:hint="****"
- android:drawableLeft="@android:drawable/ic_partial_secure"
- android:padding="5dp"
- android:gravity="center"
- android:layout_weight="1"
- android:textColor="#000000"
- />
- <Space
- android:layout_width="match_parent"
- android:layout_height="20dp" />
- <Button
- android:id="@+id/login_bn"
- android:layout_width="273dp"
- android:layout_height="39dp"
- android:background="@drawable/btn"
- android:text="LOGIN"
- android:layout_weight="1"
- android:layout_gravity="center"
- android:textColor="@android:color/background_light"
- />
- <TextView
- android:id="@+id/fo"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:textSize="14dp"
- android:layout_gravity="center"
- android:text=" Forgot Password ? "
- android:layout_weight="1"
- android:textAppearance="@style/TextAppearance.AppCompat"
- android:textColor="@android:color/holo_orange_light" />
- <TextView
- android:id="@+id/textView3"
- android:textColor="@color/bpWhite"
- android:gravity="center"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="I don't have an account yet. " />
- <Button
- android:id="@+id/signup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_gravity="center"
- android:background="@color/bpDarker_blue"
- android:text="SIGN Up"
- android:textColor="@android:color/background_light" />
- LinearLayout>
- ScrollView>
- <FrameLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- FrameLayout>
- LinearLayout>
Loading
Replies
Know the answer? Post it — somebody with the same question will find it here.