diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-01-29 04:43:57 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-01-29 04:43:57 +0000 |
commit | 5e401a6a96f4b83a79685907a6bee4997ff7e183 (patch) | |
tree | 57d17c810914cd7afcdce33a10e70d8ce6314284 /app/src/main/res/values | |
parent | cb9154369070fe3773c16da0d4e7b3c33b716a1f (diff) | |
download | infinity-for-reddit-5e401a6a96f4b83a79685907a6bee4997ff7e183.tar infinity-for-reddit-5e401a6a96f4b83a79685907a6bee4997ff7e183.tar.gz infinity-for-reddit-5e401a6a96f4b83a79685907a6bee4997ff7e183.tar.bz2 infinity-for-reddit-5e401a6a96f4b83a79685907a6bee4997ff7e183.tar.lz infinity-for-reddit-5e401a6a96f4b83a79685907a6bee4997ff7e183.tar.xz infinity-for-reddit-5e401a6a96f4b83a79685907a6bee4997ff7e183.tar.zst infinity-for-reddit-5e401a6a96f4b83a79685907a6bee4997ff7e183.zip |
Copy post title and content in ViewPostDetailActivity.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0e2a5b66..2b7e673b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -405,4 +405,10 @@ <string name="copy_success">Copied</string> <string name="copy_failed">Cannot copy the link</string> + <string name="copy_text">Copy</string> + <string name="copy_all">Copy All</string> + <string name="copy_markdown">Copy Markdown</string> + <string name="copy_raw_text">Copy Raw Text</string> + <string name="copy_all_markdown">Copy All Markdown</string> + <string name="copy_all_raw_text">Copy All Raw Text</string> </resources> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 3248cfd4..b91ecdb1 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -58,6 +58,12 @@ <item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item> </style> + <style name="CopyTextMaterialAlertDialogTheme"> + <item name="android:textSize">?attr/font_default</item> + <item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialogTitleTextStyle</item> + <item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item> + </style> + <style name="MaterialAlertDialogPositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog"> <item name="android:textColor">@color/colorAccent</item> </style> |