|
|
@@ -0,0 +1,74 @@
|
|
|
+<?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">
|
|
|
+
|
|
|
+ <com.google.android.material.card.MaterialCardView
|
|
|
+ style="?attr/materialCardViewFilledStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginRight="16dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="16dp">
|
|
|
+
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
|
+ android:id="@+id/tv_number"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="123456789"
|
|
|
+ android:textColor="?attr/colorPrimary"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
|
+ android:id="@+id/tv_info"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:text="mcc: 310 mnc: 240 coutry: us"
|
|
|
+ android:textColor="?attr/colorOnSurfaceVariant"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
|
+ android:id="@+id/tv_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="2024-05-13 18:00:00"
|
|
|
+ android:textColor="?attr/colorOnSurfaceVariant"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_restore"
|
|
|
+ style="@style/Widget.Material3.Button.TextButton"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:padding="0dp"
|
|
|
+ android:text="Restore"
|
|
|
+ app:icon="@drawable/ic_settings_backup_restore"
|
|
|
+ app:iconPadding="0dp"
|
|
|
+ app:layout_constraintBaseline_toBaselineOf="@id/tv_time"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.google.android.material.card.MaterialCardView>
|
|
|
+</LinearLayout>
|