apkfuckery/com.discord/res/layout/widget_sticker_sheet.xml
2020-09-18 17:51:47 +00:00

14 lines
No EOL
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:background="?colorBackgroundTertiary" style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/sticker_sheet_sticker_name" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.TextView" />
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textColor="?colorHeaderSecondary" android:id="@id/sticker_sheet_sticker_info" android:focusable="true" android:clickable="true" android:layout_marginLeft="16.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/sticker_sheet_stickers_container" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" android:weightSum="4.0" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_1" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_2" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_3" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_4" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
</LinearLayout>
<com.discord.views.LoadingButton android:id="@id/sticker_sheet_buy_button" android:visibility="gone" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.Material.Button.Green" />
<com.google.android.material.button.MaterialButton android:id="@id/sticker_sheet_view_button" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/sticker_pack_view" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>