mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-06 10:02:54 +00:00
Display posts visibility level.
This commit is contained in:
@ -44,6 +44,20 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Separator -->
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<!-- Post visibility level -->
|
||||
<TextView
|
||||
android:id="@+id/post_visibility"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="Public"
|
||||
style="@style/PostVisibility"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -97,4 +97,7 @@
|
||||
<string name="dialog_loading_msg">Loading…</string>
|
||||
<string name="navigation_bottom_user_item">User</string>
|
||||
<string name="err_get_user_posts">Couldn\'t get user posts !</string>
|
||||
<string name="post_visibility_public">public</string>
|
||||
<string name="post_visibility_friends">friends</string>
|
||||
<string name="post_visibility_private">private</string>
|
||||
</resources>
|
||||
|
@ -51,6 +51,11 @@
|
||||
<item name="android:paddingLeft">10dp</item>
|
||||
</style>
|
||||
|
||||
<!-- Post visibility -->
|
||||
<style name="PostVisibility">
|
||||
<item name="android:paddingEnd">2dp</item>
|
||||
</style>
|
||||
|
||||
<!-- Post content -->
|
||||
<style name="PostContent">
|
||||
<item name="android:textAlignment">center</item>
|
||||
|
Reference in New Issue
Block a user