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

15 lines
2.5 KiB
XML
Raw Normal View History

2019-12-21 01:41:59 +00:00
<?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" />
2020-01-28 00:59:01 +00:00
<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" />
2019-12-21 01:41:59 +00:00
</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" />
2020-04-17 17:35:24 +00:00
<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" />
2019-12-21 01:41:59 +00:00
<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>