2020-08-24 20:40:41 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-11-02 23:44:01 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/call_container" android:background="@color/black" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.Page"
|
2020-08-24 20:40:41 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
2020-11-02 23:44:01 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/call_video_recycler" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
2020-08-24 20:40:41 +00:00
|
|
|
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/call_participants_hidden" android:background="@color/black" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent">
|
2020-09-16 23:45:23 +00:00
|
|
|
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:src="@drawable/video_call_illustration" android:importantForAccessibility="no" />
|
2020-08-24 20:40:41 +00:00
|
|
|
<TextView android:textColor="@color/white" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:text="@string/mobile_stream_participants_hidden" android:textAlignment="center" android:paddingHorizontal="64.0dip" style="@style/UiKit.TextAppearance.Semibold" />
|
|
|
|
<com.google.android.material.button.MaterialButton android:id="@id/call_participants_show_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/stream_show_all_participants" android:backgroundTint="@color/primary_500" app:cornerRadius="100.0dip" style="@style/UiKit.Material.Button" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" android:layout_width="fill_parent" android:layout_height="?actionBarSize" app:layout_constraintTop_toTopOf="parent" style="@style/AppTheme.AppBarLayout.Flat.Transparent">
|
|
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2020-11-02 23:44:01 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/call_streaming_active" android:background="@color/black" android:padding="16.0dip" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout">
|
|
|
|
<include layout="@layout/widget_call_fullscreen_audio_share_warning" />
|
|
|
|
<androidx.constraintlayout.widget.Barrier android:id="@id/call_audio_share_warning_barrier" android:layout_width="fill_parent" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="call_streaming_audio_share_warning" />
|
|
|
|
<ImageView android:id="@id/call_streaming_active_illustration" android:layout_width="130.0dip" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:src="@drawable/screen_share_illustration" android:importantForAccessibility="no" app:layout_constraintBottom_toTopOf="@id/call_streaming_active_header" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_audio_share_warning_barrier" app:layout_constraintVertical_chainStyle="packed" />
|
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="@color/white" android:id="@id/call_streaming_active_header" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:text="@string/mobile_stream_active_header" android:textAlignment="center" android:paddingHorizontal="64.0dip" app:layout_constraintBottom_toTopOf="@id/call_streaming_active_body" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_streaming_active_illustration" style="@style/UiKit.TextAppearance.Bold" />
|
|
|
|
<TextView android:textColor="@color/primary_dark_300" android:id="@id/call_streaming_active_body" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:text="@string/mobile_stream_active_body" android:textAlignment="center" android:paddingHorizontal="64.0dip" app:layout_constraintBottom_toTopOf="@id/call_stop_streaming_button" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_streaming_active_header" style="@style/UiKit.TextAppearance" />
|
|
|
|
<com.google.android.material.button.MaterialButton android:id="@id/call_stop_streaming_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/mobile_stream_stop_sharing" android:backgroundTint="@color/primary_500" app:cornerRadius="100.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_streaming_active_body" style="@style/UiKit.Material.Button" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-08-24 20:40:41 +00:00
|
|
|
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:cardCornerRadius="8.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" app:layout_goneMarginTop="72.0dip">
|
2020-10-13 20:45:03 +00:00
|
|
|
<com.discord.views.calls.VideoCallParticipantView android:id="@id/call_pip" android:visibility="gone" android:layout_width="140.0dip" android:layout_height="79.0dip" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
|
2020-08-24 20:40:41 +00:00
|
|
|
</androidx.cardview.widget.CardView>
|
2020-09-02 04:07:20 +00:00
|
|
|
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/private_call_container" android:background="?ptrn_shapes" android:paddingTop="64.0dip" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout">
|
2020-08-24 20:40:41 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView android:orientation="horizontal" android:id="@id/private_call_users_recycler" android:layout_width="wrap_content" android:layout_height="wrap_content" android:overScrollMode="never" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
2020-09-02 04:07:20 +00:00
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?primary_100" android:id="@id/private_call_status_primary" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.TextView" />
|
2020-08-24 20:40:41 +00:00
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_400" android:id="@id/private_call_status_secondary" style="@style/UiKit.TextView" />
|
|
|
|
</LinearLayout>
|
|
|
|
<com.discord.widgets.voice.controls.FloatingVoiceControlsView android:theme="@style/AppTheme.Dark" android:id="@id/call_controls_floating" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/call_floating_push_to_talk" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" />
|
2020-09-16 23:45:23 +00:00
|
|
|
<com.google.android.material.button.MaterialButton android:theme="@style/AppTheme.Dark" android:textColor="@color/primary_100" android:id="@id/call_floating_push_to_talk" android:visibility="gone" android:layout_width="0.0dip" android:layout_margin="8.0dip" android:text="@string/input_mode_ptt" android:backgroundTint="@color/primary_630_alpha_90" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" style="@style/UiKit.Material.Button" />
|
2020-08-24 20:40:41 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-09-28 19:40:16 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout android:id="@id/call_controls_sheet_container" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
|
|
<com.discord.widgets.voice.controls.FloatingVoiceControlsView2 android:layout_gravity="center_horizontal" android:id="@id/call_controls_floating_new" android:visibility="invisible" app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior" style="@style/VoiceControlsSheet" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2020-08-24 20:40:41 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|