summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/status_bar_ongoing_event_progress_bar.xml13
-rw-r--r--res/values/strings.xml9
2 files changed, 21 insertions, 1 deletions
diff --git a/res/layout/status_bar_ongoing_event_progress_bar.xml b/res/layout/status_bar_ongoing_event_progress_bar.xml
index c6a71d46..e3a60b2e 100644
--- a/res/layout/status_bar_ongoing_event_progress_bar.xml
+++ b/res/layout/status_bar_ongoing_event_progress_bar.xml
@@ -88,14 +88,25 @@
android:paddingLeft="5dp"
/>
</LinearLayout>
+ <!-- Only one of progress_bar and paused_text will be visible. -->
<ProgressBar android:id="@+id/progress_bar"
style="?android:attr/progressBarStyleHorizontal"
- android:layout_width="match_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:paddingBottom="8dp"
android:paddingRight="25dp"
/>
+ <TextView android:id="@+id/paused_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:paddingBottom="8dp"
+ android:singleLine="true"
+ android:textSize="14sp"
+ android:paddingLeft="5dp"
+ android:textColor="#ff000000"
+ />
</RelativeLayout>
</LinearLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 62ba38f7..b0d95ce5 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -134,5 +134,14 @@
application, a content marketplace. -->
<string name="notification_download_failed">Download unsuccessful</string>
+ <!-- When a download is paused because it's too large to download over a
+ mobile connection, and wifi is unavailable, this string is displayed in
+ the system notification for the running download, beneath the download
+ title and description. Note that such a download could have been
+ initiated by a variety of applications, including (but not limited to)
+ the browser, an email application, a content marketplace.
+ [CHAR LIMIT=24] -->
+ <string name="notification_need_wifi_for_size">Need wifi due to size</string>
+
</resources>