Temporary nav drawer fixes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
16
OpenKeychain/src/main/res/layout/custom_drawer.xml
Normal file
16
OpenKeychain/src/main/res/layout/custom_drawer.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:background="@color/colorPrimary">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:text="@string/app_name"
|
||||
android:textColor="@color/white"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
</LinearLayout>
|
||||
@@ -41,6 +41,7 @@
|
||||
<string name="title_create_key">"Create Key"</string>
|
||||
<string name="title_exchange_keys">"Exchange Keys"</string>
|
||||
<string name="title_advanced_key_info">"Advanced Key Info"</string>
|
||||
<string name="title_keys">"Keys"</string>
|
||||
|
||||
<!-- section -->
|
||||
<string name="section_user_ids">"Identities"</string>
|
||||
|
||||
@@ -12,8 +12,16 @@
|
||||
<item name="colorAccent">@color/accent</item>
|
||||
|
||||
<!-- Navigation Drawer library -->
|
||||
<item name="drawerType">@integer/DRAWERTYPE_IMAGE</item>
|
||||
<item name="multipaneSupport">true</item>
|
||||
<item name="drawerType">@integer/DRAWERTYPE_CUSTOM</item>
|
||||
<item name="theme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
|
||||
<item name="popupTheme">@style/Base.V21.Theme.AppCompat.Light.Dialog</item>
|
||||
<item name="drawerColor">#fafafa</item>
|
||||
<item name="singleAccount">false</item>
|
||||
<item name="sectionStyle">@style/MaterialSectionTheme.Light</item>
|
||||
<item name="subheaderStyle">@style/MaterialSubheaderTheme.Light</item>
|
||||
<item name="multipaneSupport">false</item>
|
||||
<item name="rippleBackport">false</item>
|
||||
<item name="uniqueToolbarColor">false</item>
|
||||
</style>
|
||||
|
||||
<!-- http://android-developers.blogspot.de/2014/10/appcompat-v21-material-design-for-pre.html -->
|
||||
|
||||
Reference in New Issue
Block a user