diff options
Diffstat (limited to 'android/source/res/layout/activity_main.xml')
-rw-r--r-- | android/source/res/layout/activity_main.xml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/android/source/res/layout/activity_main.xml b/android/source/res/layout/activity_main.xml new file mode 100644 index 000000000000..63695e584279 --- /dev/null +++ b/android/source/res/layout/activity_main.xml @@ -0,0 +1,65 @@ +<?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=".LibreOfficeMainActivity"> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <include layout="@layout/toolbar"/> + + <RelativeLayout + android:id="@+id/gecko_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <org.mozilla.gecko.gfx.LayerView + android:id="@+id/layer_view" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + + <include layout="@layout/text_selection_handles"/> + + </RelativeLayout> + </LinearLayout> + + <RelativeLayout + android:id="@+id/loadingPanel" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="#9333" + android:gravity="center"> + + <ProgressBar + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:indeterminate="true"/> + </RelativeLayout> + + <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> |