mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-05-16 12:52:15 -04:00
71 lines
2.6 KiB
XML
71 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
tools:context="protect.card_locker.MainActivity"
|
|
tools:showIn="@layout/main_activity">
|
|
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/helpSection"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/welcome_icon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="184dp"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/ic_launcher_foreground" />
|
|
|
|
<TextView
|
|
android:id="@+id/welcome_text"
|
|
style="@style/TextAppearance.Material3.HeadlineLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/welcome" />
|
|
|
|
<TextView
|
|
android:id="@+id/add_card_instruction"
|
|
style="@style/AppTheme.TextView.NoData"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/noGiftCards" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/noMatchingCardsText"
|
|
style="@style/AppTheme.TextView.NoData"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:text="@string/noMatchingGiftCards"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/noGroupCardsText"
|
|
style="@style/AppTheme.TextView.NoData"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:text="@string/noGroupCards"
|
|
android:visibility="gone" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:paddingBottom="80dp"
|
|
android:scrollbars="vertical"
|
|
android:visibility="gone"
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
app:spanCount="@integer/main_view_card_columns" />
|
|
</RelativeLayout>
|