OSDN Git Service

Fix ugly text wrapping on non-english locales
authorMakoto Onuki <omakoto@google.com>
Thu, 16 Jul 2015 22:43:47 +0000 (15:43 -0700)
committerMakoto Onuki <omakoto@google.com>
Thu, 16 Jul 2015 22:45:09 +0000 (15:45 -0700)
Bug 22284618

Change-Id: Iaab017fa5d2f5aeb3457f911cbd31ceb8671e495

res/layout/empty_printers_list_service_enabled.xml

index 6928b36..e420d5f 100644 (file)
@@ -38,6 +38,9 @@
         <TextView
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
+            android:layout_marginLeft="32dip"
+            android:layout_marginRight="32dip"
+            android:gravity="center"
             android:textAppearance="?android:attr/textAppearanceLarge"
             android:textColor="?android:attr/textColorSecondary"
             android:text="@string/print_searching_for_printers">