|
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 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 android:layout_width="fill_parent" |
|
8 android:layout_height="fill_parent"> |
|
9 |
|
10 <LinearLayout android:id="@+id/button_container" |
|
11 android:layout_width="fill_parent" |
|
12 android:layout_height="wrap_content" |
|
13 android:layout_marginLeft="4dp" |
|
14 android:layout_marginRight="4dp" |
|
15 android:layout_alignParentBottom="true" |
|
16 android:layout_alignParentLeft="true" |
|
17 android:orientation="horizontal"> |
|
18 |
|
19 <Button android:id="@+id/decrease_preview_font_button" |
|
20 android:layout_width="0dp" |
|
21 android:layout_height="fill_parent" |
|
22 android:layout_weight="1" |
|
23 android:text="@string/pref_font_size_adjust_char" |
|
24 android:textSize="8sp"/> |
|
25 |
|
26 <Button android:id="@+id/increase_preview_font_button" |
|
27 android:layout_width="0dp" |
|
28 android:layout_height="fill_parent" |
|
29 android:layout_weight="1" |
|
30 android:text="@string/pref_font_size_adjust_char" |
|
31 android:textSize="16sp"/> |
|
32 |
|
33 </LinearLayout> |
|
34 |
|
35 <ScrollView android:id="@+id/scrolling_container" |
|
36 android:layout_width="fill_parent" |
|
37 android:layout_height="fill_parent" |
|
38 android:layout_above="@id/button_container" |
|
39 android:layout_margin="8dp" |
|
40 android:padding="8dp" |
|
41 android:scrollbars="vertical" |
|
42 android:scrollbarStyle="outsideOverlay" |
|
43 android:fadeScrollbars="true" |
|
44 android:requiresFadingEdge="vertical"> |
|
45 |
|
46 <TextView android:id="@+id/preview" |
|
47 android:layout_width="fill_parent" |
|
48 android:layout_height="wrap_content" |
|
49 android:text="@string/pref_font_size_preview_text" |
|
50 android:textColor="#ff000000"/> |
|
51 |
|
52 </ScrollView> |
|
53 |
|
54 </RelativeLayout> |