diff options
author | mariagpuyol <mariagpuyol@google.com> | 2016-09-06 17:44:27 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-09-06 17:44:27 +0000 |
commit | 3c8d77400ae03476c158cf35169eb29d40d334c7 (patch) | |
tree | 8c57f035403ff28d09766c8c0ee752a62873bdd0 /res | |
parent | 89083e7f20603135d8745e876c9c887810eb9527 (diff) | |
parent | 9d4ff9c4b1a14e9a37ba87e98289009d6538c05c (diff) | |
download | EmergencyInfo-3c8d77400ae03476c158cf35169eb29d40d334c7.tar.gz |
Add extra string to empty state
am: 9d4ff9c4b1
Change-Id: I41c55c8503e5075433419e9f76c9365f2f1a1e41
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/view_activity_layout.xml | 38 | ||||
-rw-r--r-- | res/values/strings.xml | 4 |
2 files changed, 32 insertions, 10 deletions
diff --git a/res/layout/view_activity_layout.xml b/res/layout/view_activity_layout.xml index d68ecf46..db326094 100644 --- a/res/layout/view_activity_layout.xml +++ b/res/layout/view_activity_layout.xml @@ -50,19 +50,39 @@ android:layout_height="match_parent" android:elevation="@dimen/tab_elevation"> - <TextView - android:id="@+id/no_info_text_view" + <LinearLayout + android:id="@+id/no_info" android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginStart="16dp" + android:layout_height="wrap_content" + android:layout_gravity="center" android:layout_marginEnd="16dp" - android:gravity="center" - android:text="@string/no_info_provided" - android:textColor="#9E9E9E" - android:textSize="16sp" /> + android:layout_marginStart="16dp" + android:orientation="vertical"> + + <TextView + android:id="@+id/no_info_text_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" + android:text="@string/no_info_provided" + android:textColor="#61000000" + android:textSize="16sp" /> + + <TextView + android:id="@+id/tap" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_below="@id/no_info_text_view" + android:layout_marginTop="20dp" + android:gravity="center" + android:lineSpacingMultiplier="1.21905" + android:text="@string/tap_pencil" + android:textColor="#61000000" + android:textSize="14sp" /> + </LinearLayout> <include android:id="@+id/tabs" layout="@layout/tabs" /> </ViewFlipper> -</LinearLayout>
\ No newline at end of file +</LinearLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml index ef034839..297a5ada 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -198,7 +198,9 @@ <!-- Label for button in confirmation dialog when the user clicks on emergency information [CHAR LIMIT=15] --> <string name="emergency_info_continue">Continue</string> <!-- Message shown when no emergency information has been provided by the user [CHAR LIMIT=NONE] --> - <string name="no_info_provided">No emergency information provided</string> + <string name="no_info_provided">No information about the phone\'s owner</string> + <!-- Extra message to indicate to the user that they can add emergency information [CHAR LIMIT=NONE] --> + <string name="tap_pencil">If this is your phone, tap the pencil icon to add information that will be displayed here in case of emergency</string> <!-- Label for action item on the menu of the editing screen [CHAR LIMIT=15] --> <string name="clear_all">Clear all</string> <!-- Label for button of dialog shown to clear all information and contacts [CHAR LIMIT=15] --> |