Skip to content

Instantly share code, notes, and snippets.

@farhanfahim
Created August 16, 2020 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save farhanfahim/1a72ca45df6a220c970dff1e8bfaeb50 to your computer and use it in GitHub Desktop.
Save farhanfahim/1a72ca45df6a220c970dff1e8bfaeb50 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<layout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:background="@drawable/drawable_white_background"
android:layout_margin="@dimen/_10sdp"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAlignment="center"
android:text="title"
android:paddingTop="@dimen/_10sdp"
android:textColor="@color/colorBlack"
android:textSize="@dimen/_12ssp"
android:textStyle="bold"
android:fontFamily="@font/sf_pro_text_regular" />
<TextView
android:id="@+id/tv_desc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAlignment="center"
android:padding="@dimen/_10sdp"
android:text="@string/label_forgot_password_detail"
android:textColor="@color/colorBlack"
android:textSize="@dimen/_12ssp"
android:fontFamily="@font/sf_pro_text_regular" />
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:layout_marginTop="@dimen/_10sdp"
android:background="@color/colorTextColor2"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:fontFamily="@font/sf_pro_text_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorWhite"
android:id="@+id/btn_cancel"
android:layout_weight="1"
android:textAllCaps="false"
android:text="Ok"
style="?android:attr/borderlessButtonStyle"
android:textColor="@color/colorBlueShade3"
android:textSize="@dimen/_14ssp"
android:layout_below="@id/s5"/>
<View
android:layout_width="0.5dp"
android:layout_height="match_parent"
android:background="@color/colorTextColor2"/>
<Button
android:fontFamily="@font/sf_pro_text_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorWhite"
style="?android:attr/borderlessButtonStyle"
android:id="@+id/btn_ok"
android:layout_weight="1"
android:textAllCaps="false"
android:text="Cancel"
android:textColor="@color/colorBlueShade3"
android:textSize="@dimen/_14ssp"
android:layout_below="@id/s5"/>
</LinearLayout>
</LinearLayout>
</layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment