mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
1cb7d93417
the spacing was just a bit too much, eg. bubble spacing is 6dp atop and abottom. this was always not-so-good, however, as info-messages are more in use by webxdc now, it gets more visible. the new spacing roughly matches the layout on ios.
50 lines
2.0 KiB
XML
50 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.thoughtcrime.securesms.ConversationUpdateItem
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/conversation_item_background"
|
|
android:focusable="true"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="7dp"
|
|
android:paddingLeft="28dp"
|
|
android:paddingRight="28dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/conversation_item_update_background"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<!--Links should be clickable, see https://github.com/deltachat/deltachat-android/issues/1546-->
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
android:id="@+id/conversation_update_body"
|
|
style="@style/Delta.Text.UpdateHeader"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:autoLink="web"
|
|
android:gravity="center"
|
|
android:textColor="?attr/conversation_item_update_text_color"
|
|
android:textColorLink="?attr/conversation_item_update_text_color"
|
|
android:paddingTop="3dp"
|
|
android:paddingBottom="3dp"
|
|
tools:text="Gwen Stacy added to group" />
|
|
|
|
<ImageView android:id="@+id/delivery_indicator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:layout_marginBottom="6dp"
|
|
android:tint="?attr/conversation_item_update_text_color"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
|
|
</org.thoughtcrime.securesms.ConversationUpdateItem>
|