apkfuckery/com.discord/res/layout/widget_media.xml
2020-05-15 21:24:08 +02:00

11 lines
No EOL
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/widget_media_container" android:background="@color/black" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.google.android.exoplayer2.ui.PlayerView android:layout_gravity="center" android:id="@id/widget_media_player_view" android:layout_width="fill_parent" android:layout_height="fill_parent" app:resize_mode="fit" app:surface_type="texture_view" app:use_controller="false" />
<com.google.android.exoplayer2.ui.PlayerControlView android:layout_gravity="bottom" android:id="@id/widget_media_player_control_view" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.facebook.samples.zoomable.ZoomableDraweeView android:layout_gravity="center" android:id="@id/widget_media_image" android:background="@color/black" android:layout_width="fill_parent" android:layout_height="fill_parent" app:failureImage="@drawable/asset_sadbot" app:failureImageScaleType="center" />
<ProgressBar android:layout_gravity="center" android:id="@id/widget_media_loading_indicator" android:background="@drawable/drawable_circle_primary_900_alpha_80" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" android:indeterminateTint="@color/white" />
<com.google.android.material.appbar.AppBarLayout android:layout_gravity="top" style="@style/AppTheme.AppBarLayout.Flat.Transparent">
<androidx.appcompat.widget.Toolbar android:background="@color/primary_900_alpha_80" style="@style/AppTheme.Toolbar" />
</com.google.android.material.appbar.AppBarLayout>
</FrameLayout>