mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 04:04:43 +01:00
Improve the look of message bubbles.
This commit is contained in:
@@ -32,16 +32,22 @@
|
||||
app:matProg_spinSpeed="0.333"
|
||||
tools:visibility="gone"/>
|
||||
|
||||
<FrameLayout android:id="@+id/document_background"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/ic_circle_fill_white_48dp"
|
||||
android:visibility="visible"
|
||||
android:clickable="false"
|
||||
android:focusable="false"
|
||||
tools:backgroundTint="@color/blue_400">
|
||||
<FrameLayout
|
||||
android:id="@+id/icon_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="-4dp"
|
||||
android:layout_marginStart="-4dp"
|
||||
android:gravity="center"
|
||||
android:visibility="visible"
|
||||
android:clickable="false"
|
||||
android:focusable="false">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="38dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/ic_document"/>
|
||||
|
||||
<TextView android:id="@+id/document"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -53,13 +59,12 @@
|
||||
android:background="@drawable/ic_insert_drive_file_white_24dp"
|
||||
android:textAlignment="center"
|
||||
android:scaleType="centerInside"
|
||||
style="@style/Signal.Text.Caption"
|
||||
android:textAllCaps="true"
|
||||
android:textSize="8sp"
|
||||
android:paddingTop="8dp"
|
||||
android:typeface="monospace"
|
||||
android:textSize="10sp"
|
||||
android:textColor="@color/core_black"
|
||||
tools:visibility="visible"
|
||||
tools:text="PDF"
|
||||
tools:textColor="@color/blue_400"/>
|
||||
tools:text="PDF" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -75,18 +80,17 @@
|
||||
|
||||
</org.thoughtcrime.securesms.components.AnimatingToggle>
|
||||
|
||||
<LinearLayout android:orientation="vertical"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:orientation="vertical"
|
||||
android:focusable="false"
|
||||
android:clickable="false"
|
||||
android:layout_height="wrap_content">
|
||||
android:clickable="false">
|
||||
|
||||
<TextView android:id="@+id/file_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
style="@style/Signal.Text.Body"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:clickable="false"
|
||||
@@ -96,8 +100,7 @@
|
||||
<TextView android:id="@+id/file_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:textSize="12sp"
|
||||
style="@style/Signal.Text.Caption"
|
||||
android:clickable="false"
|
||||
tools:text="24kb"/>
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user