Bug 1050457 - Increase top/right/left values of edit_text_focus layer-list drawable to fix pixel issue on 4.1. r=liuche
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Mon, 29 Sep 2014 11:08:27 -0700
changeset 207860 dab8d3c1e8c98ecb6f41c16884f53f0a3dc858b2
parent 207735 5f00f4077a5335225958b61f17f1e1a23106d3e7
child 207861 2b67ef67b6a9982ae9248ebb71e3c1332ea86276
push id27569
push usercbook@mozilla.com
push dateTue, 30 Sep 2014 13:14:19 +0000
treeherdermozilla-central@2ae57957e4bb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersliuche
bugs1050457
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1050457 - Increase top/right/left values of edit_text_focus layer-list drawable to fix pixel issue on 4.1. r=liuche
mobile/android/search/res/drawable/edit_text_focused.xml
--- a/mobile/android/search/res/drawable/edit_text_focused.xml
+++ b/mobile/android/search/res/drawable/edit_text_focused.xml
@@ -1,19 +1,19 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - 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/. -->
 
 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
 
     <!-- Make sure the border only appears at the bottom of the background -->
     <item
-        android:top="-2dp"
-        android:right="-2dp"
-        android:left="-2dp">
+        android:top="-3dp"
+        android:right="-3dp"
+        android:left="-3dp">
         <shape>
             <!-- Padding creates vertical space between the text and the underline -->
             <padding
                 android:top="@dimen/search_bar_padding_y"
                 android:bottom="@dimen/search_bar_padding_y"/>
             <solid android:color="@android:color/transparent"/>
             <!-- We apply a color filter to set the color for the selected search engine -->
             <stroke android:width="2dp" android:color="@android:color/white"/>