apkfuckery/com.discord/res/layout/view_active_subscription.xml
2020-05-17 12:40:10 +00:00

17 lines
No EOL
2.5 KiB
XML

<?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" />
<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="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" />
<LinearLayout android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:layout_marginBottom="@dimen/uikit_spacing_medium" 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="@dimen/uikit_spacing_medium" />
<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" android:importantForAccessibility="no" />
</LinearLayout>
<TextView android:textColor="@color/white" android:id="@id/active_subscription_header_text" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<LinearLayout android:gravity="center_vertical" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<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="@dimen/uikit_spacing_large" style="@style/UiKit.Material.Button.White" />
<TextView android:textColor="@color/white" android:id="@id/active_subscription_cancel_button" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_medium" android:text="@string/cancel" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
</LinearLayout>
</LinearLayout>
</FrameLayout>