mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-10-17 02:34:43 +00:00
Display post actions context menu.
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
<dimen name="fragment_conversation_buttons_height">50dp</dimen>
|
||||
<dimen name="fragment_conversation_buttons_width">50dp</dimen>
|
||||
|
||||
<!-- Dimensions for the posts options button -->
|
||||
<dimen name="post_options_btn_width">20dp</dimen>
|
||||
<dimen name="post_options_btn_height">20dp</dimen>
|
||||
|
||||
<!-- Dimensions for the comments options button -->
|
||||
<dimen name="comment_options_btn_width">20dp</dimen>
|
||||
<dimen name="comment_options_btn_height">20dp</dimen>
|
||||
|
@@ -112,4 +112,6 @@
|
||||
<string name="popup_deletecomment_confirm">Yes</string>
|
||||
<string name="err_delete_comment">An error occurred while trying to delete the comment !</string>
|
||||
<string name="comment_action_btn_description">Actions on comment</string>
|
||||
<string name="post_action_btn_description">Actions on post</string>
|
||||
<string name="action_delete_post">Delete</string>
|
||||
</resources>
|
||||
|
@@ -28,14 +28,20 @@
|
||||
</style>
|
||||
|
||||
<!-- Posts style -->
|
||||
<!-- Post contener -->
|
||||
<style name="PostContener">
|
||||
<!-- Post container -->
|
||||
<style name="PostContainer">
|
||||
<item name="android:paddingTop">5dp</item>
|
||||
<item name="android:paddingBottom">5dp</item>
|
||||
<item name="android:paddingStart">5dp</item>
|
||||
<item name="android:paddingEnd">5dp</item>
|
||||
</style>
|
||||
|
||||
<!-- Comment actions button -->
|
||||
<style name="PostActionsButton">
|
||||
<item name="android:padding">2dp</item>
|
||||
<item name="android:layout_gravity">center</item>
|
||||
</style>
|
||||
|
||||
<!-- Post header -->
|
||||
<style name="PostHeader">
|
||||
<item name="android:padding">2dp</item>
|
||||
@@ -56,6 +62,7 @@
|
||||
<!-- Post visibility -->
|
||||
<style name="PostVisibility">
|
||||
<item name="android:paddingEnd">2dp</item>
|
||||
<item name="android:layout_gravity">center_vertical</item>
|
||||
</style>
|
||||
|
||||
<!-- Post content -->
|
||||
@@ -67,8 +74,8 @@
|
||||
|
||||
|
||||
<!-- Comments style -->
|
||||
<!-- Comments contener -->
|
||||
<style name="CommentContener">
|
||||
<!-- Comments container -->
|
||||
<style name="CommentContainer">
|
||||
<item name="android:paddingTop">0dp</item>
|
||||
<item name="android:paddingStart">5dp</item>
|
||||
<item name="android:paddingEnd">5dp</item>
|
||||
|
Reference in New Issue
Block a user