xiongzhu 5 лет назад
Родитель
Сommit
e0f1e04aa4
44 измененных файлов с 1254 добавлено и 2 удалено
  1. 10 0
      app/src/main/AndroidManifest.xml
  2. 4 0
      app/src/main/java/com/izouma/booster/activity/CleanActivity.java
  3. 38 0
      app/src/main/java/com/izouma/booster/activity/NotificationSettingsActivity.java
  4. 26 0
      app/src/main/java/com/izouma/booster/activity/SettingsActivity.java
  5. 43 0
      app/src/main/java/com/izouma/booster/activity/VipActivity.java
  6. 2 0
      app/src/main/java/com/izouma/booster/fragment/MyFragment.java
  7. 7 0
      app/src/main/java/com/izouma/booster/fragment/ToolFragment.java
  8. 2 1
      app/src/main/res/drawable/bg_feature.xml
  9. 44 0
      app/src/main/res/drawable/bg_pay.xml
  10. 8 0
      app/src/main/res/drawable/bg_vip_head_price.xml
  11. 12 0
      app/src/main/res/drawable/ic_inter.xml
  12. 18 0
      app/src/main/res/drawable/pay_arrow.xml
  13. 5 0
      app/src/main/res/drawable/title_indicator.xml
  14. 19 0
      app/src/main/res/drawable/vip_head_line.xml
  15. 5 0
      app/src/main/res/drawable/vip_item.xml
  16. 7 0
      app/src/main/res/drawable/vip_item_normal.xml
  17. 8 0
      app/src/main/res/drawable/vip_item_selected.xml
  18. 233 0
      app/src/main/res/layout/activity_notification_settings.xml
  19. 184 0
      app/src/main/res/layout/activity_settings.xml
  20. 527 0
      app/src/main/res/layout/activity_vip.xml
  21. 1 0
      app/src/main/res/layout/tool_fragment.xml
  22. BIN
      app/src/main/res/mipmap-xhdpi/bg_vip_feature.png
  23. BIN
      app/src/main/res/mipmap-xhdpi/icon_vip_feature_1.png
  24. BIN
      app/src/main/res/mipmap-xhdpi/icon_vip_feature_2.png
  25. BIN
      app/src/main/res/mipmap-xhdpi/icon_vip_feature_3.png
  26. BIN
      app/src/main/res/mipmap-xhdpi/icon_vip_gold.png
  27. BIN
      app/src/main/res/mipmap-xhdpi/vip_head.png
  28. BIN
      app/src/main/res/mipmap-xhdpi/vip_head_bg.png
  29. BIN
      app/src/main/res/mipmap-xxhdpi/bg_vip_feature.png
  30. BIN
      app/src/main/res/mipmap-xxhdpi/icon_vip_feature_1.png
  31. BIN
      app/src/main/res/mipmap-xxhdpi/icon_vip_feature_2.png
  32. BIN
      app/src/main/res/mipmap-xxhdpi/icon_vip_feature_3.png
  33. BIN
      app/src/main/res/mipmap-xxhdpi/icon_vip_gold.png
  34. BIN
      app/src/main/res/mipmap-xxhdpi/vip_head.png
  35. BIN
      app/src/main/res/mipmap-xxhdpi/vip_head_bg.png
  36. BIN
      app/src/main/res/mipmap-xxxhdpi/bg_vip_feature.png
  37. BIN
      app/src/main/res/mipmap-xxxhdpi/icon_vip_feature_1.png
  38. BIN
      app/src/main/res/mipmap-xxxhdpi/icon_vip_feature_2.png
  39. BIN
      app/src/main/res/mipmap-xxxhdpi/icon_vip_feature_3.png
  40. BIN
      app/src/main/res/mipmap-xxxhdpi/icon_vip_gold.png
  41. BIN
      app/src/main/res/mipmap-xxxhdpi/vip_head.png
  42. BIN
      app/src/main/res/mipmap-xxxhdpi/vip_head_bg.png
  43. 37 1
      app/src/main/res/values/strings.xml
  44. 14 0
      app/src/main/res/values/themes.xml

+ 10 - 0
app/src/main/AndroidManifest.xml

@@ -18,6 +18,16 @@
         android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
         android:theme="@style/Theme.Booster">
+        <activity
+            android:name=".activity.NotificationSettingsActivity"
+            android:exported="true"
+            android:screenOrientation="portrait"
+            android:theme="@style/Theme.Booster.Settings" />
+        <activity
+            android:name=".activity.SettingsActivity"
+            android:exported="true"
+            android:screenOrientation="portrait"
+            android:theme="@style/Theme.Booster.Settings" />
         <activity
             android:name=".activity.VipActivity"
             android:exported="true"

+ 4 - 0
app/src/main/java/com/izouma/booster/activity/CleanActivity.java

@@ -46,6 +46,10 @@ public class CleanActivity extends AppCompatActivity {
         View view = binding.getRoot();
         setContentView(view);
 
+        binding.toolbar.setNavigationOnClickListener(v -> {
+            finish();
+        });
+
         List<Junk> list = new ArrayList<>();
 
         list.add(new Junk("Cache", 0, true, false));

+ 38 - 0
app/src/main/java/com/izouma/booster/activity/NotificationSettingsActivity.java

@@ -0,0 +1,38 @@
+package com.izouma.booster.activity;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+
+import com.izouma.booster.databinding.ActivityNotificationSettingsBinding;
+import com.izouma.booster.databinding.ActivitySettingsBinding;
+
+public class NotificationSettingsActivity extends AppCompatActivity {
+    private ActivityNotificationSettingsBinding binding;
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        binding = ActivityNotificationSettingsBinding.inflate(getLayoutInflater());
+        setContentView(binding.getRoot());
+
+        binding.toolbar.setNavigationOnClickListener(v -> {
+            finish();
+        });
+        binding.cellBoost.setOnClickListener(v -> {
+            binding.swBoost.setChecked(!binding.swBoost.isChecked());
+        });
+        binding.cellJunk.setOnClickListener(v -> {
+            binding.swJunk.setChecked(!binding.swJunk.isChecked());
+        });
+        binding.cellCpu.setOnClickListener(v -> {
+            binding.swCpu.setChecked(!binding.swCpu.isChecked());
+        });
+        binding.cellBattery.setOnClickListener(v -> {
+            binding.swBattery.setChecked(!binding.swBattery.isChecked());
+        });
+        binding.cellSecurity.setOnClickListener(v -> {
+            binding.swSecurity.setChecked(!binding.swSecurity.isChecked());
+        });
+    }
+}

+ 26 - 0
app/src/main/java/com/izouma/booster/activity/SettingsActivity.java

@@ -0,0 +1,26 @@
+package com.izouma.booster.activity;
+
+import android.content.Intent;
+import android.os.Bundle;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import com.izouma.booster.databinding.ActivitySettingsBinding;
+
+public class SettingsActivity extends AppCompatActivity {
+    private ActivitySettingsBinding binding;
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        binding = ActivitySettingsBinding.inflate(getLayoutInflater());
+        setContentView(binding.getRoot());
+
+        binding.toolbar.setNavigationOnClickListener(v -> {
+            finish();
+        });
+        binding.btnNotification.setOnClickListener(v -> {
+            startActivity(new Intent(SettingsActivity.this, NotificationSettingsActivity.class));
+        });
+    }
+}

+ 43 - 0
app/src/main/java/com/izouma/booster/activity/VipActivity.java

@@ -2,9 +2,14 @@ package com.izouma.booster.activity;
 
 import androidx.appcompat.app.AppCompatActivity;
 
+import android.graphics.Color;
+import android.graphics.Paint;
 import android.os.Bundle;
+import android.util.Log;
 import android.view.View;
+import android.widget.Toast;
 
+import com.izouma.booster.R;
 import com.izouma.booster.databinding.ActivityVipBinding;
 
 public class VipActivity extends AppCompatActivity {
@@ -17,5 +22,43 @@ public class VipActivity extends AppCompatActivity {
         binding = ActivityVipBinding.inflate(getLayoutInflater());
         View view = binding.getRoot();
         setContentView(view);
+
+        binding.toolbar.setNavigationOnClickListener(v -> {
+            finish();
+        });
+        binding.tvOrig.setPaintFlags(binding.tvOrig.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
+        binding.vip3.setSelected(true);
+
+        binding.vip1.setOnClickListener(v -> {
+            binding.vip1.setSelected(true);
+            binding.vip2.setSelected(false);
+            binding.vip3.setSelected(false);
+            binding.tvPrice.setText(R.string.us_1_49_month);
+            binding.tvOrig.setText(R.string.us_2_98);
+        });
+        binding.vip2.setOnClickListener(v -> {
+            binding.vip1.setSelected(false);
+            binding.vip2.setSelected(true);
+            binding.vip3.setSelected(false);
+            binding.tvPrice.setText(R.string.us_1_99_3_months);
+            binding.tvOrig.setText(R.string.us_3_98);
+        });
+        binding.vip3.setOnClickListener(v -> {
+            binding.vip1.setSelected(false);
+            binding.vip2.setSelected(false);
+            binding.vip3.setSelected(true);
+            binding.tvPrice.setText(R.string.us_5_49_year);
+            binding.tvOrig.setText(R.string.us_10_98);
+        });
+        binding.btnSubscribe.setOnClickListener(v -> {
+            Toast.makeText(VipActivity.this, "subscribe", Toast.LENGTH_SHORT).show();
+        });
+        binding.scrollView.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> {
+            if (scrollY > 10) {
+                binding.toolbar.setBackgroundColor(Color.parseColor("#DDAB64"));
+            } else {
+                binding.toolbar.setBackgroundColor(Color.parseColor("#00FFFFFF"));
+            }
+        });
     }
 }

+ 2 - 0
app/src/main/java/com/izouma/booster/fragment/MyFragment.java

@@ -13,6 +13,7 @@ import android.view.View;
 import android.view.ViewGroup;
 
 import com.izouma.booster.R;
+import com.izouma.booster.activity.SettingsActivity;
 import com.izouma.booster.activity.VipActivity;
 import com.izouma.booster.databinding.MyFragmentBinding;
 import com.izouma.booster.viewModel.HomeViewModel;
@@ -45,6 +46,7 @@ public class MyFragment extends Fragment {
         binding.cellFeedback.setOnClickListener(e -> {
         });
         binding.cellSetting.setOnClickListener(e -> {
+            startActivity(new Intent(getContext(), SettingsActivity.class));
         });
         binding.cellUpdate.setOnClickListener(e -> {
         });

+ 7 - 0
app/src/main/java/com/izouma/booster/fragment/ToolFragment.java

@@ -1,5 +1,6 @@
 package com.izouma.booster.fragment;
 
+import android.content.Intent;
 import android.os.Bundle;
 
 import androidx.annotation.NonNull;
@@ -11,6 +12,7 @@ import android.view.LayoutInflater;
 import android.view.View;
 import android.view.ViewGroup;
 
+import com.izouma.booster.activity.VipActivity;
 import com.izouma.booster.databinding.ToolFragmentBinding;
 import com.izouma.booster.viewModel.HomeViewModel;
 
@@ -34,6 +36,7 @@ public class ToolFragment extends Fragment {
     public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
         super.onViewCreated(view, savedInstanceState);
         viewModel = new ViewModelProvider(requireActivity()).get(HomeViewModel.class);
+        binding.btnTry.setOnClickListener(v -> vip());
     }
 
     @Override
@@ -41,4 +44,8 @@ public class ToolFragment extends Fragment {
         super.onDestroyView();
         binding = null;
     }
+
+    public void vip() {
+        startActivity(new Intent(getContext(), VipActivity.class));
+    }
 }

+ 2 - 1
app/src/main/res/drawable/bg_feature.xml

@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
     <solid android:color="@color/white" />
     <corners android:radius="4dp" />
 </shape>

+ 44 - 0
app/src/main/res/drawable/bg_pay.xml

@@ -0,0 +1,44 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:aapt="http://schemas.android.com/aapt"
+    android:width="375dp"
+    android:height="71dp"
+    android:viewportWidth="375"
+    android:viewportHeight="71">
+  <path
+      android:pathData="M0,-1008h375v1096h-375z"
+      android:strokeWidth="1"
+      android:fillColor="#FFFFFF"
+      android:fillType="nonZero"
+      android:strokeColor="#00000000"/>
+  <path
+      android:pathData="M0,0h375v54h-375z"
+      android:strokeWidth="1"
+      android:fillColor="#2E3440"
+      android:fillType="nonZero"
+      android:strokeColor="#00000000"/>
+  <path
+      android:pathData="M0,0h375v88h-375z"
+      android:strokeWidth="1"
+      android:fillColor="#2E3440"
+      android:fillType="nonZero"
+      android:strokeColor="#00000000"/>
+  <group>
+    <path
+        android:pathData="M244.827,-8l-33.827,122.731l171,41.269l0,-164z"
+        android:strokeWidth="1"
+        android:fillType="nonZero"
+        android:strokeColor="#00000000">
+      <aapt:attr name="android:fillColor">
+        <gradient 
+            android:startY="12.224615"
+            android:startX="337.62024"
+            android:endY="132.3171"
+            android:endX="232.68327"
+            android:type="linear">
+          <item android:offset="0" android:color="#FFDFA449"/>
+          <item android:offset="1" android:color="#FFF4D7A1"/>
+        </gradient>
+      </aapt:attr>
+    </path>
+  </group>
+</vector>

+ 8 - 0
app/src/main/res/drawable/bg_vip_head_price.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <corners android:radius="14dp" />
+    <stroke
+        android:width="1dp"
+        android:color="#F9E1B3" />
+</shape>

+ 12 - 0
app/src/main/res/drawable/ic_inter.xml

@@ -0,0 +1,12 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:viewportWidth="24"
+    android:viewportHeight="24">
+  <path
+      android:pathData="M12.8336,12.1945L9.4749,8.8358C9.182,8.5429 9.182,8.068 9.4749,7.7751C9.7678,7.4822 10.2426,7.4822 10.5355,7.7751L14.4246,11.6642C14.7175,11.9571 14.7175,12.432 14.4246,12.7249L10.5355,16.614C10.2426,16.9069 9.7678,16.9069 9.4749,16.614C9.182,16.3211 9.182,15.8462 9.4749,15.5533L12.8336,12.1945Z"
+      android:strokeWidth="1"
+      android:fillColor="#D6D6D6"
+      android:fillType="evenOdd"
+      android:strokeColor="#00000000"/>
+</vector>

+ 18 - 0
app/src/main/res/drawable/pay_arrow.xml

@@ -0,0 +1,18 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="19dp"
+    android:height="13dp"
+    android:viewportWidth="19"
+    android:viewportHeight="13">
+  <path
+      android:pathData="M5.1481,6.5L0.7853,2.1559C0.4049,1.7771 0.4049,1.1629 0.7853,0.7841C1.1658,0.4053 1.7826,0.4053 2.1631,0.7841L7.2147,5.8141C7.5951,6.1929 7.5951,6.8071 7.2147,7.1859L2.1631,12.2159C1.7826,12.5947 1.1658,12.5947 0.7853,12.2159C0.4049,11.8371 0.4049,11.2229 0.7853,10.8441L5.1481,6.5Z"
+      android:strokeWidth="1"
+      android:fillColor="#2E3440"
+      android:fillType="nonZero"
+      android:strokeColor="#00000000"/>
+  <path
+      android:pathData="M16.1481,6.5L11.7853,2.1559C11.4049,1.7771 11.4049,1.1629 11.7853,0.7841C12.1658,0.4053 12.7826,0.4053 13.163,0.7841L18.2147,5.8141C18.5951,6.1929 18.5951,6.8071 18.2147,7.1859L13.163,12.2159C12.7826,12.5947 12.1658,12.5947 11.7853,12.2159C11.4049,11.8371 11.4049,11.2229 11.7853,10.8441L16.1481,6.5Z"
+      android:strokeWidth="1"
+      android:fillColor="#2E3440"
+      android:fillType="nonZero"
+      android:strokeColor="#00000000"/>
+</vector>

+ 5 - 0
app/src/main/res/drawable/title_indicator.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+    <solid android:color="#E7B97B" />
+    <corners android:radius="3dp" />
+</shape>

+ 19 - 0
app/src/main/res/drawable/vip_head_line.xml

@@ -0,0 +1,19 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="375dp"
+    android:height="33dp"
+    android:viewportWidth="375"
+    android:viewportHeight="33">
+  <path
+      android:pathData="M0,5l187.5,24l187.5,-25l0,29l-375,0z"
+      android:strokeWidth="1"
+      android:fillColor="#FFFFFF"
+      android:fillType="evenOdd"
+      android:strokeColor="#00000000"/>
+  <path
+      android:pathData="M0,5l187.5,24l187.5,-25"
+      android:strokeWidth="6"
+      android:fillColor="#00000000"
+      android:strokeColor="#F8DBCC"
+      android:fillType="evenOdd"
+      android:strokeLineCap="round"/>
+</vector>

+ 5 - 0
app/src/main/res/drawable/vip_item.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+    <item android:drawable="@drawable/vip_item_selected" android:state_selected="true" />
+    <item android:drawable="@drawable/vip_item_normal" />
+</selector>

+ 7 - 0
app/src/main/res/drawable/vip_item_normal.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+    <corners android:radius="9dp" />
+    <stroke
+        android:width="1dp"
+        android:color="#DDAB64" />
+</shape>

+ 8 - 0
app/src/main/res/drawable/vip_item_selected.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+    <corners android:radius="9dp" />
+    <stroke
+        android:width="1dp"
+        android:color="#DDAB64" />
+    <solid android:color="#FFEFD9" />
+</shape>

+ 233 - 0
app/src/main/res/layout/activity_notification_settings.xml

@@ -0,0 +1,233 @@
+<?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"
+    android:background="@color/background"
+    tools:context=".activity.NotificationSettingsActivity">
+
+    <androidx.appcompat.widget.Toolbar
+        android:id="@+id/toolbar"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:background="@color/white"
+        android:fitsSystemWindows="true"
+        app:layout_constraintTop_toTopOf="parent"
+        app:navigationIcon="?attr/homeAsUpIndicator"
+        app:title="@string/notification_setting"
+        app:titleTextColor="@color/black" />
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="0dp"
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintEnd_toEndOf="parent"
+        app:layout_constraintStart_toStartOf="parent"
+        app:layout_constraintTop_toBottomOf="@id/toolbar">
+
+        <LinearLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:orientation="vertical"
+            android:paddingLeft="21dp"
+            android:paddingRight="21dp">
+
+            <LinearLayout
+                android:id="@+id/cell_boost"
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/boost_reminder"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="4dp"
+                        android:text="@string/remind_me_when_ram_is_too_high"
+                        android:textColor="#AAACAD"
+                        android:textSize="13sp" />
+                </LinearLayout>
+
+                <androidx.appcompat.widget.SwitchCompat
+                    android:id="@+id/sw_boost"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginEnd="10dp" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/cell_junk"
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/junk_reminder"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="4dp"
+                        android:text="@string/remind_me_when_junk_files_are_to_many"
+                        android:textColor="#AAACAD"
+                        android:textSize="13sp" />
+                </LinearLayout>
+
+                <androidx.appcompat.widget.SwitchCompat
+                    android:id="@+id/sw_junk"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginEnd="10dp" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/cell_cpu"
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/cpu_overuse_reminder"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="4dp"
+                        android:text="@string/remind_when_cpu_usage_is_high"
+                        android:textColor="#AAACAD"
+                        android:textSize="13sp" />
+                </LinearLayout>
+
+                <androidx.appcompat.widget.SwitchCompat
+                    android:id="@+id/sw_cpu"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginEnd="10dp" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/cell_battery"
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/battery_drainage_reminder"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="4dp"
+                        android:text="@string/remind_of_abnormal_battery_drainage"
+                        android:textColor="#AAACAD"
+                        android:textSize="13sp" />
+                </LinearLayout>
+
+                <androidx.appcompat.widget.SwitchCompat
+                    android:id="@+id/sw_battery"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginEnd="10dp" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/cell_security"
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/security_reminder"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="4dp"
+                        android:text="@string/remind_you_when_your_phone_hasn_t_been_scanned_for_potential_threats_for_a_long_time"
+                        android:textColor="#AAACAD"
+                        android:textSize="13sp" />
+                </LinearLayout>
+
+                <androidx.appcompat.widget.SwitchCompat
+                    android:id="@+id/sw_security"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginEnd="10dp" />
+            </LinearLayout>
+        </LinearLayout>
+    </ScrollView>
+
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 184 - 0
app/src/main/res/layout/activity_settings.xml

@@ -0,0 +1,184 @@
+<?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"
+    android:background="@color/background"
+    tools:context=".activity.SettingsActivity">
+
+    <androidx.appcompat.widget.Toolbar
+        android:id="@+id/toolbar"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:background="@color/white"
+        android:fitsSystemWindows="true"
+        app:layout_constraintTop_toTopOf="parent"
+        app:navigationIcon="?attr/homeAsUpIndicator"
+        app:title="@string/settings"
+        app:titleTextColor="@color/black" />
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="0dp"
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintEnd_toEndOf="parent"
+        app:layout_constraintStart_toStartOf="parent"
+        app:layout_constraintTop_toBottomOf="@id/toolbar">
+
+        <LinearLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:orientation="vertical"
+            android:paddingLeft="21dp"
+            android:paddingRight="21dp">
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <TextView
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:text="@string/temperature_unit"
+                    android:textColor="@color/black"
+                    android:textSize="15sp"
+                    android:textStyle="bold" />
+
+                <com.google.android.material.button.MaterialButtonToggleGroup
+                    android:id="@+id/toggleGroup"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginRight="14dp"
+                    android:padding="0dp"
+                    android:theme="@style/ThemeOverlay.MaterialComponents.Light"
+                    app:checkedButton="@+id/btn_celsius"
+                    app:singleSelection="true">
+
+                    <com.google.android.material.button.MaterialButton
+                        android:id="@+id/btn_celsius"
+                        style="@style/Widget.MaterialComponents.Button.OutlinedButton"
+                        android:layout_width="50dp"
+                        android:layout_height="wrap_content"
+                        android:text="°C" />
+
+                    <com.google.android.material.button.MaterialButton
+                        android:id="@+id/btn_fahrenheit"
+                        style="@style/Widget.MaterialComponents.Button.OutlinedButton"
+                        android:layout_width="50dp"
+                        android:layout_height="wrap_content"
+                        android:text="°F" />
+
+                </com.google.android.material.button.MaterialButtonToggleGroup>
+
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/btn_notification"
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <TextView
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:text="@string/notification_setting"
+                    android:textColor="@color/black"
+                    android:textSize="15sp"
+                    android:textStyle="bold" />
+
+                <ImageView
+                    android:layout_width="26dp"
+                    android:layout_height="26dp"
+                    android:layout_marginEnd="15dp"
+                    android:src="@drawable/ic_inter" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/onetap_clean"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="4dp"
+                        android:text="@string/create_home_screen_shortcut"
+                        android:textColor="#AAACAD"
+                        android:textSize="14sp" />
+                </LinearLayout>
+
+                <ImageView
+                    android:layout_width="26dp"
+                    android:layout_height="26dp"
+                    android:layout_marginEnd="15dp"
+                    android:src="@drawable/ic_inter" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="79dp"
+                android:layout_marginTop="17dp"
+                android:background="@drawable/bg_home_btn"
+                android:gravity="start|center">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="17dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/onetap_boost"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="4dp"
+                        android:text="@string/create_home_screen_shortcut"
+                        android:textColor="#AAACAD"
+                        android:textSize="14sp" />
+                </LinearLayout>
+
+                <ImageView
+                    android:layout_width="26dp"
+                    android:layout_height="26dp"
+                    android:layout_marginEnd="15dp"
+                    android:src="@drawable/ic_inter" />
+            </LinearLayout>
+        </LinearLayout>
+    </ScrollView>
+
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 527 - 0
app/src/main/res/layout/activity_vip.xml

@@ -4,6 +4,533 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:background="@color/white"
     tools:context=".activity.VipActivity">
 
+    <ScrollView
+        android:id="@+id/scroll_view"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:background="@color/white"
+        android:scrollbars="none"
+        tools:context=".activity.VipActivity">
+
+        <androidx.appcompat.widget.LinearLayoutCompat
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:orientation="vertical">
+
+            <androidx.constraintlayout.widget.ConstraintLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content">
+
+                <ImageView
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:adjustViewBounds="true"
+                    android:scaleType="fitXY"
+                    android:src="@mipmap/vip_head_bg"
+                    app:layout_constraintBottom_toBottomOf="parent"
+                    app:layout_constraintEnd_toEndOf="parent"
+                    app:layout_constraintStart_toStartOf="parent"
+                    app:layout_constraintTop_toTopOf="parent" />
+
+                <ImageView
+                    android:id="@+id/bg"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:adjustViewBounds="true"
+                    android:scaleType="fitXY"
+                    android:src="@mipmap/vip_head"
+                    app:layout_constraintBottom_toBottomOf="parent"
+                    app:layout_constraintEnd_toEndOf="parent"
+                    app:layout_constraintStart_toStartOf="parent" />
+
+                <ImageView
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:adjustViewBounds="true"
+                    android:scaleType="fitXY"
+                    android:src="@drawable/vip_head_line"
+                    app:layout_constraintBottom_toBottomOf="parent"
+                    app:layout_constraintEnd_toEndOf="parent"
+                    app:layout_constraintStart_toStartOf="parent" />
+
+                <androidx.appcompat.widget.LinearLayoutCompat
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    android:layout_marginStart="36dp"
+                    android:layout_marginTop="39dp"
+                    app:layout_constraintLeft_toLeftOf="@id/bg"
+                    app:layout_constraintRight_toRightOf="@id/bg"
+                    app:layout_constraintTop_toTopOf="@id/bg">
+
+                    <ImageView
+                        android:layout_width="20dp"
+                        android:layout_height="21dp"
+                        android:src="@mipmap/icon_vip_gold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginStart="7dp"
+                        android:fontFamily="@font/pang_men_zheng_dao"
+                        android:text="Booster Premium"
+                        android:textColor="#F9E1B3"
+                        android:textSize="19sp" />
+
+                    <TextView
+                        android:layout_width="0dp"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginEnd="36dp"
+                        android:height="28dp"
+                        android:background="@drawable/bg_vip_head_price"
+                        android:gravity="center"
+                        android:paddingStart="12dp"
+                        android:paddingEnd="12dp"
+                        android:text="@string/_5_49_year"
+                        android:textColor="#F9E1B3"
+                        android:textSize="14sp" />
+                </androidx.appcompat.widget.LinearLayoutCompat>
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="86dp"
+                    android:text="No Ads and Popups + 2 Special Privilege"
+                    android:textColor="#F9E1B3"
+                    android:textSize="16sp"
+                    app:layout_constraintLeft_toLeftOf="@id/bg"
+                    app:layout_constraintRight_toRightOf="@id/bg"
+                    app:layout_constraintTop_toTopOf="@id/bg" />
+            </androidx.constraintlayout.widget.ConstraintLayout>
+
+            <androidx.appcompat.widget.LinearLayoutCompat
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="32dp"
+                android:gravity="start|center">
+
+                <ImageView
+                    android:layout_width="5dp"
+                    android:layout_height="17dp"
+                    android:layout_marginStart="21dp"
+                    android:src="@drawable/title_indicator" />
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="9dp"
+                    android:text="@string/premium_features"
+                    android:textColor="@color/black"
+                    android:textSize="17sp"
+                    android:textStyle="bold" />
+            </androidx.appcompat.widget.LinearLayoutCompat>
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="15dp"
+                android:paddingLeft="21dp"
+                android:paddingRight="21dp">
+
+                <RelativeLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_weight="1">
+
+                    <ImageView
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:adjustViewBounds="true"
+                        android:scaleType="fitXY"
+                        android:src="@mipmap/bg_vip_feature" />
+
+                    <LinearLayout
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerInParent="true"
+                        android:gravity="center"
+                        android:orientation="vertical">
+
+                        <ImageView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="20dp"
+                            android:src="@mipmap/icon_vip_feature_1" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="34dp"
+                            android:layout_marginTop="1dp"
+                            android:gravity="center|top"
+                            android:text="@string/remove_adds_and_popups"
+                            android:textColor="@color/white"
+                            android:textSize="13sp" />
+                    </LinearLayout>
+                </RelativeLayout>
+
+                <RelativeLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="23dp"
+                    android:layout_weight="1">
+
+                    <ImageView
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:adjustViewBounds="true"
+                        android:scaleType="fitXY"
+                        android:src="@mipmap/bg_vip_feature" />
+
+                    <LinearLayout
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerInParent="true"
+                        android:gravity="center"
+                        android:orientation="vertical">
+
+                        <ImageView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="20dp"
+                            android:src="@mipmap/icon_vip_feature_2" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="34dp"
+                            android:layout_marginTop="1dp"
+                            android:gravity="center|top"
+                            android:text="@string/auto_scan"
+                            android:textColor="@color/white"
+                            android:textSize="13sp" />
+                    </LinearLayout>
+                </RelativeLayout>
+
+                <RelativeLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="23dp"
+                    android:layout_weight="1">
+
+                    <ImageView
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:adjustViewBounds="true"
+                        android:scaleType="fitXY"
+                        android:src="@mipmap/bg_vip_feature" />
+
+                    <LinearLayout
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerInParent="true"
+                        android:gravity="center"
+                        android:orientation="vertical">
+
+                        <ImageView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="20dp"
+                            android:src="@mipmap/icon_vip_feature_3" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="34dp"
+                            android:layout_marginTop="1dp"
+                            android:gravity="center|top"
+                            android:text="@string/vip_feedback"
+                            android:textColor="@color/white"
+                            android:textSize="13sp" />
+                    </LinearLayout>
+                </RelativeLayout>
+            </LinearLayout>
+
+            <androidx.appcompat.widget.LinearLayoutCompat
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="32dp"
+                android:gravity="start|center">
+
+                <ImageView
+                    android:layout_width="5dp"
+                    android:layout_height="17dp"
+                    android:layout_marginStart="21dp"
+                    android:src="@drawable/title_indicator" />
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="9dp"
+                    android:text="@string/subscribe_now"
+                    android:textColor="@color/black"
+                    android:textSize="17sp"
+                    android:textStyle="bold" />
+            </androidx.appcompat.widget.LinearLayoutCompat>
+
+            <LinearLayout
+                android:id="@+id/vip1"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginStart="21dp"
+                android:layout_marginTop="17dp"
+                android:layout_marginEnd="21dp"
+                android:background="@drawable/vip_item"
+                android:gravity="center"
+                android:paddingTop="20dp"
+                android:paddingBottom="20dp">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="13dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/_1_month"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="11sp"
+                        android:text="@string/billed_as_us_1_49_month"
+                        android:textColor="@color/black"
+                        android:textSize="15sp" />
+                </LinearLayout>
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="@string/us_1_49"
+                    android:textColor="@color/black"
+                    android:textSize="15sp"
+                    android:textStyle="bold" />
+
+                <ImageView
+                    android:layout_width="26dp"
+                    android:layout_height="26dp"
+                    android:layout_marginEnd="15dp"
+                    android:src="@drawable/ic_inter" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/vip2"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginStart="21dp"
+                android:layout_marginTop="20dp"
+                android:layout_marginEnd="21dp"
+                android:background="@drawable/vip_item"
+                android:gravity="center"
+                android:paddingTop="20dp"
+                android:paddingBottom="20dp">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="13dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/_3_months"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="11sp"
+                        android:text="@string/billed_as_us_1_99_3months"
+                        android:textColor="@color/black"
+                        android:textSize="15sp" />
+                </LinearLayout>
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="@string/us_1_99"
+                    android:textColor="@color/black"
+                    android:textSize="15sp"
+                    android:textStyle="bold" />
+
+                <ImageView
+                    android:layout_width="26dp"
+                    android:layout_height="26dp"
+                    android:layout_marginEnd="15dp"
+                    android:src="@drawable/ic_inter" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/vip3"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginStart="21dp"
+                android:layout_marginTop="20dp"
+                android:layout_marginEnd="21dp"
+                android:background="@drawable/vip_item"
+                android:gravity="center"
+                android:paddingTop="20dp"
+                android:paddingBottom="20dp">
+
+                <LinearLayout
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="13dp"
+                    android:layout_weight="1"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="@string/_1_year"
+                        android:textColor="@color/black"
+                        android:textSize="15sp"
+                        android:textStyle="bold" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="11sp"
+                        android:text="@string/billed_as_us_5_49_year"
+                        android:textColor="@color/black"
+                        android:textSize="15sp" />
+                </LinearLayout>
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="@string/us_5_49"
+                    android:textColor="@color/black"
+                    android:textSize="15sp"
+                    android:textStyle="bold" />
+
+                <ImageView
+                    android:layout_width="26dp"
+                    android:layout_height="26dp"
+                    android:layout_marginEnd="15dp"
+                    android:src="@drawable/ic_inter" />
+            </LinearLayout>
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_marginStart="21dp"
+                android:layout_marginTop="21dp"
+                android:layout_marginEnd="21dp"
+                android:layout_marginBottom="90dp"
+                android:lineSpacingExtra="3dp"
+                android:text="@string/billing_des"
+                android:textSize="13sp" />
+        </androidx.appcompat.widget.LinearLayoutCompat>
+    </ScrollView>
+
+    <androidx.appcompat.widget.Toolbar
+        android:id="@+id/toolbar"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:background="@android:color/transparent"
+        android:fitsSystemWindows="true"
+        app:layout_constraintTop_toTopOf="parent"
+        app:navigationIcon="?attr/homeAsUpIndicator"
+        app:title="@string/subscribe"
+        app:titleTextColor="@color/white" />
+
+    <androidx.constraintlayout.widget.ConstraintLayout
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintRight_toRightOf="parent">
+
+        <androidx.constraintlayout.widget.Guideline
+            android:id="@+id/guideline2"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:orientation="vertical"
+            app:layout_constraintGuide_percent="0.625" />
+
+        <ImageView
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:adjustViewBounds="true"
+            android:src="@drawable/bg_pay"
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintLeft_toLeftOf="parent"
+            app:layout_constraintRight_toRightOf="parent"
+            app:layout_constraintTop_toTopOf="parent" />
+
+        <LinearLayout
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintEnd_toEndOf="@id/guideline2"
+            app:layout_constraintStart_toStartOf="parent"
+            app:layout_constraintTop_toTopOf="parent">
+
+            <TextView
+                android:id="@+id/tv_price"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="@string/us_5_49_year"
+                android:textColor="#F9E1B3"
+                android:textSize="20sp"
+                android:textStyle="bold" />
+
+            <TextView
+                android:id="@+id/tv_orig"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_marginStart="3dp"
+                android:text="@string/us_10_98"
+                android:textColor="#939394"
+                android:textSize="13sp" />
+        </LinearLayout>
+
+        <LinearLayout
+            android:layout_width="0dp"
+            android:layout_height="wrap_content"
+            android:gravity="center"
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintEnd_toEndOf="parent"
+            app:layout_constraintStart_toStartOf="@id/guideline2"
+            app:layout_constraintTop_toTopOf="parent">
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="@string/subscribe_now"
+                android:textColor="#2E3440"
+                android:textSize="16sp" />
+
+            <ImageView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_marginStart="3dp"
+                android:src="@drawable/pay_arrow" />
+        </LinearLayout>
+
+        <Button
+            android:id="@+id/btn_subscribe"
+            android:layout_width="0dp"
+            android:layout_height="0dp"
+            android:background="@android:color/transparent"
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintEnd_toEndOf="parent"
+            app:layout_constraintStart_toStartOf="@id/guideline2"
+            app:layout_constraintTop_toTopOf="parent" />
+    </androidx.constraintlayout.widget.ConstraintLayout>
 </androidx.constraintlayout.widget.ConstraintLayout>

+ 1 - 0
app/src/main/res/layout/tool_fragment.xml

@@ -44,6 +44,7 @@
             android:paddingRight="16dp">
 
             <androidx.constraintlayout.widget.ConstraintLayout
+                android:id="@+id/btn_try"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content">
 

BIN
app/src/main/res/mipmap-xhdpi/bg_vip_feature.png


BIN
app/src/main/res/mipmap-xhdpi/icon_vip_feature_1.png


BIN
app/src/main/res/mipmap-xhdpi/icon_vip_feature_2.png


BIN
app/src/main/res/mipmap-xhdpi/icon_vip_feature_3.png


BIN
app/src/main/res/mipmap-xhdpi/icon_vip_gold.png


BIN
app/src/main/res/mipmap-xhdpi/vip_head.png


BIN
app/src/main/res/mipmap-xhdpi/vip_head_bg.png


BIN
app/src/main/res/mipmap-xxhdpi/bg_vip_feature.png


BIN
app/src/main/res/mipmap-xxhdpi/icon_vip_feature_1.png


BIN
app/src/main/res/mipmap-xxhdpi/icon_vip_feature_2.png


BIN
app/src/main/res/mipmap-xxhdpi/icon_vip_feature_3.png


BIN
app/src/main/res/mipmap-xxhdpi/icon_vip_gold.png


BIN
app/src/main/res/mipmap-xxhdpi/vip_head.png


BIN
app/src/main/res/mipmap-xxhdpi/vip_head_bg.png


BIN
app/src/main/res/mipmap-xxxhdpi/bg_vip_feature.png


BIN
app/src/main/res/mipmap-xxxhdpi/icon_vip_feature_1.png


BIN
app/src/main/res/mipmap-xxxhdpi/icon_vip_feature_2.png


BIN
app/src/main/res/mipmap-xxxhdpi/icon_vip_feature_3.png


BIN
app/src/main/res/mipmap-xxxhdpi/icon_vip_gold.png


BIN
app/src/main/res/mipmap-xxxhdpi/vip_head.png


BIN
app/src/main/res/mipmap-xxxhdpi/vip_head_bg.png


+ 37 - 1
app/src/main/res/values/strings.xml

@@ -43,6 +43,42 @@
     <string name="auto_clean">Auto Clean</string>
     <string name="try_premium">Try Premium</string>
     <string name="features">Features</string>
-    <string name="no_ads_no_pop_ips_all_premium_features">No ads, no pop-ips, All premium features</string>
+    <string name="no_ads_no_pop_ips_all_premium_features">No ads, no pop-ups, All premium features</string>
     <string name="subscribe_now">Subscribe Now</string>
+    <string name="subscribe">Subscribe</string>
+    <string name="premium_features">Premium Features</string>
+    <string name="remove_adds_and_popups">Remove Adds \nand Popups</string>
+    <string name="vip_feedback">VIP Feedback</string>
+    <string name="_1_month">1 Month</string>
+    <string name="billed_as_us_1_49_month">Billed as US$1.49/Month</string>
+    <string name="us_1_49">US$1.49</string>
+    <string name="_3_months">3 Months</string>
+    <string name="billed_as_us_1_99_3months">Billed as US$1.99/3Months</string>
+    <string name="us_1_99">US$1.99</string>
+    <string name="_1_year">1 Year</string>
+    <string name="billed_as_us_5_49_year">Billed as US$5.49/Year</string>
+    <string name="us_5_49">US$5.49</string>
+    <string name="_5_49_year">$5.49/Year</string>
+    <string name="billing_des">With an premium subscription, you have access to all paid features for free. And advertisements will be removed evermore.\n\nPremium subscription is billed monthly/quarterly/yearly at the corresponding price. And the payment is charged through Google Play Store at confirmation of purchase.\n\nSubscription auto-renews before the end of the current period, unless canceled 24-hours in advance. You may manage your subscriptions and turned off auto-renewal from your Google Play Store account settings.</string>
+    <string name="us_1_49_month">US$1.49/Month</string>
+    <string name="us_2_98">US$2.98</string>
+    <string name="us_1_99_3_months">US$1.99/3Months</string>
+    <string name="us_3_98">US$3.98</string>
+    <string name="us_5_49_year">US$5.49/Year</string>
+    <string name="us_10_98">US$10.98</string>
+    <string name="temperature_unit">Temperature Unit</string>
+    <string name="notification_setting">Notification Setting</string>
+    <string name="onetap_boost">OneTap Boost</string>
+    <string name="onetap_clean">OneTap Clean</string>
+    <string name="create_home_screen_shortcut">Create home screen shortcut</string>
+    <string name="boost_reminder">Boost Reminder</string>
+    <string name="remind_me_when_ram_is_too_high">Remind me when RAM is too high</string>
+    <string name="junk_reminder">Junk Reminder</string>
+    <string name="remind_me_when_junk_files_are_to_many">Remind me when junk files are to many</string>
+    <string name="cpu_overuse_reminder">CPU Overuse Reminder</string>
+    <string name="remind_when_cpu_usage_is_high">Remind when CPU usage is high</string>
+    <string name="remind_of_abnormal_battery_drainage">Remind of abnormal battery drainage</string>
+    <string name="battery_drainage_reminder">Battery Drainage Reminder</string>
+    <string name="remind_you_when_your_phone_hasn_t_been_scanned_for_potential_threats_for_a_long_time">Remind when your phone hasn\'t been scanned for potential threats for a long time</string>
+    <string name="security_reminder">Security Reminder</string>
 </resources>

+ 14 - 0
app/src/main/res/values/themes.xml

@@ -39,4 +39,18 @@
         <item name="android:statusBarColor" tools:targetApi="l">@android:color/transparent</item>
         <item name="colorControlNormal">@color/white</item>
     </style>
+
+    <style name="Theme.Booster.Settings" parent="Theme.MaterialComponents.Light.NoActionBar">
+        <item name="colorPrimary">@color/light_green</item>
+        <item name="colorPrimaryVariant">@color/light_green</item>
+        <item name="colorOnPrimary">@color/background</item>
+        <item name="colorSecondary">@color/light_green</item>
+        <item name="colorSecondaryVariant">@color/teal_700</item>
+        <item name="colorOnSecondary">@color/black</item>
+
+        <item name="android:screenOrientation">portrait</item>
+        <item name="android:windowTranslucentStatus">true</item>
+        <item name="android:statusBarColor" tools:targetApi="l">@android:color/transparent</item>
+        <item name="colorControlNormal">@color/black</item>
+    </style>
 </resources>