summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-07-23 18:22:03 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2014-07-24 01:23:16 +0000
commitf8ffa567b5ac418b72268ae01fe8401b801268c7 (patch)
treefa970ee14d84f55b57ca692f4d8ac49a870022a8 /packages/PrintSpooler
parent69b078599b8d8bc3e8f94d6cab881145f4e2c129 (diff)
downloadframeworks_base-f8ffa567b5ac418b72268ae01fe8401b801268c7.zip
frameworks_base-f8ffa567b5ac418b72268ae01fe8401b801268c7.tar.gz
frameworks_base-f8ffa567b5ac418b72268ae01fe8401b801268c7.tar.bz2
Updating the save to PDF button icon.
Change-Id: Ie62a22d6e16d15426f10afa0512b0083c52ff507
Diffstat (limited to 'packages/PrintSpooler')
-rw-r--r--packages/PrintSpooler/res/drawable-hdpi/ic_menu_savetopdf.pngbin0 -> 1026 bytes
-rw-r--r--packages/PrintSpooler/res/drawable-mdpi/ic_menu_savetopdf.pngbin0 -> 844 bytes
-rw-r--r--packages/PrintSpooler/res/drawable-xhdpi/ic_menu_savetopdf.pngbin0 -> 1227 bytes
-rw-r--r--packages/PrintSpooler/res/drawable-xxhdpi/ic_menu_savetopdf.pngbin0 -> 1496 bytes
-rw-r--r--packages/PrintSpooler/res/drawable-xxxhdpi/ic_menu_savetopdf.pngbin0 -> 1649 bytes
-rw-r--r--packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java4
6 files changed, 2 insertions, 2 deletions
diff --git a/packages/PrintSpooler/res/drawable-hdpi/ic_menu_savetopdf.png b/packages/PrintSpooler/res/drawable-hdpi/ic_menu_savetopdf.png
new file mode 100644
index 0000000..639a63f
--- /dev/null
+++ b/packages/PrintSpooler/res/drawable-hdpi/ic_menu_savetopdf.png
Binary files differ
diff --git a/packages/PrintSpooler/res/drawable-mdpi/ic_menu_savetopdf.png b/packages/PrintSpooler/res/drawable-mdpi/ic_menu_savetopdf.png
new file mode 100644
index 0000000..ce6d75b
--- /dev/null
+++ b/packages/PrintSpooler/res/drawable-mdpi/ic_menu_savetopdf.png
Binary files differ
diff --git a/packages/PrintSpooler/res/drawable-xhdpi/ic_menu_savetopdf.png b/packages/PrintSpooler/res/drawable-xhdpi/ic_menu_savetopdf.png
new file mode 100644
index 0000000..98872f4
--- /dev/null
+++ b/packages/PrintSpooler/res/drawable-xhdpi/ic_menu_savetopdf.png
Binary files differ
diff --git a/packages/PrintSpooler/res/drawable-xxhdpi/ic_menu_savetopdf.png b/packages/PrintSpooler/res/drawable-xxhdpi/ic_menu_savetopdf.png
new file mode 100644
index 0000000..4fba4e0
--- /dev/null
+++ b/packages/PrintSpooler/res/drawable-xxhdpi/ic_menu_savetopdf.png
Binary files differ
diff --git a/packages/PrintSpooler/res/drawable-xxxhdpi/ic_menu_savetopdf.png b/packages/PrintSpooler/res/drawable-xxxhdpi/ic_menu_savetopdf.png
new file mode 100644
index 0000000..42d8672
--- /dev/null
+++ b/packages/PrintSpooler/res/drawable-xxxhdpi/ic_menu_savetopdf.png
Binary files differ
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java
index a01e45c..26dfb1a 100644
--- a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java
+++ b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java
@@ -96,7 +96,7 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
OptionsStateChangeListener, OptionsStateController {
private static final String LOG_TAG = "PrintActivity";
- private static final boolean DEBUG = true;
+ private static final boolean DEBUG = false;
public static final String INTENT_EXTRA_PRINTER_ID = "INTENT_EXTRA_PRINTER_ID";
@@ -1289,7 +1289,7 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
if (mDestinationSpinnerAdapter.getPdfPrinter() != mCurrentPrinter) {
mPrintButton.setImageResource(com.android.internal.R.drawable.ic_print);
} else {
- mPrintButton.setImageResource(com.android.internal.R.drawable.ic_menu_save);
+ mPrintButton.setImageResource(R.drawable.ic_menu_savetopdf);
}
if ((mRangeOptionsSpinner.getSelectedItemPosition() == 1
&& (TextUtils.isEmpty(mPageRangeEditText.getText()) || hasErrors()))