19 lines
4.1 KiB
XML
19 lines
4.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout android:background="?ptrn_shapes" style="@style/UiKit.ViewGroup.Page"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||
|
<androidx.constraintlayout.widget.Guideline android:orientation="horizontal" android:id="@id/incoming_call_top_guideline" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintGuide_percent="0.15" />
|
||
|
<LinearLayout android:gravity="center_horizontal" android:id="@id/incoming_call_status_container" android:paddingTop="16.0dip" android:layout_width="wrap_content" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/incoming_call_users_recycler" app:layout_constraintVertical_bias="0.2" style="@style/UiKit.ViewGroup.LinearLayout">
|
||
|
<TextView android:textSize="20.0sp" android:textColor="?primary_100" android:gravity="center_horizontal" android:id="@id/incoming_call_status_primary" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_400" android:id="@id/incoming_call_status_secondary" style="@style/UiKit.TextView" />
|
||
|
</LinearLayout>
|
||
|
<androidx.recyclerview.widget.RecyclerView android:orientation="horizontal" android:id="@id/incoming_call_users_recycler" android:layout_width="wrap_content" android:layout_height="wrap_content" android:overScrollMode="never" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="@id/incoming_call_top_guideline" />
|
||
|
<LinearLayout android:gravity="center_horizontal" android:id="@id/incoming_call_accept_container" android:layout_width="wrap_content" app:layout_constraintBottom_toTopOf="@id/incoming_call_connect_voice_only" app:layout_constraintLeft_toRightOf="@id/incoming_call_decline_container" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/incoming_call_status_container" app:layout_constraintVertical_bias="0.6" style="@style/UiKit.ViewGroup.LinearLayout">
|
||
|
<ImageView android:id="@id/incoming_call_accept_button" android:background="@drawable/drawable_circle_green" android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="?ic_mic_muted" android:contentDescription="@string/connect_to_voice" style="@style/UiKit.Calls.ButtonCircle" />
|
||
|
<TextView android:id="@id/incoming_call_accept_text" android:text="@string/join_call" style="@style/UiKit.Calls.ButtonText" />
|
||
|
</LinearLayout>
|
||
|
<LinearLayout android:gravity="center_horizontal" android:id="@id/incoming_call_decline_container" android:layout_width="wrap_content" app:layout_constraintBottom_toBottomOf="@id/incoming_call_accept_container" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/incoming_call_accept_container" app:layout_constraintTop_toTopOf="@id/incoming_call_accept_container" style="@style/UiKit.ViewGroup.LinearLayout">
|
||
|
<ImageView android:id="@id/incoming_call_decline_button" android:background="@drawable/drawable_circle_red" android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="?ic_end_audio_call" android:contentDescription="@string/decline" style="@style/UiKit.Calls.ButtonCircle" />
|
||
|
<TextView android:text="@string/decline" android:contentDescription="@string/decline" style="@style/UiKit.Calls.ButtonText" />
|
||
|
</LinearLayout>
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/incoming_call_connect_voice_only" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/connect_voice_only" android:contentDescription="@string/connect_voice_only" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" style="@style/UiKit.Calls.ButtonText" />
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|