From 4d4e6165f0e1bcd72c54fa015a9e1112103e9062 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 24 Aug 2019 16:27:34 +0800 Subject: Add an acknowledgement page in settings. --- .../main/res/layout/fragment_acknowledgement.xml | 6 ++++++ app/src/main/res/layout/item_acknowledgement.xml | 23 ++++++++++++++++++++++ app/src/main/res/values/strings.xml | 2 ++ app/src/main/res/xml/main_preferences.xml | 5 +++++ 4 files changed, 36 insertions(+) create mode 100644 app/src/main/res/layout/fragment_acknowledgement.xml create mode 100644 app/src/main/res/layout/item_acknowledgement.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/fragment_acknowledgement.xml b/app/src/main/res/layout/fragment_acknowledgement.xml new file mode 100644 index 00000000..5f164c83 --- /dev/null +++ b/app/src/main/res/layout/fragment_acknowledgement.xml @@ -0,0 +1,6 @@ + diff --git a/app/src/main/res/layout/item_acknowledgement.xml b/app/src/main/res/layout/item_acknowledgement.xml new file mode 100644 index 00000000..543c6829 --- /dev/null +++ b/app/src/main/res/layout/item_acknowledgement.xml @@ -0,0 +1,23 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 37a3518f..8a88d944 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -146,6 +146,7 @@ Select a picture Select again Error getting the image + Error getting the video No camera app available Error creating temp file @@ -258,6 +259,7 @@ Dark Theme Device default Enable NSFW + Acknowledgement Cannot get the link diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 1578ff63..7ccfa301 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -21,4 +21,9 @@ app:key="nsfw" app:title="@string/settings_enable_nsfw_title"/> + + \ No newline at end of file -- cgit v1.2.3