apkfuckery/com.discord/res/layout/widget_spectate.xml

13 lines
2.6 KiB
XML
Raw Normal View History

2019-12-21 01:41:59 +00:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout android:background="@color/black" android:fitsSystemWindows="true" android:keepScreenOn="true" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.views.video.ApplicationStreamView android:id="@id/application_stream_view" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<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">
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
</com.google.android.material.appbar.AppBarLayout>
<ImageView android:id="@id/spectate_report_problem" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:src="@drawable/ic_warning_icon_24dp" android:contentDescription="@string/stream_report_problem" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" />
<include android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_large" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/spectate_push_to_talk" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" layout="@layout/widget_spectate_controls" />
2020-01-07 02:40:43 +00:00
<com.google.android.material.button.MaterialButton android:textColor="@color/primary_100" android:id="@id/spectate_push_to_talk" android:visibility="gone" android:layout_width="0.0dip" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/keybind_push_to_talk" android:backgroundTint="@color/primary_700" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" style="@style/UiKit.Material.Button" />
2019-12-21 01:41:59 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>