mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-27 19:38:22 +01:00
Tweak UI in private messages.
This commit is contained in:
parent
b75883c758
commit
33ac7e92df
5
app/src/main/res/drawable/ic_round_copy_16.xml
Normal file
5
app/src/main/res/drawable/ic_round_copy_16.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<vector android:height="16dp" android:tint="#000000"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="16dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M15,1L4,1c-1.1,0 -2,0.9 -2,2v13c0,0.55 0.45,1 1,1s1,-0.45 1,-1L4,4c0,-0.55 0.45,-1 1,-1h10c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1zM19,5L8,5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h11c1.1,0 2,-0.9 2,-2L21,7c0,-1.1 -0.9,-2 -2,-2zM18,21L9,21c-0.55,0 -1,-0.45 -1,-1L8,8c0,-0.55 0.45,-1 1,-1h9c0.55,0 1,0.45 1,1v12c0,0.55 -0.45,1 -1,1z"/>
|
||||
</vector>
|
@ -2,6 +2,6 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners
|
||||
android:radius="22dp">
|
||||
android:radius="18dp">
|
||||
</corners>
|
||||
</shape>
|
@ -21,8 +21,8 @@
|
||||
android:id="@+id/message_text_view_item_private_message_received"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
@ -53,8 +53,8 @@
|
||||
android:id="@+id/copy_image_view_item_private_message_received"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/ic_copy_24dp"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/ic_round_copy_16"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?attr/actionBarItemBackground"
|
||||
|
@ -13,8 +13,8 @@
|
||||
android:id="@+id/message_text_view_item_private_message_sent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textSize="?attr/content_font_16"
|
||||
@ -44,8 +44,8 @@
|
||||
android:id="@+id/copy_image_view_item_private_message_sent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/ic_copy_24dp"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/ic_round_copy_16"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?attr/actionBarItemBackground"
|
||||
|
Loading…
Reference in New Issue
Block a user