Skip to content

Instantly share code, notes, and snippets.

@mdsami
Created September 19, 2016 06:42
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 mdsami/e89afc9b6379b657337dd785e947a8b2 to your computer and use it in GitHub Desktop.
Save mdsami/e89afc9b6379b657337dd785e947a8b2 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/three_buttons_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SelectStore">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
<TextView
android:id="@+id/txtViewHeading"
android:text="@string/heading_select_store"
android:textStyle="bold"
android:textColor="#000"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:height="35dp"
android:gravity="center_vertical|center_horizontal"
android:paddingTop="10dp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="45dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingBottom="16dp">
<ListView
android:id="@+id/android:list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:paddingBottom="20dp"
android:background="@drawable/border_listview"
android:fastScrollEnabled="true"
android:layout_above="@+id/save">
</ListView>
<Button
android:id="@+id/save"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="center_vertical|center_horizontal"
android:background="@color/btnBackColor"
android:text="NEXT"
android:textAllCaps="false"
android:textColor="@color/btnTextColor"
android:layout_centerInParent="true" />
</RelativeLayout>
</android.support.design.widget.CoordinatorLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment