OSDN Git Service

Extend the ListView selection behind the checkbox.
authorPatrick Scott <phanna@android.com>
Tue, 14 Apr 2009 20:55:10 +0000 (16:55 -0400)
committerPatrick Scott <phanna@android.com>
Wed, 15 Apr 2009 17:04:46 +0000 (13:04 -0400)
commit0dffdefe54299ee01b45574244c92d3a06507b87
treef9968f4a8904257c6af8417982d72659693fb603
parent79ae601c061751b6882849d01d5a77c9e04623bf
Extend the ListView selection behind the checkbox.

Extend the selection behind the checkbox and change the behavior of selecting an
alarm item. Long pressing the item now brings up a context menu that can enable
or disable the alarm in addition to deleting the alarm.

The context menu header now contains the label of the alarm if it exists and
it mimics the standard dialog header view.

Updated some of the layout code to ensure that the default three Alarms do not
show a scrollbar.

BUG=1438269
res/layout/alarm_time.xml
res/layout/context_menu_header.xml [new file with mode: 0644]
res/menu/context_menu.xml [new file with mode: 0644]
res/values/strings.xml
src/com/android/alarmclock/AlarmClock.java