11 lines
2.8 KiB
XML
11 lines
2.8 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:background="?attr/colorBackgroundPrimary" android:layout_width="match_parent" android:layout_height="match_parent">
|
|
<com.google.android.material.appbar.AppBarLayout android:id="@+id/app_bar_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_bias="0" style="@style/AppTheme_AppBarLayout">
|
|
<androidx.appcompat.widget.Toolbar android:id="@+id/action_bar_toolbar" app:contentInsetStartWithNavigation="0dp" style="@style/AppTheme_Toolbar">
|
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Toolbar_Title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/guild_role_subscriptions_channel_label" android:drawablePadding="4dp" app:drawableStartCompat="@drawable/ic_guild_role_subscription_badge"/>
|
|
</androidx.appcompat.widget.Toolbar>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
<ImageView android:id="@+id/art" android:layout_width="match_parent" android:layout_height="wrap_content" android:src="@drawable/asset_guild_role_subscriptions_unavailable" android:scaleType="centerInside" app:layout_constraintBottom_toTopOf="@+id/title" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/app_bar_layout" app:layout_constraintVertical_bias="0.4" app:layout_constraintVertical_chainStyle="2"/>
|
|
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="20dp" android:layout_marginRight="16dp" android:textAlignment="center" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toTopOf="@+id/description" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/art" style="@style/UiKit_TextView_H1_Bold"/>
|
|
<TextView android:id="@+id/description" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="8dp" android:layout_marginRight="16dp" android:text="@string/guild_role_subscription_purchase_page_unavailable_description" android:textAlignment="center" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/title" style="@style/UiKit_TextView"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|