mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-18 05:57:44 +00:00
e842f78457
Limit of 60 minutes, after which it's cancelled.
64 lines
2.6 KiB
XML
64 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge 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"
|
|
tools:showIn="@layout/conversation_input_panel">
|
|
|
|
<ImageButton
|
|
android:id="@+id/quick_audio_toggle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="2dp"
|
|
android:background="@null"
|
|
android:contentDescription="@string/conversation_activity__quick_attachment_drawer_record_and_send_audio_description"
|
|
android:padding="6dp"
|
|
android:src="?quick_mic_icon" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lock_drop_target"
|
|
android:layout_width="40dp"
|
|
android:layout_height="64dp"
|
|
android:layout_gravity="center"
|
|
android:background="?attr/conversation_input_background"
|
|
android:clipChildren="false"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:showIn="@layout/conversation_input_panel"
|
|
tools:translationY="@dimen/recording_voice_lock_target"
|
|
tools:visibility="visible">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="10dp"
|
|
android:contentDescription="@string/conversation_activity__quick_attachment_drawer_lock_record_description"
|
|
android:tint="?attr/conversation_input_inline_attach_icon_tint"
|
|
app:srcCompat="@drawable/ic_lock" />
|
|
|
|
<ImageView
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="6dp"
|
|
android:contentDescription="@string/conversation_activity__quick_attachment_drawer_lock_record_description"
|
|
android:tint="?attr/conversation_input_inline_attach_icon_tint"
|
|
app:srcCompat="@drawable/ic_chevron_up" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/quick_audio_fab"
|
|
android:layout_width="74dp"
|
|
android:layout_height="74dp"
|
|
android:layout_marginStart="-18dp"
|
|
android:layout_marginTop="-18dp"
|
|
android:background="@drawable/circle_tintable"
|
|
android:clickable="false"
|
|
android:scaleType="center"
|
|
android:src="@drawable/ic_mic_white_48dp"
|
|
android:visibility="gone"
|
|
tools:ignore="ContentDescription"
|
|
tools:visibility="visible" />
|
|
</merge>
|