forked from thijooree/android
103 lines
4.1 KiB
XML
103 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="center_horizontal"
|
|
android:paddingHorizontal="32dp"
|
|
android:paddingTop="64dp"
|
|
android:paddingBottom="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:layout_marginBottom="40dp"
|
|
android:contentDescription="@string/app_name" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?attr/textAppearanceHeadlineMedium"
|
|
android:textColor="?attr/colorOnSurface"
|
|
android:gravity="center"
|
|
android:layout_marginBottom="16dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?attr/textAppearanceBodyLarge"
|
|
android:textColor="?attr/colorOnSurfaceVariant"
|
|
android:gravity="center"
|
|
android:lineSpacingMultiplier="1.4" />
|
|
|
|
<!-- Placeholder bank cards shown only on first slide -->
|
|
<LinearLayout
|
|
android:id="@+id/placeholderCards"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="40dp"
|
|
android:weightSum="2"
|
|
android:visibility="gone">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="0dp"
|
|
android:layout_height="80dp"
|
|
android:layout_weight="1"
|
|
android:layout_marginEnd="8dp"
|
|
app:cardCornerRadius="12dp"
|
|
app:strokeWidth="1dp"
|
|
app:strokeColor="?attr/colorOutline">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/coming_soon"
|
|
android:textAppearance="?attr/textAppearanceLabelSmall"
|
|
android:textColor="?attr/colorOnSurfaceVariant" />
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="0dp"
|
|
android:layout_height="80dp"
|
|
android:layout_weight="1"
|
|
android:layout_marginStart="8dp"
|
|
app:cardCornerRadius="12dp"
|
|
app:strokeWidth="1dp"
|
|
app:strokeColor="?attr/colorOutline">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/coming_soon"
|
|
android:textAppearance="?attr/textAppearanceLabelSmall"
|
|
android:textColor="?attr/colorOnSurfaceVariant" />
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|