summaryrefslogtreecommitdiffstats
path: root/res/layout/empty_printers_list_service_enabled.xml
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2013-09-23 15:48:23 -0700
committerSvetoslav <svetoslavganov@google.com>2013-09-26 13:58:59 -0700
commitbc2c3db8f923b9ee25345f5ebbad9f6c762a1e23 (patch)
treef466594a026b19b101a1202d541a2b00fa2a6e26 /res/layout/empty_printers_list_service_enabled.xml
parent077f83a22c3d9b8650b2ba4dab4f17e55fde59fb (diff)
downloadpackages_apps_Settings-bc2c3db8f923b9ee25345f5ebbad9f6c762a1e23.zip
packages_apps_Settings-bc2c3db8f923b9ee25345f5ebbad9f6c762a1e23.tar.gz
packages_apps_Settings-bc2c3db8f923b9ee25345f5ebbad9f6c762a1e23.tar.bz2
Add print job settings screen.
Added a list of active print jobs to the main print settings screen. Selecting a print job from there leads to a print job settings screen with more information about the print job and actions to change the prit job state such as cancel and restart. bug:10935736 Change-Id: Idd6826a998309941c3d8478dafe4b039c8ca4f45
Diffstat (limited to 'res/layout/empty_printers_list_service_enabled.xml')
-rw-r--r--res/layout/empty_printers_list_service_enabled.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/res/layout/empty_printers_list_service_enabled.xml b/res/layout/empty_printers_list_service_enabled.xml
new file mode 100644
index 0000000..78c8b43
--- /dev/null
+++ b/res/layout/empty_printers_list_service_enabled.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/empty_printers_list_service_enabled"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:visibility="gone">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="12dip"
+ android:src="@drawable/ic_grayedout_printer"
+ android:contentDescription="@string/print_searching_for_printers">
+ </ImageView>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:textColor="?android:attr/textColorSecondary"
+ android:text="@string/print_searching_for_printers">
+ </TextView>
+
+ <ProgressBar
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:indeterminate="true"
+ style="@android:style/Widget.Holo.ProgressBar.Horizontal">
+ </ProgressBar>
+
+ </LinearLayout>
+
+</FrameLayout>