Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / android / source / res / layout / toolbar_bottom.xml
blob9de4906fe0e5e08c064f3c89a37e0b638f8d6c93
1 <?xml version="1.0" encoding="utf-8"?>
3 <android.support.v7.widget.Toolbar
4     android:id="@+id/toolbar_bottom"
5     xmlns:android="http://schemas.android.com/apk/res/android"
6     xmlns:app="http://schemas.android.com/apk/res-auto"
7     xmlns:tools="http://schemas.android.com/tools"
8     android:layout_width="fill_parent"
9     android:layout_height="wrap_content"
10     android:layout_alignParentBottom="true"
11     android:elevation="3dp"
12     android:background="@color/toolbar_background"
13     app:popupTheme="@style/LibreOfficeTheme.Toolbar"
14     app:theme="@style/LibreOfficeTheme.Toolbar"
15     tools:showIn="@layout/activity_main">
17     <LinearLayout
18         android:layout_width="fill_parent"
19         android:layout_height="fill_parent"
20         android:orientation="vertical">
22         <LinearLayout
23             android:id="@+id/formatting_toolbar"
24             android:layout_width="fill_parent"
25             android:layout_height="fill_parent"
26             android:orientation="vertical">
28             <LinearLayout
29                 android:layout_width="fill_parent"
30                 android:layout_height="wrap_content"
31                 android:orientation="horizontal">
33                 <ImageButton
34                     android:id="@+id/button_bold"
35                     android:layout_width="wrap_content"
36                     android:layout_height="wrap_content"
37                     android:layout_weight="0.25"
38                     android:background="@drawable/image_button_background"
39                     android:paddingBottom="5dp"
40                     android:paddingTop="5dp"
41                     android:src="@drawable/ic_format_bold"/>
43                 <ImageButton
44                     android:id="@+id/button_italic"
45                     android:layout_width="wrap_content"
46                     android:layout_height="wrap_content"
47                     android:layout_weight="0.25"
48                     android:background="@drawable/image_button_background"
49                     android:paddingBottom="5dp"
50                     android:paddingTop="5dp"
51                     android:src="@drawable/ic_format_italic"/>
53                 <ImageButton
54                     android:id="@+id/button_underlined"
55                     android:layout_width="wrap_content"
56                     android:layout_height="wrap_content"
57                     android:layout_weight="0.25"
58                     android:background="@drawable/image_button_background"
59                     android:paddingBottom="5dp"
60                     android:paddingTop="5dp"
61                     android:src="@drawable/ic_format_underlined"/>
63                 <ImageButton
64                     android:id="@+id/button_strikethrough"
65                     android:layout_width="wrap_content"
66                     android:layout_height="wrap_content"
67                     android:layout_weight="0.25"
68                     android:background="@drawable/image_button_background"
69                     android:paddingBottom="5dp"
70                     android:paddingTop="5dp"
71                     android:src="@drawable/ic_format_strikethrough"/>
72             </LinearLayout>
74             <LinearLayout
75                 android:layout_width="fill_parent"
76                 android:layout_height="wrap_content"
77                 android:orientation="horizontal">
79                 <ImageButton
80                     android:id="@+id/button_align_left"
81                     android:layout_width="wrap_content"
82                     android:layout_height="wrap_content"
83                     android:layout_weight="0.25"
84                     android:background="@drawable/image_button_background"
85                     android:paddingBottom="5dp"
86                     android:paddingTop="5dp"
87                     android:src="@drawable/ic_format_align_left"/>
89                 <ImageButton
90                     android:id="@+id/button_align_center"
91                     android:layout_width="wrap_content"
92                     android:layout_height="wrap_content"
93                     android:layout_weight="0.25"
94                     android:background="@drawable/image_button_background"
95                     android:paddingBottom="5dp"
96                     android:paddingTop="5dp"
97                     android:src="@drawable/ic_format_align_center"/>
99                 <ImageButton
100                     android:id="@+id/button_align_right"
101                     android:layout_width="wrap_content"
102                     android:layout_height="wrap_content"
103                     android:layout_weight="0.25"
104                     android:background="@drawable/image_button_background"
105                     android:paddingBottom="5dp"
106                     android:paddingTop="5dp"
107                     android:src="@drawable/ic_format_align_right"/>
109                 <ImageButton
110                     android:id="@+id/button_align_justify"
111                     android:layout_width="wrap_content"
112                     android:layout_height="wrap_content"
113                     android:layout_weight="0.25"
114                     android:background="@drawable/image_button_background"
115                     android:paddingBottom="5dp"
116                     android:paddingTop="5dp"
117                     android:src="@drawable/ic_format_align_justify"/>
118             </LinearLayout>
120             <Spinner
121                 android:id="@+id/font_name_spinner"
122                 android:layout_width="fill_parent"
123                 android:layout_height="wrap_content"
124                 android:layout_weight="1"
125                 android:minHeight="50dip"/>
127             <Spinner
128                 android:id="@+id/font_size_spinner"
129                 android:layout_width="fill_parent"
130                 android:layout_height="wrap_content"
131                 android:layout_weight="1"
132                 android:minHeight="50dip"/>
135         </LinearLayout>
137         <LinearLayout
138             android:id="@+id/search_toolbar"
139             android:layout_width="fill_parent"
140             android:layout_height="fill_parent"
141             android:orientation="vertical">
143             <LinearLayout
144                 android:layout_width="fill_parent"
145                 android:layout_height="fill_parent"
146                 android:orientation="horizontal">
148                 <EditText
149                     android:id="@+id/search_string"
150                     android:layout_width="fill_parent"
151                     android:layout_height="fill_parent"
152                     android:layout_weight="0.2"/>
154                 <ImageButton
155                     android:id="@+id/button_search_up"
156                     android:layout_width="fill_parent"
157                     android:layout_height="fill_parent"
158                     android:layout_weight="0.6"
159                     android:background="@drawable/image_button_background"
160                     android:padding="10dp"
161                     android:src="@drawable/ic_search_direction_down"/>
163                 <ImageButton
164                     android:id="@+id/button_search_down"
165                     android:layout_width="fill_parent"
166                     android:layout_height="fill_parent"
167                     android:layout_weight="0.6"
168                     android:background="@drawable/image_button_background"
169                     android:padding="10dp"
170                     android:src="@drawable/ic_search_direction_up"/>
171             </LinearLayout>
172         </LinearLayout>
173     </LinearLayout>
175 </android.support.v7.widget.Toolbar>