mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 11:35:07 -05:00
38 lines
1.5 KiB
XML
38 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- 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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<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> |