forked from thijooree/android
223 lines
8.3 KiB
XML
223 lines
8.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorSurface">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="24dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/ivLogo"
|
|
android:layout_width="72dp"
|
|
android:layout_height="72dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginBottom="16dp"
|
|
android:src="@drawable/ic_logo"
|
|
android:contentDescription="@string/app_name" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvAppName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:textAppearance="?attr/textAppearanceHeadlineSmall"
|
|
android:layout_marginBottom="4dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvVersion"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:textAppearance="?attr/textAppearanceBodyMedium"
|
|
android:alpha="0.6"
|
|
android:layout_marginBottom="20dp" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/colorOutlineVariant"
|
|
android:layout_marginBottom="24dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_legal"
|
|
android:textAppearance="?attr/textAppearanceBodyMedium"
|
|
android:layout_marginBottom="24dp" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/colorOutlineVariant"
|
|
android:layout_marginBottom="16dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_terms"
|
|
android:textAppearance="?attr/textAppearanceTitleMedium"
|
|
android:layout_marginBottom="4dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/rowMibTerms"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground">
|
|
|
|
<ImageView
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:src="@drawable/mib_logo"
|
|
android:scaleType="fitCenter"
|
|
android:contentDescription="MIB" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Maldives Islamic Bank"
|
|
android:textAppearance="?attr/textAppearanceBodyLarge" />
|
|
|
|
<ImageView
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:src="@drawable/ic_arrow_right"
|
|
android:alpha="0.4"
|
|
android:contentDescription="@null" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/rowBmlTerms"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground">
|
|
|
|
<ImageView
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:src="@drawable/bml_icon"
|
|
android:scaleType="fitCenter"
|
|
android:contentDescription="BML" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Bank of Maldives"
|
|
android:textAppearance="?attr/textAppearanceBodyLarge" />
|
|
|
|
<ImageView
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:src="@drawable/ic_arrow_right"
|
|
android:alpha="0.4"
|
|
android:contentDescription="@null" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/rowFahipayTerms"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground">
|
|
|
|
<ImageView
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:src="@drawable/fahipay_logo"
|
|
android:scaleType="fitCenter"
|
|
android:contentDescription="Fahipay" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Fahipay"
|
|
android:textAppearance="?attr/textAppearanceBodyLarge" />
|
|
|
|
<ImageView
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:src="@drawable/ic_arrow_right"
|
|
android:alpha="0.4"
|
|
android:contentDescription="@null" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/sectionDonate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/colorOutlineVariant"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="16dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_donate_title"
|
|
android:textAppearance="?attr/textAppearanceTitleMedium"
|
|
android:layout_marginBottom="6dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_donate_desc"
|
|
android:textAppearance="?attr/textAppearanceBodyMedium"
|
|
android:alpha="0.7"
|
|
android:layout_marginBottom="16dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btnDonateMvr"
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginEnd="8dp"
|
|
android:text="@string/about_donate_mvr" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btnDonateUsd"
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/about_donate_usd" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|