Display posts visibility level.

This commit is contained in:
Pierre
2018-02-03 14:26:43 +01:00
parent 9b4ed6da7e
commit 9662015b3a
7 changed files with 100 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>