108 lines
4.1 KiB
XML
108 lines
4.1 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout 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="wrap_content"
|
||
|
|
android:layout_margin="10dp"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:cardElevation="4dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<com.google.android.material.imageview.ShapeableImageView
|
||
|
|
android:id="@+id/plan_icon"
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="60dp"
|
||
|
|
android:src="@drawable/electrical_shop"
|
||
|
|
android:visibility="visible"
|
||
|
|
app:shapeAppearanceOverlay="@style/RoundedImageView_full_6" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/plan_title"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/gilorymedium"
|
||
|
|
android:text="Electrical and Electronics"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/plan_price"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="4dp"
|
||
|
|
android:fontFamily="@font/gilorymedium"
|
||
|
|
android:textColor="#666666"
|
||
|
|
android:textSize="14sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/days_left"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:fontFamily="@font/gilorymedium"
|
||
|
|
android:gravity="end"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/expiry_date1"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/gilorymedium"
|
||
|
|
android:text="Expires On"
|
||
|
|
android:textColor="#666666"
|
||
|
|
android:textSize="12sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/expiry_date"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:fontFamily="@font/gilorymedium"
|
||
|
|
android:gravity="end"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/side_menu_layout"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/expiry_date">
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|