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

7 lines
1.9 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?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" />
2020-09-02 04:07:20 +00:00
<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="8.0dip" 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="16.0dip" android:layout_marginBottom="16.0dip" 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" />
2020-05-17 12:40:10 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>