<?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/.  -->

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

    <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:layout_alignParentBottom="true"
                  android:layout_alignParentLeft="true"
                  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>

    <ScrollView android:id="@+id/scrolling_container"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_above="@id/button_container"
                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>

</RelativeLayout>
