Bug 1442054 Replaced deprecated singleLine attribute with maxLines=1 draft
authorVlad Baicu <vlad.baicu@softvision.ro>
Mon, 16 Apr 2018 15:52:08 +0300
changeset 782952 428cda3c9f75
parent 777948 218f86b40078
push id106578
push uservbaicu@mozilla.com
push dateMon, 16 Apr 2018 12:55:26 +0000
bugs1442054
milestone61.0a1
Bug 1442054 Replaced deprecated singleLine attribute with maxLines=1 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>