discord-jadx/app/src/main/res/layout/widget_stream_rich_presence...

17 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content">
<TextView android:id="@+id/rich_presence_header" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952618_userprofile_section_header"/>
<androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_marginTop="8dp" app:cardBackgroundColor="?attr/colorBackgroundPrimary" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/rich_presence_header" app:layout_constraintWidth_max="400dp" style="@style/res_2131952617_userprofile_section_card">
<androidx.constraintlayout.widget.ConstraintLayout style="@style/res_2131952589_uikit_viewgroup_constraintlayout">
<com.discord.views.StreamPreviewView android:id="@+id/stream_preview" android:background="?attr/colorBackgroundTertiary" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintBottom_toTopOf="@+id/rich_presence_container_data" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2"/>
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/rich_presence_image_large" android:layout_width="64dp" android:layout_height="64dp" android:layout_marginBottom="4dp" android:layout_marginStart="4dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintHorizontal_chainStyle="1" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toLeftOf="@+id/rich_presence_container_data" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="@+id/rich_presence_container_data" app:placeholderImage="?attr/colorBackgroundSecondary" app:roundedCornerRadius="4dp"/>
<LinearLayout android:id="@+id/rich_presence_container_data" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="4dp" android:layout_marginBottom="4dp" android:layout_marginStart="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintStart_toEndOf="@+id/rich_presence_image_large" app:layout_constraintTop_toBottomOf="@+id/stream_preview" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:ellipsize="marquee" android:id="@+id/rich_presence_title" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" style="@style/res_2131952613_userprofile_presencesection_body_headertext"/>
<TextView android:id="@+id/rich_presence_details" style="@style/res_2131952614_userprofile_presencesection_body_subtext"/>
<TextView android:id="@+id/rich_presence_state" style="@style/res_2131952614_userprofile_presencesection_body_subtext"/>
<TextView android:id="@+id/rich_presence_time" style="@style/res_2131952614_userprofile_presencesection_body_subtext"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>