diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_post.xml | 18 | ||||
-rw-r--r-- | app/src/main/res/menu/account_posts_activity.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/menu/filtered_posts_activity.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/menu/search_result_activity.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/menu/view_user_detail_activity.xml | 6 |
5 files changed, 41 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index e54cbc5b..22b94789 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -38,11 +38,27 @@ android:layout_marginEnd="8dp" android:textColor="#E91E63" android:textSize="?attr/font_default" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintBottom_toTopOf="@id/user_text_view_item_post" app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_item_post" app:layout_constraintEnd_toStartOf="@id/stickied_post_image_view_item_post" app:layout_constraintTop_toTopOf="parent"/> + <TextView + android:id="@+id/user_text_view_item_post" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:layout_marginEnd="8dp" + android:textColor="@color/colorPrimaryDarkDayNightTheme" + android:textSize="?attr/font_default" + android:maxLines="2" + android:ellipsize="end" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post" + app:layout_constraintEnd_toStartOf="@id/stickied_post_image_view_item_post" + app:layout_constraintTop_toBottomOf="@+id/name_text_view_item_post" + app:layout_constraintHorizontal_bias="0" /> + <ImageView android:id="@+id/stickied_post_image_view_item_post" android:layout_width="24dp" diff --git a/app/src/main/res/menu/account_posts_activity.xml b/app/src/main/res/menu/account_posts_activity.xml index 18781e33..72392f43 100644 --- a/app/src/main/res/menu/account_posts_activity.xml +++ b/app/src/main/res/menu/account_posts_activity.xml @@ -13,4 +13,10 @@ android:orderInCategory="2" android:title="@string/action_start_lazy_mode" app:showAsAction="never" /> + + <item + android:id="@+id/action_change_post_layout_account_posts_activity" + android:orderInCategory="3" + android:title="@string/action_change_post_layout" + app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/filtered_posts_activity.xml b/app/src/main/res/menu/filtered_posts_activity.xml index d918f896..3cebab6c 100644 --- a/app/src/main/res/menu/filtered_posts_activity.xml +++ b/app/src/main/res/menu/filtered_posts_activity.xml @@ -20,4 +20,10 @@ android:orderInCategory="3" android:title="@string/action_start_lazy_mode" app:showAsAction="never" /> + + <item + android:id="@+id/action_change_post_layout_filtered_post_activity" + android:orderInCategory="4" + android:title="@string/action_change_post_layout" + app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/search_result_activity.xml b/app/src/main/res/menu/search_result_activity.xml index 0fc7a1fe..b6c9dd3f 100644 --- a/app/src/main/res/menu/search_result_activity.xml +++ b/app/src/main/res/menu/search_result_activity.xml @@ -20,4 +20,10 @@ android:orderInCategory="3" android:title="@string/action_refresh" app:showAsAction="never" /> + + <item + android:id="@+id/action_change_post_layout_search_result_activity" + android:orderInCategory="4" + android:title="@string/action_change_post_layout" + app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/view_user_detail_activity.xml b/app/src/main/res/menu/view_user_detail_activity.xml index 51db8d2f..51d2f61e 100644 --- a/app/src/main/res/menu/view_user_detail_activity.xml +++ b/app/src/main/res/menu/view_user_detail_activity.xml @@ -26,4 +26,10 @@ android:orderInCategory="4" android:title="@string/action_start_lazy_mode" app:showAsAction="never" /> + + <item + android:id="@+id/action_change_post_layout_view_user_detail_activity" + android:orderInCategory="5" + android:title="@string/action_change_post_layout" + app:showAsAction="never" /> </menu> |