|
|
@@ -0,0 +1,148 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout 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"
|
|
|
+ tools:context=".activity.CleanActivity">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.Toolbar
|
|
|
+ android:id="@+id/toolbar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/light_green"
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:navigationIcon="?attr/homeAsUpIndicator"
|
|
|
+ app:title="@string/junk_clean"
|
|
|
+ app:titleTextColor="@color/white" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
+ android:id="@+id/top"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/light_green"
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/toolbar">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginBottom="32dp"
|
|
|
+ android:baselineAligned="true">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_size"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:text="34.8"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="50sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:text="MB"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="14dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:src="@android:drawable/ic_dialog_info"
|
|
|
+ app:tint="#b0ffffff" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="#b0ffffff" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=" "
|
|
|
+ android:textColor="#b0ffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/does_not_delete_private_data"
|
|
|
+ android:textColor="#b0ffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/list"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/top" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="54dp"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
+ android:backgroundTint="@color/light_green"
|
|
|
+ android:stateListAnimator="@null"
|
|
|
+ android:text="@string/clean"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent" />
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:background="@color/light_green"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/toolbar">
|
|
|
+
|
|
|
+ <com.airbnb.lottie.LottieAnimationView
|
|
|
+ android:id="@+id/animation_view"
|
|
|
+ android:layout_width="250dp"
|
|
|
+ android:layout_height="250dp"
|
|
|
+ android:layout_marginBottom="70dp"
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_countdown"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:text="33.2KB"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="30sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/animation_view" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|