Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / android / source / res / layout / activity_main.xml
blob625422e3d80821dc799803cf078c0030eeadd8a1
1 <?xml version="1.0" encoding="utf-8"?>
2 <android.support.v4.widget.DrawerLayout
3     android:id="@+id/drawer_layout"
4     xmlns:android="http://schemas.android.com/apk/res/android"
5     xmlns:tools="http://schemas.android.com/tools"
6     android:layout_width="fill_parent"
7     android:layout_height="fill_parent"
8     android:background="#fff"
9     tools:context=".LibreOfficeMainActivity">
11     <RelativeLayout
12         android:layout_width="match_parent"
13         android:layout_height="match_parent">
15         <include layout="@layout/toolbar"/>
17         <include layout="@layout/toolbar_bottom"/>
19         <LinearLayout
20             android:layout_width="match_parent"
21             android:layout_height="match_parent"
22             android:layout_above="@+id/toolbar_bottom"
23             android:layout_below="@+id/toolbar"
24             android:orientation="vertical">
26             <RelativeLayout
27                 android:id="@+id/gecko_layout"
28                 android:layout_width="match_parent"
29                 android:layout_height="match_parent"
30                 android:orientation="vertical">
32                 <org.mozilla.gecko.gfx.LayerView
33                     android:id="@+id/layer_view"
34                     android:layout_width="match_parent"
35                     android:layout_height="match_parent"/>
37                 <org.libreoffice.overlay.DocumentOverlayView
38                     android:id="@+id/text_cursor_view"
39                     android:layout_width="fill_parent"
40                     android:layout_height="fill_parent"/>
42             </RelativeLayout>
43         </LinearLayout>
45         <RelativeLayout
46             android:id="@+id/loadingPanel"
47             android:layout_width="match_parent"
48             android:layout_height="match_parent"
49             android:background="#9333"
50             android:gravity="center">
52             <ProgressBar
53                 android:id="@+id/progressBar"
54                 android:layout_width="wrap_content"
55                 android:layout_height="wrap_content"
56                 android:indeterminate="true"/>
58         </RelativeLayout>
60         <View
61             android:layout_width="match_parent"
62             android:layout_height="match_parent"/>
64     </RelativeLayout>
66     <ListView
67         android:id="@+id/left_drawer"
68         android:layout_width="240dp"
69         android:layout_height="match_parent"
70         android:layout_gravity="start"
71         android:background="#9FFF"
72         android:choiceMode="singleChoice"/>
74 </android.support.v4.widget.DrawerLayout>