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

8 lines
1.2 KiB
XML
Raw Normal View History

2019-02-04 20:05:16 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@color/theme_grey_dark_chat_background" 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" xmlns:fresco="http://schemas.android.com/apk/res-auto">
<android.support.design.widget.AppBarLayout android:id="@id/action_bar_toolbar_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<android.support.v7.widget.Toolbar android:theme="@style/AppTheme.Toolbar" android:id="@id/action_bar_toolbar" fresco:popupTheme="@style/AppTheme.Toolbar.Popup" style="@style/AppTheme.Toolbar.Base" />
</android.support.design.widget.AppBarLayout>
<com.discord.utilities.mg_images.samples.zoomable.ZoomableDraweeView android:id="@id/media_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/action_bar_toolbar_layout" fresco:placeholderImage="@drawable/asset_image_loading" fresco:failureImage="@drawable/asset_sadbot" fresco:failureImageScaleType="center" fresco:progressBarImage="@drawable/asset_image_loading_spinner" fresco:progressBarAutoRotateInterval="1000" />
</RelativeLayout>