2019-03-28 18:04:38 +00:00
|
|
|
<?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"
|
2019-04-17 14:21:30 +00:00
|
|
|
android:layout_width="24dp"
|
2020-01-10 05:35:32 +00:00
|
|
|
android:layout_height="24dp"
|
2020-07-17 02:10:25 +00:00
|
|
|
android:layout_gravity="center"
|
2019-03-28 18:04:38 +00:00
|
|
|
android:background="@null"
|
|
|
|
android:contentDescription="@string/conversation_activity__quick_attachment_drawer_record_and_send_audio_description"
|
2020-01-10 05:35:32 +00:00
|
|
|
android:scaleType="centerInside"
|
2020-07-17 02:10:25 +00:00
|
|
|
android:layout_marginEnd="4dp"
|
2020-01-10 05:35:32 +00:00
|
|
|
android:tint="@color/text"
|
|
|
|
app:srcCompat="@drawable/ic_microphone" />
|
2019-03-28 18:04:38 +00:00
|
|
|
|
|
|
|
<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"
|
2019-04-17 14:21:30 +00:00
|
|
|
android:padding="18dp"
|
2019-03-28 18:04:38 +00:00
|
|
|
android:background="@drawable/circle_tintable"
|
|
|
|
android:clickable="false"
|
|
|
|
android:visibility="gone"
|
2019-04-17 14:21:30 +00:00
|
|
|
android:tint="@color/core_white"
|
2020-01-10 05:35:32 +00:00
|
|
|
app:srcCompat="@drawable/ic_microphone"
|
2019-03-28 18:04:38 +00:00
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</merge>
|