diff --git a/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/page/StoryViewerPageFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/page/StoryViewerPageFragment.kt index 0ae5e73538..3bfc48d86d 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/page/StoryViewerPageFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/page/StoryViewerPageFragment.kt @@ -6,6 +6,7 @@ import android.animation.ObjectAnimator import android.annotation.SuppressLint import android.content.res.ColorStateList import android.graphics.Rect +import android.graphics.Typeface import android.media.AudioManager import android.os.Bundle import android.text.SpannableString @@ -13,6 +14,7 @@ import android.text.Spanned import android.text.method.LinkMovementMethod import android.text.method.ScrollingMovementMethod import android.text.style.ClickableSpan +import android.text.style.StyleSpan import android.view.GestureDetector import android.view.MotionEvent import android.view.ScaleGestureDetector @@ -923,7 +925,9 @@ class StoryViewerPageFragment : caption.visible = displayBody.isNotEmpty() caption.requestLayout() caption.movementMethod = LinkMovementMethod.getInstance() - caption.setOverflowText(getString(R.string.StoryViewerPageFragment__see_more)) + val overflow = SpannableString(getString(R.string.StoryViewerPageFragment__read_more)) + overflow.setSpan(StyleSpan(Typeface.BOLD), 0, overflow.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE) + caption.setOverflowText(overflow) caption.maxLines = 5 caption.text = displayBody caption.setMaxLength(280) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3eabb2f839..671a9e55c9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -413,6 +413,7 @@ to %s   Read More +   Download More   Pending This message was deleted. @@ -1298,6 +1299,7 @@ Done This person can\'t be added to legacy groups. + Add \"%1$s\" to \"%2$s\"? Add %3$d members to \"%2$s\"? @@ -1456,7 +1458,9 @@ Change sound and vibration Call settings Ringtone + Default + Unknown @@ -1637,6 +1641,7 @@ Verify PIN Get started New group + Invite friends Chat colors Add a profile photo @@ -2459,6 +2464,7 @@ Failed to submit + Complete verification @@ -2985,6 +2991,7 @@ Play video + Has a caption @@ -3495,10 +3502,10 @@ Feature Request Question Feedback - Other Payments (MobileCoin) Donations & Badges Signal Android Backup + Other Signal Android Debug Log Submission @@ -3578,7 +3585,9 @@ Lock screen and notifications with a passphrase Screen security Auto-lock Signal after a specified time interval of inactivity + Inactivity timeout passphrase + Inactivity timeout interval Notifications LED color @@ -3589,6 +3598,7 @@ Sound Silent + Default Repeat alerts Never @@ -3605,6 +3615,7 @@ Cyan Magenta White + None Fast Normal @@ -4195,6 +4206,7 @@ + Media preview @@ -4368,6 +4380,7 @@ Disable and delete all local backups? Delete backups To enable backups, choose a folder. Backups will be saved to this location. + Choose folder Copied to clipboard No file picker available. @@ -4812,6 +4825,7 @@ Share Send + , %1$s Could not get share data from intent. @@ -5480,6 +5494,7 @@ Not muted Mentions Always notify + Do not notify Custom notifications @@ -5570,7 +5585,7 @@ Navigate up Forward to - + Share with Add a message Faster forwards @@ -6434,7 +6449,7 @@ Copied to clipboard - See More + Read more Sending reply…