aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-09 09:38:52 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-09 09:38:52 +0200
commit96a41b5b5126f452e60cc3a8d1efd270a624a590 (patch)
treec647078a33df8a0ff656a86b935a91be45ef140d /res
parentf6615843f923c75bfd6938fee39d412463641fa7 (diff)
ability to bring default picture back with long press in publish avatar
Diffstat (limited to '')
-rw-r--r--res/layout/activity_publish_profile_picture.xml11
-rw-r--r--res/values/strings.xml1
2 files changed, 11 insertions, 1 deletions
diff --git a/res/layout/activity_publish_profile_picture.xml b/res/layout/activity_publish_profile_picture.xml
index 6dd1f7d3..b3c6c427 100644
--- a/res/layout/activity_publish_profile_picture.xml
+++ b/res/layout/activity_publish_profile_picture.xml
@@ -28,6 +28,15 @@
android:layout_centerHorizontal="true"
android:text="@string/touch_to_choose_picture"
android:textColor="@color/secondarytext" />
+
+ <TextView
+ android:id="@+id/secondary_hint"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/hint"
+ android:layout_centerHorizontal="true"
+ android:text="@string/or_long_press_for_default"
+ android:textColor="@color/secondarytext" />
<LinearLayout
android:id="@+id/button_bar"
@@ -68,7 +77,7 @@
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_above="@+id/button_bar"
- android:layout_below="@+id/hint"
+ android:layout_below="@+id/secondary_hint"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:gravity="center_vertical"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2e0c2018..6ea73318 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -275,4 +275,5 @@
<string name="error_publish_avatar_server_reject">The server rejected your publication</string>
<string name="error_publish_avatar_converting">Something went wrong while converting your picture</string>
<string name="error_saving_avatar">Could not save avatar to disk</string>
+ <string name="or_long_press_for_default">(Or long press to bring back default)</string>
</resources>