Bug 1227321 - Padding fix, r=mcomella
authorAleksander <litunone@gmail.com>
Wed, 30 Mar 2016 19:25:46 +0300
changeset 291356 5ea59d4c9ea5af538b4fddc1c624f72d9098ae82
parent 291355 ad16491227f9cdf08fda7a3c1973562497d0f4ef
child 291357 adc196371da9a14d6b805054ad7278e258a3df33
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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"