Update history flow
So the screens are more clear when you don't have history items yet Test: manual Fixes: 150211282 Change-Id: Icf1dded3e92ed2121e18bf9a35d570f9efcfda62
This commit is contained in:
@@ -72,6 +72,35 @@
|
||||
android:focusable="true"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:text="@string/notification_history_off_summary" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/history_toggled_on_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/history_image"
|
||||
android:layout_marginTop="48dp"
|
||||
android:layout_marginStart="48dp"
|
||||
android:layout_marginEnd="48dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:text="@string/history_toggled_on_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/history_toggled_on_summary"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/history_off_title"
|
||||
android:layout_marginStart="48dp"
|
||||
android:layout_marginEnd="48dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:textAlignment="center"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:text="@string/history_toggled_on_summary" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -8110,6 +8110,12 @@
|
||||
<!-- Notification history screen; summary when history is off [CHAR LIMIT=NONE] -->
|
||||
<string name="notification_history_off_summary">Turn on notification history to see recent notifications and snoozed notifications</string>
|
||||
|
||||
<!-- Notification history screen; title when history is newly turned on [CHAR LIMIT=200] -->
|
||||
<string name="history_toggled_on_title">No recent notifications</string>
|
||||
|
||||
<!-- Notification history screen; summary when history is newly turned on [CHAR LIMIT=NONE] -->
|
||||
<string name="history_toggled_on_summary">Your recent and snoozed notifications will appear here</string>
|
||||
|
||||
<!-- Notification history screen; content description describing what happens when you tap on a notification history entry [CHAR LIMIT=NONE] -->
|
||||
<string name="notification_history_view_settings">view notification settings</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user