diff --git a/app/src/main/res/drawable/shape_squircle_file_bubble_gray_background.xml b/app/src/main/res/drawable/shape_squircle_file_bubble_gray_background.xml new file mode 100644 index 000000000..ea2766b99 --- /dev/null +++ b/app/src/main/res/drawable/shape_squircle_file_bubble_gray_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/chat_bubble_file_grid_cell.xml b/app/src/main/res/layout/chat_bubble_file_grid_cell.xml index 99423ebf7..24b67390a 100644 --- a/app/src/main/res/layout/chat_bubble_file_grid_cell.xml +++ b/app/src/main/res/layout/chat_bubble_file_grid_cell.xml @@ -8,6 +8,9 @@ + @@ -22,7 +25,7 @@ android:id="@+id/background" android:layout_width="@dimen/chat_bubble_grid_file_size" android:layout_height="@dimen/chat_bubble_grid_file_size" - android:background="@drawable/shape_squircle_file_bubble_background" + android:background="@{useGrayBackground ? @drawable/shape_squircle_file_bubble_gray_background : @drawable/shape_squircle_file_bubble_background, default=@drawable/shape_squircle_file_bubble_background}" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent"/> diff --git a/app/src/main/res/layout/chat_conversation_attachments_area_cell.xml b/app/src/main/res/layout/chat_conversation_attachments_area_cell.xml index 97124ef66..c71354058 100644 --- a/app/src/main/res/layout/chat_conversation_attachments_area_cell.xml +++ b/app/src/main/res/layout/chat_conversation_attachments_area_cell.xml @@ -12,7 +12,8 @@ + android:layout_height="wrap_content" + android:layout_margin="2dp">