1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/font_size_preference.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,54 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.7 + - You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 1.10 + android:layout_width="fill_parent" 1.11 + android:layout_height="fill_parent"> 1.12 + 1.13 + <LinearLayout android:id="@+id/button_container" 1.14 + android:layout_width="fill_parent" 1.15 + android:layout_height="wrap_content" 1.16 + android:layout_marginLeft="4dp" 1.17 + android:layout_marginRight="4dp" 1.18 + android:layout_alignParentBottom="true" 1.19 + android:layout_alignParentLeft="true" 1.20 + android:orientation="horizontal"> 1.21 + 1.22 + <Button android:id="@+id/decrease_preview_font_button" 1.23 + android:layout_width="0dp" 1.24 + android:layout_height="fill_parent" 1.25 + android:layout_weight="1" 1.26 + android:text="@string/pref_font_size_adjust_char" 1.27 + android:textSize="8sp"/> 1.28 + 1.29 + <Button android:id="@+id/increase_preview_font_button" 1.30 + android:layout_width="0dp" 1.31 + android:layout_height="fill_parent" 1.32 + android:layout_weight="1" 1.33 + android:text="@string/pref_font_size_adjust_char" 1.34 + android:textSize="16sp"/> 1.35 + 1.36 + </LinearLayout> 1.37 + 1.38 + <ScrollView android:id="@+id/scrolling_container" 1.39 + android:layout_width="fill_parent" 1.40 + android:layout_height="fill_parent" 1.41 + android:layout_above="@id/button_container" 1.42 + android:layout_margin="8dp" 1.43 + android:padding="8dp" 1.44 + android:scrollbars="vertical" 1.45 + android:scrollbarStyle="outsideOverlay" 1.46 + android:fadeScrollbars="true" 1.47 + android:requiresFadingEdge="vertical"> 1.48 + 1.49 + <TextView android:id="@+id/preview" 1.50 + android:layout_width="fill_parent" 1.51 + android:layout_height="wrap_content" 1.52 + android:text="@string/pref_font_size_preview_text" 1.53 + android:textColor="#ff000000"/> 1.54 + 1.55 + </ScrollView> 1.56 + 1.57 +</RelativeLayout>