This commit is contained in:
nielsandriesse 2021-06-07 16:43:54 +10:00
parent 5761ce959b
commit 9568a907fe
10 changed files with 10 additions and 25 deletions

View File

@ -2,6 +2,7 @@ package org.thoughtcrime.securesms.conversation.v2.messages
import android.content.Context import android.content.Context
import android.util.AttributeSet import android.util.AttributeSet
import android.util.Log
import android.view.Gravity import android.view.Gravity
import android.view.LayoutInflater import android.view.LayoutInflater
import android.view.View import android.view.View

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners android:radius="@dimen/message_corner_radius"/> <corners android:radius="@dimen/message_corner_radius"/>
<solid android:color="@color/white" /> <solid android:color="@color/white" />

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners <corners
android:topLeftRadius="@dimen/message_corner_collapse_radius" android:topLeftRadius="@dimen/message_corner_collapse_radius"

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners <corners
android:topLeftRadius="@dimen/message_corner_collapse_radius" android:topLeftRadius="@dimen/message_corner_collapse_radius"

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners <corners
android:topLeftRadius="@dimen/message_corner_radius" android:topLeftRadius="@dimen/message_corner_radius"

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners android:radius="@dimen/message_corner_radius"/> <corners android:radius="@dimen/message_corner_radius"/>
<solid android:color="@color/white" /> <solid android:color="@color/white" />

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners <corners
android:topLeftRadius="@dimen/message_corner_radius" android:topLeftRadius="@dimen/message_corner_radius"

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners <corners
android:topLeftRadius="@dimen/message_corner_radius" android:topLeftRadius="@dimen/message_corner_radius"

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list <layer-list
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<item <item>
android:top="2px"
android:bottom="2px">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners <corners
android:topLeftRadius="@dimen/message_corner_radius" android:topLeftRadius="@dimen/message_corner_radius"

View File

@ -103,7 +103,7 @@
<dimen name="conversation_individual_left_gutter">@dimen/large_spacing</dimen> <dimen name="conversation_individual_left_gutter">@dimen/large_spacing</dimen>
<dimen name="conversation_group_left_gutter">60dp</dimen> <dimen name="conversation_group_left_gutter">60dp</dimen>
<dimen name="conversation_vertical_message_spacing_default">8dp</dimen> <dimen name="conversation_vertical_message_spacing_default">8dp</dimen>
<dimen name="conversation_vertical_message_spacing_collapse">1px</dimen> <dimen name="conversation_vertical_message_spacing_collapse">1dp</dimen>
<dimen name="conversation_item_avatar_size">36dp</dimen> <dimen name="conversation_item_avatar_size">36dp</dimen>