mobile/android/base/resources/values-large-v11/fxaccount_styles.xml

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!--
michael@0 3 This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6 -->
michael@0 7
michael@0 8 <resources xmlns:android="http://schemas.android.com/apk/res/android">
michael@0 9
michael@0 10 <style name="FxAccountMiddle">
michael@0 11 <item name="android:orientation">vertical</item>
michael@0 12 <item name="android:layout_width">500dp</item>
michael@0 13 <item name="android:minWidth">500dp</item>
michael@0 14 <item name="android:layout_height">wrap_content</item>
michael@0 15 <item name="android:layout_weight">1</item>
michael@0 16 <!-- layout_gravity controls where the middle container goes
michael@0 17 in its parent, and gravity controls where the container
michael@0 18 places its internal content. Usually, the middle
michael@0 19 container is a LinearLayout and the container is a
michael@0 20 ScrollView. In this case, layout_gravity="center"
michael@0 21 interacts badly with vertical scrolling. What is needed
michael@0 22 is layout_gravity="center_horizontal" and
michael@0 23 gravity="center". -->
michael@0 24 <item name="android:gravity">center</item>
michael@0 25 <item name="android:layout_gravity">center_horizontal</item>
michael@0 26 <item name="android:paddingTop">25dp</item>
michael@0 27 <item name="android:paddingLeft">12dp</item>
michael@0 28 <item name="android:paddingRight">12dp</item>
michael@0 29 <item name="android:paddingBottom">15dp</item>
michael@0 30 </style>
michael@0 31
michael@0 32 </resources>

mercurial