mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-07 18:42:53 +00:00
Display groups posts on latest posts thread
This commit is contained in:
9
app/src/main/res/drawable/ic_play_arrow.xml
Normal file
9
app/src/main/res/drawable/ic_play_arrow.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="@color/default_drawable_color"
|
||||
android:pathData="M8,5v14l11,-7z"/>
|
||||
</vector>
|
@ -28,6 +28,27 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="User name" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/target_arrow"
|
||||
style="@style/PostTargetArrow"
|
||||
android:layout_width="15dp"
|
||||
android:layout_height="13dp"
|
||||
android:scaleType="centerInside"
|
||||
app:layout_constraintBottom_toTopOf="@+id/post_creation_time"
|
||||
app:layout_constraintStart_toEndOf="@+id/user_account_name"
|
||||
app:layout_constraintTop_toTopOf="@+id/user_account_name"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/target_page_name"
|
||||
style="@style/PostOwnerName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/target_arrow"
|
||||
app:layout_constraintStart_toEndOf="@+id/target_arrow"
|
||||
app:layout_constraintTop_toTopOf="@+id/target_arrow"
|
||||
tools:text="Target Page" />
|
||||
|
||||
<!-- Post creation time -->
|
||||
<TextView
|
||||
android:id="@+id/post_creation_time"
|
||||
|
@ -266,4 +266,8 @@
|
||||
<string name="err_update_conversation_message_content">Une erreur a survenue lors de la mise à jour du contenu du message ! Veuillez réessayer…</string>
|
||||
<string name="success_update_conversation_message_content">Le contenu du message a bien été mis à jour !</string>
|
||||
<string name="err_get_older_posts">Une erreur a survenue lors de la récupération de posts plus anciens !</string>
|
||||
<string name="err_get_posts_list">Impossible de récupérer la liste de posts !</string>
|
||||
<string name="notice_no_post_yet">Il n\'y a aucun post à afficher ici pour le moment.</string>
|
||||
<string name="post_visibility_icon">Visiblité du post</string>
|
||||
<string name="err_get_related_groups_info">Une erreur a survenue lors de la récupération d\'information sur les groupes liés !</string>
|
||||
</resources>
|
@ -268,4 +268,5 @@
|
||||
<string name="err_get_posts_list">Could not get the list of posts!</string>
|
||||
<string name="notice_no_post_yet">There is no post to display here yet.</string>
|
||||
<string name="post_visibility_icon">Post visibility</string>
|
||||
<string name="err_get_related_groups_info">Could not get information about related groups!</string>
|
||||
</resources>
|
||||
|
@ -93,6 +93,12 @@
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
<!-- Post target arrow -->
|
||||
<style name="PostTargetArrow">
|
||||
<item name="android:src">@drawable/ic_play_arrow</item>
|
||||
<item name="android:tint">@color/user_name_link</item>
|
||||
</style>
|
||||
|
||||
<!-- Post date -->
|
||||
<style name="PostDate">
|
||||
|
||||
|
Reference in New Issue
Block a user