diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-03-19 18:04:48 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-03-19 18:04:48 +0000 |
commit | 951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33 (patch) | |
tree | 4e47b3beb044eda4924d045ea9c221a724d0b5f0 /app/src/main/res | |
parent | b07dc816fd3b21911c12dec66206b0cde240c29e (diff) | |
download | infinity-for-reddit-951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33.tar infinity-for-reddit-951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33.tar.gz infinity-for-reddit-951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33.tar.bz2 infinity-for-reddit-951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33.tar.lz infinity-for-reddit-951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33.tar.xz infinity-for-reddit-951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33.tar.zst infinity-for-reddit-951c893d77e7a8e0ef3e6852e2d1fc2d6489ab33.zip |
Showing content preview in PostPollActivity is available.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/post_poll_activity.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 15 |
2 files changed, 17 insertions, 6 deletions
diff --git a/app/src/main/res/menu/post_poll_activity.xml b/app/src/main/res/menu/post_poll_activity.xml index e497c4e5..a0c5e65f 100644 --- a/app/src/main/res/menu/post_poll_activity.xml +++ b/app/src/main/res/menu/post_poll_activity.xml @@ -2,8 +2,14 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item - android:id="@+id/action_send_post_poll_activity" + android:id="@+id/action_preview_post_poll_activity" android:orderInCategory="1" + android:title="@string/action_preview" + android:icon="@drawable/ic_preview_24dp" + app:showAsAction="ifRoom" /> + <item + android:id="@+id/action_send_post_poll_activity" + android:orderInCategory="2" android:title="@string/action_send" android:icon="@drawable/ic_send_toolbar_24dp" app:showAsAction="ifRoom" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5dce1f90..3a27f838 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1215,13 +1215,18 @@ <string name="reply">Reply</string> <string name="uploaded_images">Uploaded Images</string> - <string name="uploaded_images_explanation">This is an experimental feature, and here are some things you need to know: - \n1. Uploaded images will not be shown in the text editor, and instead, a piece of text will be inserted as a block, + <string name="uploaded_images_explanation">This is an experimental feature, and here are some things you need to know:\n + 1. Uploaded images will not be shown in the text editor, and instead, a piece of text will be inserted as a block, with a format similar to ![](XXXXX). XXXXX is the image id, and it should not be modified. To add a caption for your image, simply type between the brackets. Example: ![This is a caption](XXXXX). Note that the caption will be treated - as plain text.\n2. To write a superscript, please use ^(), and put the texts inside the parentheses, instead of only - using a single ^.\n3. This feature converts your markdown to rich text format and some formatting may be lost in the - process.\n4. You cannot edit a submitted post with embedded images in it.</string> + as plain text.\n + 2. To write a superscript, please use ^(), and put the texts inside the parentheses, instead of only + using a single ^. For simplicity, click the superscript option in the formatting tools to insert a superscript.\n + 3. This feature converts your markdown to rich text format and some formatting may be lost in the process.\n + 4. Uploaded images may not be shown on the preview screen. + 5. You cannot edit a submitted post with embedded images in it.\n + 6. Please do not change your account using the account chooser on the editing screen. You should switch + your account in the navigation drawer on the main screen.</string> <string name="select_image">Select an Image</string> <string name="capture">Capture</string> <string name="uploading_image">Uploading</string> |