|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
4 - You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 android:layout_width="fill_parent" |
|
8 android:layout_height="fill_parent" |
|
9 android:orientation="vertical"> |
|
10 |
|
11 <ScrollView android:id="@+id/scrolling_container" |
|
12 android:layout_width="fill_parent" |
|
13 android:layout_height="350dp" |
|
14 android:layout_margin="8dp" |
|
15 android:padding="8dp" |
|
16 android:scrollbars="vertical" |
|
17 android:scrollbarStyle="outsideOverlay" |
|
18 android:fadeScrollbars="true" |
|
19 android:requiresFadingEdge="vertical"> |
|
20 |
|
21 <TextView android:id="@+id/preview" |
|
22 android:layout_width="fill_parent" |
|
23 android:layout_height="wrap_content" |
|
24 android:text="@string/pref_font_size_preview_text" |
|
25 android:textColor="#ff000000"/> |
|
26 |
|
27 </ScrollView> |
|
28 |
|
29 <LinearLayout android:id="@+id/button_container" |
|
30 android:layout_width="fill_parent" |
|
31 android:layout_height="wrap_content" |
|
32 android:layout_marginLeft="4dp" |
|
33 android:layout_marginRight="4dp" |
|
34 android:orientation="horizontal"> |
|
35 |
|
36 <Button android:id="@+id/decrease_preview_font_button" |
|
37 android:layout_width="0dp" |
|
38 android:layout_height="fill_parent" |
|
39 android:layout_weight="1" |
|
40 android:text="@string/pref_font_size_adjust_char" |
|
41 android:textSize="8sp"/> |
|
42 |
|
43 <Button android:id="@+id/increase_preview_font_button" |
|
44 android:layout_width="0dp" |
|
45 android:layout_height="fill_parent" |
|
46 android:layout_weight="1" |
|
47 android:text="@string/pref_font_size_adjust_char" |
|
48 android:textSize="16sp"/> |
|
49 |
|
50 </LinearLayout> |
|
51 |
|
52 </LinearLayout> |