mobile/android/base/resources/layout/font_size_preference.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial