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

Conflicts:
	res/values/donottranslate.xml
This commit is contained in:
Svetoslav Ganov
2013-09-23 15:48:23 -07:00
committed by The Android Automerger
parent 2e85c354b0
commit b4c83de0b3
13 changed files with 795 additions and 74 deletions

View File

@@ -0,0 +1,30 @@
<?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.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/print_print_job">
<Preference
android:key="print_job_preference">
</Preference>
<Preference
android:key="print_job_message_preference"
android:layout="@layout/print_job_summary">
</Preference>
</PreferenceScreen>

View File

@@ -17,4 +17,17 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/print_settings_title">
<PreferenceCategory
android:key="print_jobs_category"
android:title="@string/print_print_jobs"
android:order="0">
</PreferenceCategory>
<PreferenceCategory
android:key="print_services_category"
android:title="@string/print_settings_title"
android:order="1">
</PreferenceCategory>
</PreferenceScreen>