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.

     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/.  -->
     6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     7                 android:layout_width="fill_parent"
     8                 android:layout_height="fill_parent">
    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">
    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"/>
    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"/>
    33     </LinearLayout>
    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">
    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"/>
    52     </ScrollView>
    54 </RelativeLayout>

mercurial