diff options
author | Makoto Onuki <omakoto@google.com> | 2015-06-04 17:45:03 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2015-06-11 14:26:29 -0700 |
commit | 0ec96fe64cea4d27e866fc2dc17b799cf9c265a4 (patch) | |
tree | 727f64cc65e78fb2a3af2fb797f29e043e6801e4 /res/layout/empty_print_state.xml | |
parent | 0f6b243d4b0d2224b26852a4801d444afc9289d8 (diff) | |
download | packages_apps_Settings-0ec96fe64cea4d27e866fc2dc17b799cf9c265a4.tar.gz packages_apps_Settings-0ec96fe64cea4d27e866fc2dc17b799cf9c265a4.tar.bz2 packages_apps_Settings-0ec96fe64cea4d27e866fc2dc17b799cf9c265a4.zip |
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.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/res/layout/empty_print_state.xml b/res/layout/empty_print_state.xml index e97bb85cd..361bf3c1f 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> |