discord-jadx/app/src/main/res/layout-v22/widget_guild_sticker_sheet.xml

32 lines
4.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.discord.app.AppViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/guild_sticker_sheet_flipper" android:layout_height="wrap_content" android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" style="@style/UiKit_ViewGroup_Page">
<LinearLayout android:background="?attr/colorBackgroundPrimary" style="@style/UiKit_ViewGroup_LinearLayout">
<LinearLayout android:layout_marginLeft="14dp" android:layout_marginTop="16dp" android:layout_marginRight="14dp" android:layout_marginBottom="16dp" android:layout_marginHorizontal="14dp" style="@style/UiKit_ViewGroup_LinearLayout_Horizontal">
<com.discord.views.sticker.StickerView android:id="@+id/guild_sticker_sheet_sticker" android:layout_width="48dp" android:layout_height="48dp" android:layout_marginEnd="16dp"/>
<LinearLayout style="@style/UiKit_ViewGroup_LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/guild_sticker_sheet_sticker_name" android:layout_marginBottom="4dp" style="@style/UiKit_TextView_Bold"/>
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_sticker_sheet_description" style="@style/UiKit_TextView"/>
</LinearLayout>
</LinearLayout>
<FrameLayout android:id="@+id/guild_sticker_sheet_button_container" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" android:layout_marginHorizontal="16dp">
<com.google.android.material.button.MaterialButton android:id="@+id/guild_sticker_sheet_join_btn" android:text="@string/sticker_popout_join_server" style="@style/UiKit_Material_Button"/>
<com.google.android.material.button.MaterialButton android:id="@+id/guild_sticker_sheet_premium_btn" android:text="@string/emoji_popout_premium_cta" app:icon="@drawable/ic_nitro_badge_white" app:iconGravity="0x2" app:iconSize="@dimen/uikit_textsize_large" app:iconTint="@color/white" style="@style/UiKit_Material_Button_Green"/>
</FrameLayout>
<LinearLayout android:id="@+id/guild_sticker_sheet_guild_container" android:visibility="gone" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" android:layout_marginHorizontal="16dp" style="@style/UiKit_ViewGroup_LinearLayout">
<View android:id="@+id/divider" android:background="?attr/colorBackgroundAccent" style="@style/UiKit_Divider"/>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_sticker_sheet_guild_header" android:layout_marginTop="16dp" android:text="@string/sticker_popout_unjoined_guild_emoji_description" android:textAllCaps="true" style="@style/UiKit_TextView_Bold"/>
<LinearLayout android:layout_marginTop="8dp" style="@style/UiKit_ViewGroup_LinearLayout_Horizontal">
<FrameLayout android:layout_gravity="center_vertical" android:id="@+id/guild_sticker_sheet_guild_icon_wrapper" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginEnd="16dp">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/guild_sticker_sheet_guild_icon" android:layout_width="match_parent" android:layout_height="match_parent" android:adjustViewBounds="true" app:actualImageScaleType="2" app:roundWithOverlayColor="?attr/colorBackgroundPrimary" app:roundedCornerRadius="@dimen/guild_icon_radius" style="@style/UiKit_ImageView"/>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderPrimary" android:gravity="center" android:id="@+id/guild_sticker_sheet_guild_icon_text" android:layout_width="match_parent" android:layout_height="match_parent" android:singleLine="true" android:importantForAccessibility="no" style="@style/UiKit_TextView"/>
</FrameLayout>
<LinearLayout style="@style/UiKit_ViewGroup_LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/guild_sticker_sheet_guild_name" android:drawablePadding="8dp" style="@style/UiKit_TextView_Bold"/>
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_sticker_sheet_guild_info" android:layout_marginTop="4dp" style="@style/UiKit_TextView"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16dp"/>
</com.discord.app.AppViewFlipper>