mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-08 02:51:48 +00:00
Basic quote view attachment handling
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="@color/black" />
|
||||
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
@@ -18,7 +18,23 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@color/text" />
|
||||
|
||||
<!-- The start margin below is the accent line thickness (4 dp) + 12 dp -->
|
||||
<RelativeLayout
|
||||
android:id="@+id/quoteViewAttachmentPreviewContainer"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/view_quote_attachment_preview_background">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/quoteViewAttachmentPreviewImageView"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_microphone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/quoteViewMainContentContainer"
|
||||
|
||||
@@ -845,4 +845,6 @@
|
||||
<string name="fragment_user_details_bottom_sheet_edit_text_hint">Enter a nickname</string>
|
||||
<string name="invalid_public_key">Invalid public key</string>
|
||||
|
||||
<string name="document">Document</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user