summaryrefslogtreecommitdiffstats
path: root/res/layout/empty_print_state.xml
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2015-06-04 17:45:03 -0700
committerMakoto Onuki <omakoto@google.com>2015-06-11 14:26:29 -0700
commit0ec96fe64cea4d27e866fc2dc17b799cf9c265a4 (patch)
tree727f64cc65e78fb2a3af2fb797f29e043e6801e4 /res/layout/empty_print_state.xml
parent0f6b243d4b0d2224b26852a4801d444afc9289d8 (diff)
downloadpackages_apps_Settings-0ec96fe64cea4d27e866fc2dc17b799cf9c265a4.zip
packages_apps_Settings-0ec96fe64cea4d27e866fc2dc17b799cf9c265a4.tar.gz
packages_apps_Settings-0ec96fe64cea4d27e866fc2dc17b799cf9c265a4.tar.bz2
Promote "add service" from menu to list item
Also show the app icon for each service. Bug 19914125 Change-Id: I592c526746a3ec9f67e8e8a6c6f1530e7724e310
Diffstat (limited to 'res/layout/empty_print_state.xml')
-rw-r--r--res/layout/empty_print_state.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/layout/empty_print_state.xml b/res/layout/empty_print_state.xml
index e97bb85..361bf3c 100644
--- a/res/layout/empty_print_state.xml
+++ b/res/layout/empty_print_state.xml
@@ -44,6 +44,18 @@
android:textColor="?android:attr/textColorSecondary">
</TextView>
+ <Button android:id="@+id/add_new_service"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:visibility="gone"
+ style="?android:attr/buttonBarButtonStyle"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/print_menu_item_add_service"
+ android:textAllCaps="true"
+ />
+
</LinearLayout>
</FrameLayout>