1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-20 17:23:46 +02:00
matomocamp-companion-android/res/layout/main.xml
Christophe Beyls 795bee380e Added last updated date in the bottom of the main menu.
Made the menu slightly translucent.
Ensure the selected menu item is visible when changing orientation.
2013-12-27 15:48:54 +01:00

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>