Files
i2p.i2p-bote.android/res/layout/activity_main.xml
2014-05-17 01:25:23 +00:00

61 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainListActivity" >
<!-- The mail list view -->
<FrameLayout
android:id="@+id/list_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- The navigation drawer -->
<RelativeLayout
android:id="@+id/drawer_outer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="#111" >
<ListView
android:id="@+id/drawer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/fixed_actions"
android:layout_alignParentTop="true"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
<LinearLayout
android:id="@+id/fixed_actions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="vertical" >
<TextView
android:id="@+id/address_book"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="@string/address_book"
android:textAppearance="?android:attr/textAppearanceMediumInverse" />
<TextView
android:id="@+id/network_status"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableLeft="@android:drawable/presence_offline"
android:padding="15dp"
android:drawablePadding="10dp"
android:text="@string/network_status"
android:textAppearance="?android:attr/textAppearanceMediumInverse" />
</LinearLayout>
</RelativeLayout>
</android.support.v4.widget.DrawerLayout>