summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-05-13 08:27:34 -0400
committerPatrick Scott <phanna@android.com>2009-05-26 10:02:29 -0400
commitf47699dd4704917713004099b5e3609be48653c4 (patch)
tree9e03f3ee4ba7cce0b7703f71a7ae34c88b683b7b /res/drawable
parent3f77eebe6d9f277a8035c8c14b97c69023245b55 (diff)
downloadandroid_packages_apps_DeskClock-f47699dd4704917713004099b5e3609be48653c4.tar.gz
android_packages_apps_DeskClock-f47699dd4704917713004099b5e3609be48653c4.tar.bz2
android_packages_apps_DeskClock-f47699dd4704917713004099b5e3609be48653c4.zip
Rework the AlarmAlert dialog layout.
Make the layout portrait only to make it more uniform and nicer looking. Update all the clock layouts to have the same size. The alert will have a larger clock than the AlarmClock screen. Remove the old hack to make the alert a dialog. Inflate the views with a root so the layout params will be fill_parent. Use the animate_circle resource in setBackgroundResource to clean up the code. Add a new AlarmAlertFullScreen activity which makes the alert fullscreen with the current wallpaper as the background. Query the keyguard manager during the alarm broadcast to decide which activity to launch. The regular alert activity shows above the current activity but the fullscreen activity will not show the previous activity for security reasons. Add the alarm_alert style that mimics the Theme.Dialog.Alert style but does not rely on a private resource. Add dialog.9.png for the same reason. Add a LinearLayout surrounding the alert layout to hold the background wallpaper.
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/dialog.9.pngbin0 -> 1332 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/res/drawable/dialog.9.png b/res/drawable/dialog.9.png
new file mode 100644
index 000000000..2305be464
--- /dev/null
+++ b/res/drawable/dialog.9.png
Binary files differ