2019-03-28 15:04:38 -03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.constraint.ConstraintLayout 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/recording_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:visibility="visible"
|
|
|
|
tools:showIn="@layout/conversation_input_panel">
|
|
|
|
|
2019-04-01 17:42:57 -03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/microphone"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
2019-04-01 17:42:57 -03:00
|
|
|
android:layout_marginStart="14dp"
|
|
|
|
android:importantForAccessibility="no"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:tint="@color/destructive"
|
2019-04-01 17:42:57 -03:00
|
|
|
android:visibility="invisible"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:scaleType="centerInside"
|
|
|
|
app:srcCompat="@drawable/ic_microphone"
|
2019-04-01 17:42:57 -03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2019-03-28 15:04:38 -03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/record_time"
|
|
|
|
style="@style/Signal.Text.Body"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:layout_marginStart="4dp"
|
2019-03-28 15:04:38 -03:00
|
|
|
android:ellipsize="none"
|
|
|
|
android:singleLine="true"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:textColor="#99FFFFFF"
|
2019-03-28 15:04:38 -03:00
|
|
|
android:visibility="gone"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:textSize="@dimen/small_font_size"
|
2019-03-28 15:04:38 -03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2019-04-01 17:42:57 -03:00
|
|
|
app:layout_constraintStart_toEndOf="@id/microphone"
|
2019-03-28 15:04:38 -03:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="00:00"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/record_cancel"
|
|
|
|
style="@style/Signal.Text.Caption"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="8dp"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:layout_marginEnd="@dimen/medium_spacing"
|
2019-03-28 15:04:38 -03:00
|
|
|
android:ellipsize="none"
|
|
|
|
android:gravity="center_vertical"
|
2019-04-01 17:42:57 -03:00
|
|
|
android:padding="4dp"
|
2019-03-28 15:04:38 -03:00
|
|
|
android:text="@string/conversation_input_panel__cancel"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textColor="@color/destructive"
|
2019-03-28 15:04:38 -03:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/frameLayout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipChildren="true"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/record_time"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
2020-01-10 16:35:32 +11:00
|
|
|
<LinearLayout
|
2019-03-28 15:04:38 -03:00
|
|
|
android:id="@+id/slide_to_cancel"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-10 16:35:32 +11:00
|
|
|
android:orientation="horizontal"
|
2019-03-28 15:04:38 -03:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:visibility="gone"
|
2020-01-10 16:35:32 +11:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginTop="1dp"
|
|
|
|
android:src="@drawable/ic_keyboard_arrow_left_grey600_24dp"
|
|
|
|
android:tint="#99FFFFFF"
|
|
|
|
android:scaleType="centerInside" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/Signal.Text.Caption"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:ellipsize="none"
|
|
|
|
android:text="@string/conversation_input_panel__slide_to_cancel"
|
|
|
|
android:textColor="#99FFFFFF" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-03-28 15:04:38 -03:00
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|