Files
loongoffice/android/experimental/LOAndroid3/res/layout/activity_main.xml
Tomaž Vajngerl b69f5a1857 LOAndroid3: Add a side drawer to show available parts (by name)
Use DrawerLayer to show a side drawer with parts of the loaded
document. The dawer consists of an image (could be changed by a
thumbnail in the future) and the part name.

Change-Id: I27fb6112d9f11e19f3295ace97103b89816591aa
2014-08-10 23:00:45 +02:00

36 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#fff"
tools:context=".MainActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/gecko_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"/>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>
<ListView
android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="#9FFF"
android:choiceMode="singleChoice"/>
</android.support.v4.widget.DrawerLayout>