Bug 1227321 - Padding fix, r=mcomella draft
authorAleksander <litunone@gmail.com>
Wed, 30 Mar 2016 19:25:46 +0300
changeset 346010 209a94dd859c0e61d16b07049c5a7451d3076389
parent 345496 d5d53a3b4e50b94cdf85d20690526e5a00d5b63e
child 517301 5a4d26a5abc6313b00633cf253a9fcbd81d755b0
push id14212
push userbmo:litunone@gmail.com
push dateWed, 30 Mar 2016 18:48:01 +0000
reviewersmcomella
bugs1227321
milestone48.0a1
Bug 1227321 - Padding fix, r=mcomella MozReview-Commit-ID: ARYZ6LOHZvA
mobile/android/base/resources/layout/preference_panels.xml
mobile/android/base/resources/layout/preference_search_engine.xml
--- a/mobile/android/base/resources/layout/preference_panels.xml
+++ b/mobile/android/base/resources/layout/preference_panels.xml
@@ -4,17 +4,18 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
               android:layout_width="match_parent"
               android:layout_height="wrap_content"
               android:minHeight="?android:attr/listPreferredItemHeight"
               android:gravity="center_vertical"
               android:orientation="vertical"
-              android:paddingLeft="15dp"
+              android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+              android:paddingStart="?android:attr/listPreferredItemPaddingStart"
               android:paddingRight="?android:attr/scrollbarSize">
 
        <TextView android:id="@+android:id/title"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:singleLine="true"
                  android:ellipsize="marquee"
--- a/mobile/android/base/resources/layout/preference_search_engine.xml
+++ b/mobile/android/base/resources/layout/preference_search_engine.xml
@@ -3,17 +3,18 @@
    - 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/. -->
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
               android:layout_width="match_parent"
               android:layout_height="wrap_content"
               android:minHeight="?android:attr/listPreferredItemHeight"
               android:gravity="center_vertical"
-              android:paddingLeft="15dp"
+              android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+              android:paddingStart="?android:attr/listPreferredItemPaddingStart"
               android:paddingRight="?android:attr/scrollbarSize">
 
     <org.mozilla.gecko.widget.FaviconView
         android:id="@+id/search_engine_icon"
         android:layout_width="@dimen/favicon_bg"
         android:layout_height="@dimen/favicon_bg"
         android:layout_gravity="center"
         android:minWidth="@dimen/favicon_bg"