13 lines
3.6 KiB
XML
13 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_padding" android:layout_marginTop="8dp" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_marginBottom="8dp" android:foreground="?attr/bg_pressed_highlight" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardCornerRadius="8dp" app:cardElevation="0dp" app:strokeWidth="0dp">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:paddingLeft="16dp" android:paddingTop="8dp" android:paddingRight="16dp" android:paddingBottom="8dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingHorizontal="16dp" android:paddingVertical="8dp">
|
|
<ImageView android:id="@+id/chat_list_adapter_item_call_icon" android:layout_width="24dp" android:layout_height="24dp" android:importantForAccessibility="no" android:layout_marginEnd="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Semibold" android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/chat_list_adapter_item_call_title" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:lineSpacingMultiplier="1" android:layout_marginHorizontal="16dp" app:layout_constraintStart_toEndOf="@+id/chat_list_adapter_item_call_icon" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView"/>
|
|
<TextView android:textSize="12dp" android:id="@+id/chat_list_adapter_item_call_subtitle" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:text="@string/sample_time_pm" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toEndOf="@+id/chat_list_adapter_item_call_icon" app:layout_constraintTop_toBottomOf="@+id/chat_list_adapter_item_call_title" app:layout_constraintVertical_chainStyle="2" style="@style/CallMessage_Subtitle"/>
|
|
<LinearLayout android:id="@+id/chat_list_adapter_item_call_unjoined_ongoing_subtitle" android:visibility="gone" android:layout_width="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toEndOf="@+id/chat_list_adapter_item_call_icon" app:layout_constraintTop_toBottomOf="@+id/chat_list_adapter_item_call_title" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_ViewGroup_LinearLayout_Horizontal">
|
|
<TextView android:textSize="12dp" android:id="@+id/chat_list_adapter_item_unjoined_call_duration" android:layout_width="wrap_content" style="@style/CallMessage_Subtitle"/>
|
|
<TextView android:textSize="12dp" android:layout_width="wrap_content" android:text="@string/ongoing_call_tap_to_join" android:paddingStart="2dp" style="@style/CallMessage_Subtitle"/>
|
|
</LinearLayout>
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@+id/chat_list_adapter_item_call_participants" android:layout_width="wrap_content" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_ViewGroup_RecyclerView_Horizontal"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.cardview.widget.CardView>
|