diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-01-09 22:58:52 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-01-09 22:58:52 +0100 |
commit | bb161d5fa9d56c5fc7369c979d6fd4eeff187987 (patch) | |
tree | ecfe4730137b9c6ae34cfa8ede66d2364ca8459b /OpenPGP-Keychain/res/layout/drawer_list.xml | |
parent | 10715f7acee9620e8a27b62f1600ee4bcbae1ccd (diff) | |
download | open-keychain-bb161d5fa9d56c5fc7369c979d6fd4eeff187987.tar.gz open-keychain-bb161d5fa9d56c5fc7369c979d6fd4eeff187987.tar.bz2 open-keychain-bb161d5fa9d56c5fc7369c979d6fd4eeff187987.zip |
implement navigation drawer
Diffstat (limited to 'OpenPGP-Keychain/res/layout/drawer_list.xml')
-rw-r--r-- | OpenPGP-Keychain/res/layout/drawer_list.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenPGP-Keychain/res/layout/drawer_list.xml b/OpenPGP-Keychain/res/layout/drawer_list.xml new file mode 100644 index 000000000..18210afc5 --- /dev/null +++ b/OpenPGP-Keychain/res/layout/drawer_list.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + 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 xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/left_drawer" + android:layout_width="240dp" + android:layout_height="match_parent" + android:layout_gravity="start" + android:background="#fff" + android:choiceMode="singleChoice" + android:divider="@color/bg_gray" + android:dividerHeight="1dp" /> |