Bug 1442054 - Replaced deprecated singleLine attribute with maxLines=1. r=mcomella, a=RyanVM
authorVlad Baicu <vlad.baicu@softvision.ro>
Mon, 16 Apr 2018 15:52:08 +0300
changeset 460869 0baa437736c9
parent 460868 bb13bf12b0a3
child 460870 d2e7192e3493
push id9082
push userryanvm@gmail.com
push dateTue, 17 Apr 2018 18:54:31 +0000
treeherdermozilla-beta@a6ea41d3dc18 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcomella, RyanVM
bugs1442054
milestone60.0
Bug 1442054 - Replaced deprecated singleLine attribute with maxLines=1. r=mcomella, a=RyanVM MozReview-Commit-ID: BKJhIRG0d1v
mobile/android/app/src/photon/res/values/styles.xml
--- a/mobile/android/app/src/photon/res/values/styles.xml
+++ b/mobile/android/app/src/photon/res/values/styles.xml
@@ -473,17 +473,17 @@
         <item name="android:textAppearance">@style/TextAppearance.UrlBar.Title</item>
         <item name="android:textColor">@color/url_bar_title</item>
         <item name="android:textColorHint">@color/url_bar_title_hint</item>
         <item name="android:textColorHighlight">@color/url_bar_title_highlight</item>
         <item name="android:textSelectHandle">@drawable/handle_middle</item>
         <item name="android:textSelectHandleLeft">@drawable/handle_start</item>
         <item name="android:textSelectHandleRight">@drawable/handle_end</item>
         <item name="android:textCursorDrawable">@null</item>
-        <item name="android:singleLine">true</item>
+        <item name="android:maxLines">1</item>
         <item name="android:gravity">center_vertical|left|start</item>
         <item name="android:hint">@string/url_bar_default_text</item>
     </style>
 
     <!-- URL bar - Image Button -->
     <style name="UrlBar.ImageButtonBase" parent="UrlBar.Button">
         <item name="android:scaleType">center</item>
         <item name="android:layout_gravity">center_vertical</item>