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

17 lines
2.3 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/active_subscription_header_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" android:adjustViewBounds="true" android:importantForAccessibility="no" />
2020-09-02 04:07:20 +00:00
<ProgressBar android:theme="@style/UiKit.ProgressBar.White" android:layout_gravity="end|center|top" android:id="@id/active_subscription_progress" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginTop="8.0dip" android:layout_marginEnd="8.0dip" />
<LinearLayout android:padding="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<ImageView android:id="@id/active_subscription_header_icon" android:layout_width="56.0dip" android:layout_height="40.0dip" android:importantForAccessibility="no" android:layout_marginEnd="8.0dip" />
2020-09-09 19:21:20 +00:00
<ImageView android:layout_gravity="center_vertical" android:id="@id/active_subscription_header_logo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="fitStart" android:adjustViewBounds="true" android:maxHeight="40.0dip" />
2020-05-17 12:40:10 +00:00
</LinearLayout>
2020-09-02 04:07:20 +00:00
<TextView android:textColor="@color/white" android:id="@id/active_subscription_header_text" android:layout_marginBottom="8.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
2020-05-17 12:40:10 +00:00
<LinearLayout android:gravity="center_vertical" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
2020-09-02 04:07:20 +00:00
<com.google.android.material.button.MaterialButton android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/uikit_btn_bg_color_selector_brand" android:id="@id/active_subscription_top_button" android:layout_width="wrap_content" android:minHeight="40.0dip" android:layout_marginEnd="16.0dip" style="@style/UiKit.Material.Button.White" />
<TextView android:textColor="@color/white" android:id="@id/active_subscription_cancel_button" android:background="?selectableItemBackground" android:padding="8.0dip" android:text="@string/cancel" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
2020-05-17 12:40:10 +00:00
</LinearLayout>
</LinearLayout>
</FrameLayout>