103 lines
3.7 KiB
XML
103 lines
3.7 KiB
XML
<android.support.v4.widget.DrawerLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/drawer_layout"
|
|
android:background="#8ae6e6e6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".MainActivity">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_main_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_alignParentTop="true"
|
|
android:gravity="center"
|
|
android:layout_marginTop="79dp"
|
|
android:layout_centerInParent="true">
|
|
|
|
<TextView
|
|
android:id="@+id/lbl_main_txt1"
|
|
android:text="@string/lbl_main_txt1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:layout_marginTop="52dp"
|
|
android:textColor="#aa999999"/>
|
|
|
|
<TextView
|
|
android:id="@+id/txt_main_incidents"
|
|
android:text="0"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="38dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:textSize="40dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/lbl_main_txt2"
|
|
android:text="@string/lbl_main_txt2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:layout_marginTop="34dp"
|
|
android:textColor="#aa999999"
|
|
android:layout_centerHorizontal="true" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_01"
|
|
android:gravity="center"
|
|
android:background="#c5a7a7a7"
|
|
android:layout_height="50dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_marginBottom="0dp">
|
|
|
|
<com.beardedhen.androidbootstrap.BootstrapButton
|
|
android:id="@+id/btn_main_report"
|
|
style="@style/wrapping_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="20dp"
|
|
bootstrap:bootstrapText="@string/btn_main_report"
|
|
bootstrap:bootstrapBrand="danger"
|
|
bootstrap:roundedCorners="true" />
|
|
|
|
<com.beardedhen.androidbootstrap.BootstrapButton
|
|
android:id="@+id/btn_main_viewmap"
|
|
style="@style/wrapping_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="20dp"
|
|
bootstrap:bootstrapText="@string/btn_main_viewmap"
|
|
bootstrap:bootstrapBrand="primary"
|
|
bootstrap:roundedCorners="true"/>
|
|
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<ListView
|
|
android:id="@+id/navList"
|
|
android:layout_width="200dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:background="#ffffff"/>
|
|
</android.support.v4.widget.DrawerLayout>
|
|
|
|
|
|
|
|
|
|
|