mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-02-26 00:11:52 -05:00
114 lines
4.5 KiB
XML
114 lines
4.5 KiB
XML
![]() |
<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"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<se.emilsjolander.stickylistheaders.StickyListHeadersListView
|
||
|
android:id="@+id/list"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:clipToPadding="false"
|
||
|
android:drawSelectorOnTop="true"
|
||
|
android:padding="16dp"
|
||
|
android:scrollbarStyle="outsideOverlay"
|
||
|
android:fastScrollEnabled="true"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/empty"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/empty"
|
||
|
android:textSize="30sp"
|
||
|
android:visibility="gone"/>
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<ScrollView
|
||
|
android:id="@+id/left_drawer"
|
||
|
android:layout_width="240dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_gravity="start"
|
||
|
android:padding="5dp"
|
||
|
android:scrollbars="none"
|
||
|
android:clickable="true"
|
||
|
android:background="@android:color/white">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<se.emilsjolander.stickylistheaders.views.UnderlineTextView
|
||
|
style="@style/MenuSectionHeader"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="start|left"
|
||
|
android:text="@string/actions"
|
||
|
android:textStyle="bold"/>
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:gravity="left|center_vertical"
|
||
|
android:text="@string/restore_list"
|
||
|
android:id="@+id/restore_button"/>
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:gravity="left|center_vertical"
|
||
|
android:text="@string/update_list"
|
||
|
android:id="@+id/update_button"/>
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:gravity="left|center_vertical"
|
||
|
android:id="@+id/clear_button"
|
||
|
android:text="@string/clear_list"/>
|
||
|
|
||
|
<se.emilsjolander.stickylistheaders.views.UnderlineTextView
|
||
|
style="@style/MenuSectionHeader"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="start|left"
|
||
|
android:text="@string/options"
|
||
|
android:textStyle="bold"/>
|
||
|
|
||
|
<CheckBox
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/sticky_header"
|
||
|
android:id="@+id/sticky_checkBox"
|
||
|
android:checked="true"/>
|
||
|
|
||
|
<CheckBox
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/fade_header"
|
||
|
android:id="@+id/fade_checkBox"
|
||
|
android:checked="true"/>
|
||
|
|
||
|
<CheckBox
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/draw_behind_header"
|
||
|
android:id="@+id/draw_behind_checkBox"
|
||
|
android:checked="true"/>
|
||
|
|
||
|
<CheckBox
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/fast_scroll"
|
||
|
android:id="@+id/fast_scroll_checkBox"
|
||
|
android:checked="true"/>
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|
||
|
</android.support.v4.widget.DrawerLayout>
|