1 <?xml version="1.0" encoding="utf-8"?>
2 <androidx.drawerlayout.widget.DrawerLayout android:id="@+id/drawer_layout"
3 xmlns:android="http://schemas.android.com/apk/res/android"
4 xmlns:tools="http://schemas.android.com/tools"
5 xmlns:app="http://schemas.android.com/apk/res-auto"
6 android:layout_width="fill_parent"
7 android:layout_height="fill_parent"
8 android:background="#fff"
9 tools:context=".LibreOfficeMainActivity">
11 <androidx.coordinatorlayout.widget.CoordinatorLayout
12 android:id="@+id/coordinator_layout"
13 android:layout_width="match_parent"
14 android:layout_height="match_parent">
17 android:layout_width="match_parent"
18 android:layout_height="match_parent"
19 android:orientation="vertical">
21 <com.google.android.material.appbar.AppBarLayout
22 android:id="@+id/appBar"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content">
26 <com.google.android.material.appbar.MaterialToolbar
27 android:id="@+id/toolbar"
28 android:layout_width="match_parent"
29 android:layout_height="?attr/actionBarSize"
30 android:elevation="3dp"
31 app:theme="@style/LibreOfficeTheme.Toolbar"
32 tools:theme="@style/LibreOfficeTheme.Toolbar"
33 app:popupTheme="@style/LibreOfficeTheme" />
35 </com.google.android.material.appbar.AppBarLayout>
38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:background="@color/background_floating">
43 android:id="@+id/calc_address"
44 android:layout_width="@dimen/calc_address_bar_width"
45 android:layout_height="wrap_content"
46 android:layout_weight="0"
47 android:inputType="textNoSuggestions"
48 android:imeOptions="actionDone|actionGo"
49 android:visibility="gone"
50 android:importantForAutofill="no" />
53 android:id="@+id/calc_formula"
54 android:layout_width="0dp"
55 android:layout_height="wrap_content"
56 android:layout_weight="1"
57 android:inputType="text"
58 android:imeOptions="actionDone|actionGo"
59 android:visibility="gone"
60 android:importantForAutofill="no" />
65 android:layout_width="match_parent"
66 android:layout_height="match_parent">
69 android:id="@+id/calc_header_top_left"
70 android:layout_width="@dimen/calc_header_width"
71 android:layout_height="@dimen/calc_header_height"
72 android:visibility="gone"/>
74 <org.libreoffice.overlay.CalcHeadersView
75 android:id="@+id/calc_header_column"
76 android:layout_width="match_parent"
77 android:layout_height="@dimen/calc_header_height"
78 android:layout_toRightOf="@+id/calc_header_top_left"
79 android:layout_toEndOf="@+id/calc_header_top_left"
80 android:visibility="gone"/>
82 <org.libreoffice.overlay.CalcHeadersView
83 android:id="@+id/calc_header_row"
84 android:layout_width="@dimen/calc_header_width"
85 android:layout_height="match_parent"
86 android:layout_below="@+id/calc_header_top_left"
87 android:visibility="gone"/>
90 android:id="@+id/gecko_layout"
91 android:layout_width="match_parent"
92 android:layout_height="match_parent"
93 android:orientation="vertical"
94 android:layout_toRightOf="@+id/calc_header_row"
95 android:layout_toEndOf="@+id/calc_header_row"
96 android:layout_below="@+id/calc_header_column">
98 <org.mozilla.gecko.gfx.LayerView
99 android:id="@+id/layer_view"
100 android:layout_width="match_parent"
101 android:layout_height="match_parent"/>
103 <org.libreoffice.overlay.DocumentOverlayView
104 android:id="@+id/text_cursor_view"
105 android:layout_width="fill_parent"
106 android:layout_height="fill_parent"/>
114 <include layout="@layout/toolbar_bottom"/>
115 <include android:id="@+id/toolbar_back_color_picker" layout="@layout/toolbar_color_picker"/>
116 <include android:id="@+id/toolbar_color_picker" layout="@layout/toolbar_color_picker"/>
119 android:id="@+id/loadingPanel"
120 android:layout_width="match_parent"
121 android:layout_height="match_parent"
122 android:background="#9333"
123 android:gravity="center">
126 android:id="@+id/progressBar"
127 android:layout_width="wrap_content"
128 android:layout_height="wrap_content"
129 android:indeterminate="true"/>
133 <!--What's the use of this view? Can it be removed?-->
135 android:layout_width="match_parent"
136 android:layout_height="match_parent"/>
138 </androidx.coordinatorlayout.widget.CoordinatorLayout>
141 android:id="@+id/left_drawer"
142 android:layout_width="240dp"
143 android:layout_height="match_parent"
144 android:layout_gravity="start"
145 android:background="#9FFF"
146 android:choiceMode="singleChoice"/>
148 </androidx.drawerlayout.widget.DrawerLayout>