Facebook
From aasdasdsad, 9 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 85
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.     android:layout_width="match_parent"
  3.     android:layout_height="match_parent"
  4.      android:orientati
  5.     android:padding="16dp">
  6.  
  7.     <TextView
  8.         android:id="@+id/textViewTitle"
  9.         android:layout_width="match_parent"
  10.         android:layout_height="wrap_content"
  11.         android:text="Payment Methods"
  12.         android:textSize="24sp"
  13.          android:text
  14.         android:layout_marginBottom="16dp" />
  15.  
  16.     <TextView
  17.         android:id="@+id/textViewSavedCards"
  18.         android:layout_width="match_parent"
  19.         android:layout_height="wrap_content"
  20.         android:text="Saved Cards"
  21.         android:textSize="18sp"
  22.          android:text
  23.         android:layout_marginBottom="8dp" />
  24.  
  25.     <LinearLayout
  26.         android:layout_width="match_parent"
  27.         android:layout_height="wrap_content"
  28.          android:orientati>
  29.  
  30.         &lt;!-- Replace with your dynamic list of saved cards using RecyclerView or ListView --&gt;
  31.  
  32.         <TextView
  33.             android:id="@+id/textViewNoCards"
  34.             android:layout_width="match_parent"
  35.             android:layout_height="wrap_content"
  36.             android:text="No saved cards found."
  37.             android:textSize="16sp"
  38.             android:padding="16dp"
  39.             android:visibility="gone" />
  40.  
  41.     </LinearLayout>
  42.  
  43.     <Button
  44.         android:id="@+id/buttonAddCard"
  45.         android:layout_width="match_parent"
  46.         android:layout_height="wrap_content"
  47.         android:text="Add New Card"
  48.         android:textColor="#FFFFFF"
  49.         android:background="@drawable/round_button"
  50.         android:layout_marginTop="16dp" />
  51.  
  52.     <TextView
  53.         android:id="@+id/textViewPaymentMethodsNote"
  54.         android:layout_width="match_parent"
  55.         android:layout_height="wrap_content"
  56.         android:text="Note: Changes made here will affect your payment methods across the app."
  57.         android:textSize="14sp"
  58.         android:textColor="#888888"
  59.         android:layout_marginTop="16dp" />
  60.  
  61. </LinearLayout>