Steembo Login Page 2020 xml file

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"    xmlns:app="http://schemas.android.com/apk/res-auto"    xmlns:card_view="http://schemas.android.com/apk/res-auto"    xmlns:tools="http://schemas.android.com/tools"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:background="@drawable/background_login"    android:gravity="center">

    <ScrollView        android:id="@+id/login_form"        android:layout_width="match_parent"        android:layout_height="match_parent"        android:scrollbars="none">

        <LinearLayout            android:id="@+id/email_login_form"            android:layout_width="match_parent"            android:layout_height="match_parent"            android:layout_gravity="center"            android:orientation="vertical"            android:padding="20dp">

            <android.support.v7.widget.CardView                android:id="@+id/card_view"                style="@style/CardView.Light"                android:layout_width="match_parent"                android:layout_height="wrap_content"                android:layout_gravity="center"                android:layout_marginTop="10dp"                android:layout_marginBottom="10dp"                android:foreground="?android:attr/selectableItemBackground"                card_view:cardBackgroundColor="@color/white"                card_view:cardCornerRadius="2dp"                card_view:cardElevation="2dp"                card_view:cardUseCompatPadding="false">

                <LinearLayout                    android:layout_width="match_parent"                    android:layout_height="wrap_content"                    android:gravity="center_horizontal"                    android:orientation="vertical"                    android:padding="5dp">

                    <LinearLayout                        android:layout_width="match_parent"                        android:layout_height="70dp"                        android:layout_marginBottom="40dp"                        android:gravity="center"                        android:orientation="vertical"                        android:padding="5dp">

                        <ImageView                            android:layout_width="match_parent"                            android:layout_height="wrap_content"                            android:adjustViewBounds="true"                            android:src="@drawable/ic_login_trans" />

                    </LinearLayout>

                    <android.support.design.widget.TextInputLayout                        android:layout_width="match_parent"                        android:layout_height="wrap_content"                        android:layout_marginRight="-7dp"                        android:theme="@style/Edittextforlogin">

                        <AutoCompleteTextView                            android:id="@+id/et_email_mobile"                            android:layout_width="match_parent"                            android:layout_height="wrap_content"                            android:layout_marginRight="7dp"                            android:drawableRight="@drawable/ic_mail_black"                            android:hint="@string/email_or_mobile_no"                            android:inputType="text"                            android:maxLines="1"                            android:textColor="@color/black"                            android:textColorLink="@color/light_green"                            android:textSize="19dp" />

                    </android.support.design.widget.TextInputLayout>

                    <android.support.design.widget.TextInputLayout                        android:id="@+id/tl_enter_password"                        android:layout_width="match_parent"                        android:layout_height="wrap_content"                        android:layout_marginRight="-7dp"                        android:theme="@style/Edittextforlogin"                        android:visibility="visible"                        app:passwordToggleEnabled="true"                        app:passwordToggleTint="@color/black">

                        <EditText                            android:id="@+id/et_password"                            android:layout_width="match_parent"                            android:layout_height="wrap_content"                            android:drawableRight="@drawable/editext_drawable_password"                            android:hint="@string/password"                            android:inputType="textPassword"                            android:maxLines="1"                            android:textColor="@color/black"                            android:textColorLink="@color/light_green"                            android:textSize="19dp" />

                    </android.support.design.widget.TextInputLayout>

                    <android.support.design.widget.TextInputLayout                        android:id="@+id/tl_enter_otp"                        android:layout_width="match_parent"                        android:layout_height="wrap_content"                        android:theme="@style/Edittextforlogin"                        android:visibility="gone">

                        <EditText                            android:id="@+id/et_otp"                            android:layout_width="match_parent"                            android:layout_height="wrap_content"                            android:drawableRight="@drawable/editext_drawable_password"                            android:hint="@string/otp"                            android:inputType="number"                            android:maxLength="6"                            android:maxLines="1"                            android:textColor="@color/black" />

                    </android.support.design.widget.TextInputLayout>

                    <LinearLayout                        android:layout_width="match_parent"                        android:layout_height="wrap_content"                        android:layout_marginTop="25dp"                        android:layout_marginBottom="10dp"                        android:gravity="center"                        android:orientation="horizontal">

                        <Button                            android:id="@+id/sign_in_button"                            android:layout_width="wrap_content"                            android:layout_height="match_parent"                            android:layout_marginRight="15dp"                            android:gravity="center"                            android:text="@string/title_activity_login"                            android:textSize="17dp"                            android:textStyle="bold"                            android:theme="@style/LoginPageButton" />

                        <Button                            android:id="@+id/bt_generate_otp"                            android:layout_width="wrap_content"                            android:layout_height="match_parent"                            android:gravity="center"                            android:text="@string/generate_otp"                            android:textSize="17dp"                            android:textStyle="bold"                            android:theme="@style/LoginPageButton"                            android:visibility="visible" />

                        <TextView                            android:id="@+id/tv_generate_otp"                            android:layout_width="wrap_content"                            android:layout_height="match_parent"                            android:layout_marginLeft="10dp"                            android:gravity="center"                            android:text="00:00"                            android:textColor="@color/white"                            android:textSize="19dp"                            android:textStyle="bold"                            android:visibility="gone" />

                    </LinearLayout>

                    <LinearLayout                        android:layout_width="match_parent"                        android:layout_height="wrap_content"                        android:layout_marginTop="25dp"                        android:gravity="center"                        android:orientation="horizontal">

                        <TextView                            android:id="@+id/tv_register_now"                            android:layout_width="match_parent"                            android:layout_height="wrap_content"                            android:layout_gravity="start"                            android:layout_marginLeft="7dp"                            android:layout_marginTop="5dp"                            android:layout_weight="1"                            android:text="@string/register_now"                            android:textColor="@color/dark_green"                            android:textSize="17dp"                            android:textStyle="bold" />

                        <TextView                            android:id="@+id/tv_forgot_password"                            android:layout_width="wrap_content"                            android:layout_height="wrap_content"                            android:layout_gravity="start"                            android:layout_marginTop="5dp"                            android:layout_marginRight="7dp"                            android:text="@string/forgot_password"                            android:textColor="@color/dark_green"                            android:textSize="17dp"                            android:textStyle="bold" />


                    </LinearLayout>

                </LinearLayout>

            </android.support.v7.widget.CardView>


        </LinearLayout>

    </ScrollView>
</LinearLayout>

Comments

Popular posts from this blog

retrofil gjstatus lanuage

form object

Login Preference in android create class