mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
ad7dd7584e
Shoutout to @aleb2000 for working on this as well! Fixes #8151
32 lines
1.4 KiB
XML
32 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp">
|
|
|
|
<org.thoughtcrime.securesms.components.DocumentView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/document_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:visibility="visible"
|
|
app:doc_titleColor="?media_overview_document_primary"
|
|
app:doc_captionColor="?media_overview_document_secondary"
|
|
tools:visibility="visible"/>
|
|
|
|
<TextView android:id="@+id/date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:textSize="12sp"
|
|
android:textColor="?media_overview_document_secondary"
|
|
android:paddingTop="20dp"
|
|
tools:text="Jun 1"/>
|
|
|
|
</LinearLayout> |