summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-01-19 16:32:22 -0800
committerJoe Onorato <joeo@android.com>2010-01-19 16:32:22 -0800
commitc83bb730ec0333e52990a40edf6d54bb66b1d5ba (patch)
treed64faa280ae393891673278b4d61ec274a8e4259 /core/res
parent63ce8e817c9b800b4f08b64c343e533783961b6e (diff)
downloadframeworks_base-c83bb730ec0333e52990a40edf6d54bb66b1d5ba.zip
frameworks_base-c83bb730ec0333e52990a40edf6d54bb66b1d5ba.tar.gz
frameworks_base-c83bb730ec0333e52990a40edf6d54bb66b1d5ba.tar.bz2
Add DateTimeView, a widget that shows a time or the date depending on the
current time. Use that for notifications instead of a TextView that doesn't ever update. BUG 1563917
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/layout/status_bar_latest_event_content.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res/res/layout/status_bar_latest_event_content.xml b/core/res/res/layout/status_bar_latest_event_content.xml
index 2f7036f..c3aa041 100644
--- a/core/res/res/layout/status_bar_latest_event_content.xml
+++ b/core/res/res/layout/status_bar_latest_event_content.xml
@@ -45,7 +45,7 @@
android:textSize="14sp"
android:paddingLeft="4dp"
/>
- <TextView android:id="@+id/time"
+ <android.widget.DateTimeView android:id="@+id/time"
android:layout_marginLeft="4dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"