apkfuckery/com.discord/res/layout/view_stream_preview.xml
2019-12-21 02:41:59 +01:00

7 lines
No EOL
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout android:background="@drawable/bg_stream_preview" android:layout_width="fill_parent" android:layout_height="wrap_content" android:backgroundTint="?colorBackgroundTertiary"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/stream_preview_image" android:layout_width="fill_parent" android:layout_height="152.0dip" app:layout_constraintBottom_toTopOf="@id/stream_preview_placeholder_caption" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?drawable_stream_preview_not_available" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:id="@id/stream_preview_overlay_text" android:background="@drawable/bg_stream_preview_overlay_caption" android:padding="@dimen/uikit_spacing_medium" android:text="@string/join_stream" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
<TextView android:textColor="?colorTextNormal" android:id="@id/stream_preview_placeholder_caption" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/stream_preview_loading" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/stream_preview_image" style="@style/UiKit.TextView" />
</androidx.constraintlayout.widget.ConstraintLayout>