mirror of
https://github.com/MatomoCamp/matomocamp-companion-android.git
synced 2024-09-19 16:13:46 +02:00
795bee380e
Made the menu slightly translucent. Ensure the selected menu item is visible when changing orientation.
41 lines
No EOL
1.3 KiB
XML
41 lines
No EOL
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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" >
|
|
|
|
<!-- Main content view -->
|
|
|
|
<FrameLayout
|
|
android:id="@+id/content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<!-- Left drawer -->
|
|
|
|
<LinearLayout
|
|
android:id="@+id/main_menu"
|
|
android:layout_width="260dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="left"
|
|
android:background="@color/main_menu_background"
|
|
android:orientation="vertical" >
|
|
|
|
<ListView
|
|
android:id="@+id/main_menu_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:cacheColorHint="@android:color/transparent" />
|
|
|
|
<TextView
|
|
android:id="@+id/last_update"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#10000000"
|
|
android:gravity="center"
|
|
android:padding="4dp"
|
|
android:textSize="12sp" />
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.DrawerLayout> |