summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout-xlarge-v11/font_size_preference.xml
blob: a406b55a2aacd375399295a3db139c134705d6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this file,
   - You can obtain one at http://mozilla.org/MPL/2.0/.  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical"> 

    <ScrollView android:id="@+id/scrolling_container"
                android:layout_width="match_parent"
                android:layout_height="350dp"
                android:layout_margin="8dp"
                android:padding="8dp"
                android:scrollbars="vertical"
                android:scrollbarStyle="outsideOverlay"
                android:fadeScrollbars="true"
                android:requiresFadingEdge="vertical">

            <TextView android:id="@+id/preview"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:text="@string/pref_font_size_preview_text"
                      android:textColor="#ff000000"/>

    </ScrollView>

    <LinearLayout android:id="@+id/button_container"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="4dp"
                  android:layout_marginRight="4dp"
                  android:orientation="horizontal">

        <Button android:id="@+id/decrease_preview_font_button"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:text="@string/pref_font_size_adjust_char"
                android:textSize="8sp"/>

        <Button android:id="@+id/increase_preview_font_button"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:text="@string/pref_font_size_adjust_char"
                android:textSize="16sp"/>

    </LinearLayout>

</LinearLayout>