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">
18 android:layout_width="fill_parent"
19 android:layout_height="fill_parent"
20 android:orientation="vertical">
23 android:id="@+id/formatting_toolbar"
24 android:layout_width="fill_parent"
25 android:layout_height="fill_parent"
26 android:orientation="vertical">
29 android:layout_width="fill_parent"
30 android:layout_height="wrap_content"
31 android:orientation="horizontal">
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"/>
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"/>
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"/>
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"/>
75 android:layout_width="fill_parent"
76 android:layout_height="wrap_content"
77 android:orientation="horizontal">
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
138 android:id="@+id/search_toolbar"
139 android:layout_width="fill_parent"
140 android:layout_height="fill_parent"
141 android:orientation="vertical">
144 android:layout_width="fill_parent"
145 android:layout_height="fill_parent"
146 android:orientation="horizontal">
149 android:id="@+id/search_string"
150 android:layout_width="fill_parent"
151 android:layout_height="fill_parent"
152 android:layout_weight="0.2"/>
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"/>
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"/>
175 </android.support.v7.widget.Toolbar>