Bug 1325931 - Pre: add drawable padding to pin draft
authorAndrzej Hunt <ahunt@mozilla.com>
Thu, 09 Feb 2017 13:24:24 -0800
changeset 481478 f2dac7a4d8d9c6ca0f0c5bdc19a86a6776adc87e
parent 481376 eea9995ed14c07675c972400e8ce36b3608c01b1
child 481479 da17e49e06328320082d1654b9ec92e86aeb4e53
push id44814
push userahunt@mozilla.com
push dateThu, 09 Feb 2017 22:32:53 +0000
bugs1325931
milestone54.0a1
Bug 1325931 - Pre: add drawable padding to pin Text is currently pushed directly against the pin in those cases where the entire width is filled with text - this spacing is needed to separate the pin, and text. MozReview-Commit-ID: HOVH1SgcrLY
mobile/android/base/resources/layout/activity_stream_topsites_card.xml
--- a/mobile/android/base/resources/layout/activity_stream_topsites_card.xml
+++ b/mobile/android/base/resources/layout/activity_stream_topsites_card.xml
@@ -25,16 +25,17 @@
         <View
             android:layout_width="match_parent"
             android:layout_height="0.5dp"
             android:layout_below="@id/favicon"
             android:background="@color/activity_stream_divider" />
 
         <TextView
             android:id="@+id/title"
+            android:drawablePadding="2dp"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_alignParentBottom="true"
             android:layout_alignParentEnd="true"
             android:layout_alignParentLeft="true"
             android:layout_alignParentRight="true"
             android:layout_alignParentStart="true"
             android:ellipsize="end"