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

15 lines
2.4 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +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" />
2020-09-02 04:07:20 +00:00
<LinearLayout android:gravity="center_horizontal" android:id="@id/application_stream_ended" android:background="?colorBackgroundTertiary" android:paddingTop="32.0dip" android:paddingBottom="32.0dip" 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="16.0dip" android:src="?drawable_stream_ended" android:importantForAccessibility="no" />
2020-05-17 12:40:10 +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" />
</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>