open-keychain/OpenPGP-Keychain/res/layout/key_list_public_activity.xml

38 lines
1.5 KiB
XML
Raw Normal View History

2012-10-28 18:51:03 -04:00
<?xml version="1.0" encoding="utf-8"?>
2014-01-09 11:02:49 -05:00
<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
2012-10-28 18:51:03 -04:00
android:layout_width="match_parent"
2014-01-09 11:02:49 -05:00
android:layout_height="match_parent" >
2012-10-28 18:51:03 -04:00
2014-01-09 11:02:49 -05:00
<FrameLayout
2012-10-28 18:51:03 -04:00
android:layout_width="match_parent"
2014-01-09 11:02:49 -05:00
android:layout_height="match_parent" >
2012-10-28 18:51:03 -04:00
2014-01-09 11:02:49 -05:00
<fragment
android:id="@+id/key_list_public_fragment"
android:name="org.sufficientlysecure.keychain.ui.KeyListPublicFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
<!--
android:layout_gravity="start" tells DrawerLayout to treat
this as a sliding drawer on the left side for left-to-right
languages and on the right side for right-to-left languages.
The drawer is given a fixed width in dp and extends the full height of
the container. A solid background is used for contrast
with the content view.
-->
<ListView
android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="#111"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
</android.support.v4.widget.DrawerLayout>