apkfuckery/com.discord/res/layout/view_application_stream.xml
2020-05-17 12:40:10 +00:00

15 lines
No EOL
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<View android:id="@id/application_stream_black_background" android:background="@color/black" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center_horizontal" android:id="@id/application_stream_ended" android:background="?colorBackgroundTertiary" android:paddingTop="@dimen/uikit_spacing_xxlarge" android:paddingBottom="@dimen/uikit_spacing_xxlarge" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="?drawable_stream_ended" android:importantForAccessibility="no" />
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?colorHeaderPrimary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/stream_ended" style="@style/UiKit.TextView.Semibold" />
</LinearLayout>
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/application_stream_preview_image" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true" app:viewAspectRatio="1.77" />
<com.discord.views.video.AppVideoStreamRenderer android:id="@id/application_stream_video_renderer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:gravity="center" android:id="@id/application_stream_paused" android:background="@color/black_alpha_70" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/stream_capture_paused" android:fontFamily="@font/whitney_semibold" style="@style/UiKit.TextView" />
<RelativeLayout android:id="@id/application_stream_loading_indicator" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ProgressBar android:layout_width="48.0dip" android:layout_height="48.0dip" android:indeterminate="true" android:layout_centerInParent="true" />
</RelativeLayout>
</merge>