diff options
author | Hermes Junior <ohermesjunior@gmail.com> | 2020-06-11 22:02:35 +0000 |
---|---|---|
committer | OHermesJunior <ohermesjunior@gmail.com> | 2020-06-16 17:29:05 +0000 |
commit | 4a1bed82d732b54608342805bc7c5ecaf36cc3b2 (patch) | |
tree | e94d861b77c8d518988a10259b1208483e8bda44 /app/src/main/res | |
parent | 66f4db6b4093beb02f00ed05a31de8880685d3f2 (diff) | |
download | infinity-for-reddit-4a1bed82d732b54608342805bc7c5ecaf36cc3b2.tar infinity-for-reddit-4a1bed82d732b54608342805bc7c5ecaf36cc3b2.tar.gz infinity-for-reddit-4a1bed82d732b54608342805bc7c5ecaf36cc3b2.tar.bz2 infinity-for-reddit-4a1bed82d732b54608342805bc7c5ecaf36cc3b2.tar.lz infinity-for-reddit-4a1bed82d732b54608342805bc7c5ecaf36cc3b2.tar.xz infinity-for-reddit-4a1bed82d732b54608342805bc7c5ecaf36cc3b2.tar.zst infinity-for-reddit-4a1bed82d732b54608342805bc7c5ecaf36cc3b2.zip |
Implement option to see removed comment.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml | 21 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 4 |
2 files changed, 24 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml b/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml index db9fadd9..c1126a2d 100644 --- a/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml @@ -104,6 +104,25 @@ android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> + <TextView + android:id="@+id/see_removed_view_comment_more_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/selectableItemBackground" + android:clickable="true" + android:drawableStart="@drawable/ic_preview_24dp" + android:drawablePadding="48dp" + android:focusable="true" + android:gravity="center_vertical" + android:paddingStart="32dp" + android:paddingTop="16dp" + android:paddingEnd="32dp" + android:paddingBottom="16dp" + android:text="@string/see_removed_comment" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:visibility="gone" /> + </LinearLayout> -</androidx.core.widget.NestedScrollView>
\ No newline at end of file +</androidx.core.widget.NestedScrollView> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 032a47eb..fa9f039b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -276,6 +276,10 @@ <string name="are_you_sure">Are you sure?</string> <string name="edit">Edit</string> <string name="delete">Delete</string> + <string name="see_removed_comment">See Removed Comment</string> + <string name="see_removed_post">See Removed Post</string> + <string name="fetching_removed_comment">Fetching removed comment</string> + <string name="show_removed_comment_failed">Could not find the removed comment</string> <string name="cancel">Cancel</string> <string name="ok">OK</string> <string name="edit_success">Edit successful</string> |