summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* Properly show emoji in the notification ticker.Daniel Sandler2012-10-191-0/+12
| | | | | | | | | Add an emoji test to StatusBarTest (working around some difficulties in actually putting high-Unicode chars in the layout xml). Bug: 7378383 Change-Id: Ifce9844b26f67d2799521623e5161aa4dad69ed1
* Improve handling of small largeIcons in tablet ticker.Daniel Sandler2011-12-071-0/+5
| | | | | | | | | | | | | | | | | | | | | The tablet system bar is too short for a full notification row, but it will show the largeIcon of a new notification in its full frame, intruding into the main application content rectangle a bit. This is a good thing---the notifications really pop out at you---but it looks a little odd if the largeIcon is actually *small*: the icon is vertically centered in the larger (invisible) rectangle, making it look poorly centered on the system bar. This change will detect short largeIcons and center them in the system bar's height instead. Additionally, it applies the same ticker background all the way to the left underneath largeIcons that are not full-frame (and therefore have transparent regions). Bug: 5708907 Bug: 5560485 Change-Id: I32af45632df164c58fb960110063dbaa08b5536c
* Make the Notify Builder test usable on phones.Daniel Sandler2011-06-161-209/+204
| | | | Change-Id: Ibaa3b2b99bde7dfd3d9fc6bc4c0068fc1d7b914d
* Need to update the largeIcon for notifications when we're reapplying the views.Joe Onorato2011-01-151-1/+6
| | | | | Bug: 3298062 Change-Id: I6bb72c0b93e00a9de8cc2633ac07add0a572a20f
* Possibly fix bad notification updates.Joe Onorato2011-01-121-1/+1
| | | | | | | | | I think what was happening is that it was using a different layout but we were trying to reapply the RemoveViews because of some bad boolean logic. This fixes that, and adds some better debugging that might show us what else is happening. Bug: 3298062 Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
* Fix build.Daniel Sandler2010-11-301-0/+22
| | | | Change-Id: Iccbe1609bbe582180d1c61f908b8dce4d485494b
* Add a better notification test and clean up the flag handling in the ↵Joe Onorato2010-11-221-0/+819
| | | | | | notification builder. Change-Id: I9354ed2c2cda690f53e5f43ad60943b63b02e7d4
* Update the look of the notifications. Includes adding a new ↵Joe Onorato2010-11-211-0/+28
| | | | | | Notification.Builder class. Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
* Allow both contentIntent and setOnClickPendingIntent in notificationsJoe Onorato2010-10-311-0/+21
| | | | | | | | | | From the app developer's request: Intents assigned to specific views should take precedence over the content intent, but it should not be required to set the content intent to null in order for the view-intents to work Bug: 3107945 Change-Id: Ic5282d441277a9a8c8c700ef3f43872f3405b58a
* Updated StatusBar test app for new notifications API.Daniel Sandler2010-06-241-0/+57
| | | | | | | | | New actions: - Toggle activity's immersive mode - Post a priority notification with fullScreenIntent that launches an alert-like activity Change-Id: Ie38372209985577b6db856924c19914c000e1cec
* Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-2/+2
| | | | Bug: #2361749.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+41
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-41/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+41