summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-07-11 14:39:43 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2014-07-11 21:42:06 +0000
commit53912d07d211f20d2d70b0fba127ddc587aa897e (patch)
tree7269aae67ef538f9477e8c70803769563f3d0562
parentc5a58437e62698f34abde93ec785c4cbe36aec2d (diff)
downloadframeworks_base-53912d07d211f20d2d70b0fba127ddc587aa897e.zip
frameworks_base-53912d07d211f20d2d70b0fba127ddc587aa897e.tar.gz
frameworks_base-53912d07d211f20d2d70b0fba127ddc587aa897e.tar.bz2
Fix the print button appearance.
Change-Id: Ie19a52eaf08e1e39bb488c5afa2344c72e646b0b
-rw-r--r--packages/PrintSpooler/res/drawable-hdpi/print_button_background.pngbin2233 -> 0 bytes
-rw-r--r--packages/PrintSpooler/res/drawable-mdpi/print_button_background.pngbin1508 -> 0 bytes
-rw-r--r--packages/PrintSpooler/res/drawable-xhdpi/print_button_background.pngbin3304 -> 0 bytes
-rw-r--r--packages/PrintSpooler/res/drawable/print_button_background.xml30
-rw-r--r--packages/PrintSpooler/res/layout/print_activity.xml1
5 files changed, 30 insertions, 1 deletions
diff --git a/packages/PrintSpooler/res/drawable-hdpi/print_button_background.png b/packages/PrintSpooler/res/drawable-hdpi/print_button_background.png
deleted file mode 100644
index 88e8495..0000000
--- a/packages/PrintSpooler/res/drawable-hdpi/print_button_background.png
+++ /dev/null
Binary files differ
diff --git a/packages/PrintSpooler/res/drawable-mdpi/print_button_background.png b/packages/PrintSpooler/res/drawable-mdpi/print_button_background.png
deleted file mode 100644
index 3a37b27..0000000
--- a/packages/PrintSpooler/res/drawable-mdpi/print_button_background.png
+++ /dev/null
Binary files differ
diff --git a/packages/PrintSpooler/res/drawable-xhdpi/print_button_background.png b/packages/PrintSpooler/res/drawable-xhdpi/print_button_background.png
deleted file mode 100644
index b2ed8cd..0000000
--- a/packages/PrintSpooler/res/drawable-xhdpi/print_button_background.png
+++ /dev/null
Binary files differ
diff --git a/packages/PrintSpooler/res/drawable/print_button_background.xml b/packages/PrintSpooler/res/drawable/print_button_background.xml
new file mode 100644
index 0000000..7b9aea5
--- /dev/null
+++ b/packages/PrintSpooler/res/drawable/print_button_background.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval">
+
+ <solid
+ android:color="#FF00E5FF">
+ </solid>
+
+ <size
+ android:width="48dp"
+ android:height="48dp">
+ </size>
+
+</shape>
+
diff --git a/packages/PrintSpooler/res/layout/print_activity.xml b/packages/PrintSpooler/res/layout/print_activity.xml
index 325d317..8896a7b 100644
--- a/packages/PrintSpooler/res/layout/print_activity.xml
+++ b/packages/PrintSpooler/res/layout/print_activity.xml
@@ -99,7 +99,6 @@
<ImageButton
android:id="@+id/print_button"
- style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dip"