Commit a4b70cc6 authored by wanglei's avatar wanglei

==================对齐5.16号主包版本和bug修复====================

parent d09b150f
......@@ -8,10 +8,6 @@ plugins {
// id 'com.google.gms.google-services'
}
//applovin {
// apiKey "7M6t_fBDFPKdlDdekL1bw1OntM7gd4Vk5yK_p7yEdl9BCKCfGZpmZMvL2LDHcuNGWIHLXPD0w_SFDDv94WMaSw"
//}
android {
namespace 'com.zxhyis.toolss'
compileSdk 34
......@@ -96,19 +92,8 @@ dependencies {
implementation 'com.belerweb:pinyin4j:2.5.1'
implementation files('libs/trustlook_cleanjunk_sdk_release_3.0.4.20240322.aar')
//广告
// implementation("com.applovin:applovin-sdk:+")
// implementation 'com.applovin:applovin-sdk:12.4.2'
// implementation 'com.applovin.mediation:google-adapter:23.0.0.0'
// implementation 'com.applovin.mediation:ironsource-adapter:8.0.0.0.0'
// implementation 'com.applovin.mediation:vungle-adapter:7.3.1.2'
// implementation 'com.applovin.mediation:facebook-adapter:6.17.0.0'
// implementation 'com.applovin.mediation:mintegral-adapter:16.7.21.0'
// implementation 'com.applovin.mediation:bytedance-adapter:5.9.0.2.0'
// implementation 'com.applovin.mediation:fyber-adapter:8.2.7.1'
// implementation 'com.applovin.mediation:unityads-adapter:4.10.0.0'
// implementation 'com.applovin.mediation:yandex-adapter:6.4.1.0'
//广告
implementation 'com.google.firebase:firebase-analytics:21.6.2'
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
implementation 'com.google.android.gms:play-services-appset:16.0.2'
......
......@@ -7,6 +7,7 @@
android:name="android.hardware.camera"
android:required="false" /> <!-- 网络权限 -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
......@@ -64,6 +65,7 @@
android:exported="true"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="@style/splashtheme"
tools:ignore="DiscouragedApi,LockedOrientationActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......
......@@ -24,10 +24,10 @@ import com.zxhyis.toolss.ui.start.FlashlightService
object OpenNotificationsUtil {
const val OPEN_APP_NOTIFICATION = 200
const val OPEN_LISTENER_SETTINGS = 201
const val OPEN_SERVICE_NOTIFICATION_ID = 1
const val OPEN_MESSAGE_NOTIFICATION_ID = 2
const val OPEN_APP_NOTIFICATION = 213
const val OPEN_LISTENER_SETTINGS = 251
const val OPEN_SERVICE_NOTIFICATION_ID = 67
const val OPEN_MESSAGE_NOTIFICATION_ID = 8
/**
* 是否开启APP通知
......@@ -121,6 +121,7 @@ object OpenNotificationsUtil {
context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
val contentView = RemoteViews(context.packageName, R.layout.reminder_layout_notification)
val expendView = RemoteViews(context.packageName, R.layout.reminder_layout_notification_big)
val intent0 = Intent(context, PrepareScanActivity::class.java)
val pendingIntent0 =
PendingIntent.getActivity(context, 0, intent0, PendingIntent.FLAG_IMMUTABLE)
......@@ -135,14 +136,15 @@ object OpenNotificationsUtil {
val pendingIntent2 =
PendingIntent.getActivity(context, 0, intent2, PendingIntent.FLAG_IMMUTABLE)
contentView.setOnClickPendingIntent(R.id.id_battery, pendingIntent2)
val serviceComponet = ComponentName(context, FlashlightService::class.java)
val intent3 = Intent()
intent3.component = serviceComponet
val serviceComponent = ComponentName(context, FlashlightService::class.java)
intent3.component = serviceComponent
val pendingIntent3 =
PendingIntent.getService(context, 0, intent3, PendingIntent.FLAG_IMMUTABLE)
contentView.setOnClickPendingIntent(R.id.id_lighit, pendingIntent3)
expendView.setOnClickPendingIntent(R.id.id_lighit, pendingIntent3)
val intent4 = Intent(context, AppManager2Activity::class.java)
val pendingIntent4 =
PendingIntent.getActivity(context, 0, intent4, PendingIntent.FLAG_IMMUTABLE)
......
......@@ -11,8 +11,10 @@ import android.net.Uri
import android.os.Build
import androidx.activity.OnBackPressedCallback
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import androidx.viewpager2.adapter.FragmentStateAdapter
import androidx.viewpager2.widget.ViewPager2
import com.blankj.utilcode.util.AppUtils
import com.blankj.utilcode.util.BarUtils
import com.zxhyis.toolss.R
import com.zxhyis.toolss.base.TopActivity
......@@ -21,6 +23,9 @@ import com.zxhyis.toolss.ui.dialog.ExitDialog
import com.zxhyis.toolss.ui.dialog.RateStarPop
import com.zxhyis.toolss.ui.page.PopExitWindow
import com.zxhyis.toolss.ui.page.notifaction.HistoryDatabase
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
class MainActivity : TopActivity<ActivityMainBinding>() {
......@@ -42,8 +47,12 @@ class MainActivity : TopActivity<ActivityMainBinding>() {
override fun onResume() {
super.onResume()
RateStarPop.show(this)
if (AppUtils.isAppForeground()) {
lifecycleScope.launch(Dispatchers.Main) {
delay(1000)
RateStarPop.show(this@MainActivity)
}
}
}
private fun createShortcut() {
......
package com.zxhyis.toolss.ui.page
import android.animation.Animator
import android.annotation.SuppressLint
import android.bluetooth.BluetoothAdapter
import android.content.BroadcastReceiver
......@@ -13,16 +14,12 @@ import android.location.LocationManager
import android.net.wifi.WifiConfiguration
import android.net.wifi.WifiManager
import android.os.BatteryManager
import android.os.Handler
import android.os.Looper
import android.os.Message
import android.os.SystemClock
import android.provider.Settings
import android.view.View
import androidx.activity.OnBackPressedCallback
import androidx.activity.result.contract.ActivityResultContracts
import androidx.lifecycle.lifecycleScope
import com.bumptech.glide.Glide
import androidx.core.view.isVisible
import com.zxhyis.toolss.R
import com.zxhyis.toolss.ad.AdmobUtils
import com.zxhyis.toolss.base.TopActivity
......@@ -33,12 +30,9 @@ import com.zxhyis.toolss.logic.startActivity
import com.zxhyis.toolss.logic.testLog
import com.zxhyis.toolss.ui.AFunOb
import com.zxhyis.toolss.ui.page.result.ResultActivity
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import java.util.Calendar
import java.util.Date
import java.util.Timer
import java.util.TimerTask
import kotlin.math.roundToInt
@SuppressLint("SetTextI18n")
......@@ -46,30 +40,31 @@ class BatteryInfoActivity : TopActivity<ActivityBatteryInfoBinding>() {
private lateinit var receiver: BatteryReceiver
private var isNeedRefresh = true
private val handler = object : Handler(Looper.getMainLooper()) {
override fun handleMessage(msg: Message) {
super.handleMessage(msg)
when (msg.what) {
1 -> {
if (i < 100) {
i += 2
vb.tvProgress.text = "$i%"
} else {
i = 100
vb.tvProgress.text = "$i%"
timer.cancel()
lifecycleScope.launch {
delay(500)
AdmobUtils.showInterstitialAd(this@BatteryInfoActivity)
// MaxAdUtils.showMaxInterstitialAd(this@BatteryInfoActivity,"interstitial_slot")
updateUI()
}
}
}
}
}
}
// private val handler = object : Handler(Looper.getMainLooper()) {
//
// override fun handleMessage(msg: Message) {
// super.handleMessage(msg)
// when (msg.what) {
// 1 -> {
// if (i < 100) {
// i += 2
// vb.tvProgress.text = "$i%"
// } else {
// i = 100
// vb.tvProgress.text = "$i%"
// timer.cancel()
// lifecycleScope.launch {
// delay(500)
// AdmobUtils.showInterstitialAd(this@BatteryInfoActivity)
// // MaxAdUtils.showMaxInterstitialAd(this@BatteryInfoActivity,"interstitial_slot")
// updateUI()
// }
// }
// }
// }
// }
// }
private lateinit var cm: CameraManager
private lateinit var cameraId: String
private var isTorchOn = false
......@@ -140,6 +135,12 @@ class BatteryInfoActivity : TopActivity<ActivityBatteryInfoBinding>() {
}
setFilter()
vb.idBatteryLottie.imageAssetsFolder = "battery_info/images/"
vb.idBatteryLottie.setAnimation("battery_info/data.json")
vb.idBatteryLottie.playAnimation()
vb.root.postDelayed({
playFinish()
}, 5000)
vb.inPower.tvTitle.text = "Battery information"
vb.inPower.tvMenu.visibility = View.GONE
vb.inPower.ivBack.setOnClick(javaClass.simpleName) {
......@@ -147,7 +148,10 @@ class BatteryInfoActivity : TopActivity<ActivityBatteryInfoBinding>() {
}
onBackPressedDispatcher.addCallback(object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
finishToMain()
AdmobUtils.showInterstitialAd(this@BatteryInfoActivity) {
finishToMain()
}
}
})
......@@ -181,17 +185,43 @@ class BatteryInfoActivity : TopActivity<ActivityBatteryInfoBinding>() {
finish()
}
setTimer()
// setTimer()
Glide.with(this)
.asGif()
.load(R.drawable.power_load)
.into(vb.ivLoad)
// Glide.with(this)
// .asGif()
// .load(R.drawable.power_load)
// .into(vb.ivLoad)
}
private fun playFinish() {
vb.idConsOne.isVisible = false
vb.idConsBatteryFinish.isVisible = true
vb.idBatteryFinish.addAnimatorListener(object : Animator.AnimatorListener {
override fun onAnimationStart(p0: Animator) {
}
override fun onAnimationEnd(p0: Animator) {
AdmobUtils.showInterstitialAd(this@BatteryInfoActivity) {
updateUI()
}
}
override fun onAnimationCancel(p0: Animator) {
}
override fun onAnimationRepeat(p0: Animator) {
}
})
}
private fun checkFlashLight() {
cm.registerTorchCallback(object : CameraManager.TorchCallback() {
override fun onTorchModeChanged(cameraId: String, enabled: Boolean) {
......@@ -227,7 +257,7 @@ class BatteryInfoActivity : TopActivity<ActivityBatteryInfoBinding>() {
}
private fun checkBluetooth() {
// vb.switchTwo.isChecked = bluetoothAdapter?.isEnabled == true
// vb.switchTwo.isChecked = bluetoothAdapter?.isEnabled == true
}
private fun turnOnBluetooth() {
......@@ -343,27 +373,29 @@ class BatteryInfoActivity : TopActivity<ActivityBatteryInfoBinding>() {
private fun updateUI() {
vb.apply {
ivLoad.visibility = View.GONE
tvProgress.visibility = View.GONE
// ivLoad.visibility = View.GONE
// tvProgress.visibility = View.GONE
idBatteryLottie.visibility = View.GONE
idConsBatteryFinish.isVisible = false
nsv.visibility = View.VISIBLE
btOk.visibility = View.VISIBLE
inPower.clInclude.visibility = View.VISIBLE
}
}
private fun setTimer() {
timer.schedule(
object : TimerTask() {
override fun run() {
val message = Message()
message.what = 1
handler.sendMessage(message)
}
},
500,
80
)
}
// private fun setTimer() {
// timer.schedule(
// object : TimerTask() {
// override fun run() {
// val message = Message()
// message.what = 1
// handler.sendMessage(message)
// }
// },
// 500,
// 80
// )
// }
override fun onResume() {
super.onResume()
......
......@@ -30,7 +30,11 @@ class SpeakCleaningActivity : TopActivity<ActivityLayoutSpeakerCleaningBinding>(
}
override fun onStop() {
super.onStop()
zAudio.pause()
try {
zAudio.pause()
} catch (e: Exception) {
zAudio.stop()
}
}
override fun onDestroy() {
super.onDestroy()
......
......@@ -52,7 +52,9 @@ class VirusActivity : TopActivity<ActivityLayoutVirusBinding>() {
}
onBackPressedDispatcher.addCallback(object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
finishToMain()
AdmobUtils.showInterstitialAd(this@VirusActivity){
finishToMain()
}
}
})
......
......@@ -27,24 +27,32 @@ import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombi
/**
*/
class AppListFragment(
val launcher: ActivityLauncher,
val type: Int = 0,
isAsc: Boolean = true,
val needPermission: Boolean = false
) : Fragment(), ReportInterface {
class AppListFragment() : Fragment(), ReportInterface {
private val TAG = "AppListFragment"
private lateinit var binding: FragmentAppListBinding
private var adapter: AppListAdapter? = null
private var list = arrayListOf<AppBean>()
var isAsc: Boolean = true
private var isRefreshData = false//是否需要更新数据
init {
private lateinit var launcher: ActivityLauncher
private var type: Int = 0
var isAsc: Boolean = true
private var needPermission: Boolean = false
fun setInitData(
launcher: ActivityLauncher,
type: Int = 0,
isAsc: Boolean = true,
needPermission: Boolean = false
) {
this.launcher = launcher
this.type = type
this.isAsc = isAsc
this.needPermission = needPermission
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}
......@@ -130,11 +138,10 @@ class AppListFragment(
* 刷洗fragment数据
*/
@SuppressLint("NotifyDataSetChanged")
fun refreshFragmentData(dataList: List<AppBean>, isRefresh: Boolean = false) {
fun refreshFragmentData(dataList: List<AppBean>, isRefresh: Boolean = false, index: Int = 0) {
isRefreshData = true
LogEx.logDebug(TAG, "isRefresh=$isRefresh isVisible=$isVisible index=$index")
if (isRefresh && isVisible) {
LogEx.logDebug(TAG, "isRefresh=$isRefresh")
binding.flPermission.visibility = View.GONE
binding.progressbar.visibility = View.GONE
setDataRefresh(dataList)
......
......@@ -92,7 +92,7 @@ class AppManager2Activity : AppCompatActivity(), ReportInterface {
pages.forEachIndexed { index, fragment ->
val appListFragment = (fragment as AppListFragment)
appListFragment.refreshFragmentData(dataList, index == currentPosition)
appListFragment.refreshFragmentData(dataList, index == currentPosition, index)
}
}
......@@ -155,7 +155,7 @@ class AppManager2Activity : AppCompatActivity(), ReportInterface {
}
private fun playlottie() {
LogEx.logDebug(TAG,"playlottie")
LogEx.logDebug(TAG, "playlottie")
binding.llLottie.isVisible = true
binding.lottie.imageAssetsFolder = "appmanager/images/"
binding.lottie.setAnimation("appmanager/data.json")
......@@ -164,7 +164,7 @@ class AppManager2Activity : AppCompatActivity(), ReportInterface {
AdmobUtils.showInterstitialAd(this) {
binding.llLottie.isVisible = false
}
},6000)
}, 6000)
}
fun refreshUsageAccessData() {
......@@ -260,10 +260,11 @@ class AppManager2Activity : AppCompatActivity(), ReportInterface {
}
private fun initViewPager() {
pages.add(AppListFragment(launcher, APP_LIST_TYPE_NAME, true))
pages.add(AppListFragment(launcher, APP_LIST_TYPE_INSTALL, false))
pages.add(AppListFragment(launcher, APP_LIST_TYPE_SIZE, false, needPermission = true))
pages.add(AppListFragment(launcher, APP_LIST_TYPE_LAST_USE, false, needPermission = true))
pages.add(AppListFragment().apply { setInitData(launcher, APP_LIST_TYPE_NAME, true) })
pages.add(AppListFragment().apply { setInitData(launcher, APP_LIST_TYPE_INSTALL, false) })
pages.add(AppListFragment().apply { setInitData(launcher, APP_LIST_TYPE_SIZE, false, needPermission = true) })
pages.add(AppListFragment().apply { setInitData(launcher, APP_LIST_TYPE_LAST_USE, false, needPermission = true) })
pagerAdapter = ScreenSlidePagerAdapter(this@AppManager2Activity)
......
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/splash_bg" />
<item>
<bitmap
android:gravity="center"
android:src="@drawable/logo_yuan" />
</item>
</layer-list>
\ No newline at end of file
......@@ -4,32 +4,97 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fff"
tools:context=".ui.page.BatteryInfoActivity">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iv_load"
android:layout_width="170dp"
android:layout_height="180dp"
android:src="@drawable/power_load"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.3" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:textColor="#ff999999"
android:textSize="19sp"
android:visibility="visible"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/iv_load" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/id_cons_one"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#0ec897">
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/id_battery_lottie"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:lottie_autoPlay="true"
app:lottie_loop="true" />
<TextView
android:id="@+id/id_scaning"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="19dp"
android:text="Analyzing battery status"
android:textColor="@color/white"
android:textSize="18sp"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/id_scan"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/id_scan"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="18dp"
android:layout_marginBottom="140dp"
android:gravity="center"
app:layout_constraintBottom_toBottomOf="parent">
<com.noober.background.view.BLView
android:layout_width="4dp"
android:layout_height="4dp"
app:bl_shape="oval"
app:bl_solid_color="@color/white" />
<com.noober.background.view.BLView
android:layout_width="4dp"
android:layout_height="4dp"
android:layout_marginHorizontal="2dp"
app:bl_shape="oval"
app:bl_solid_color="@color/white" />
<com.noober.background.view.BLView
android:layout_width="4dp"
android:layout_height="4dp"
app:bl_shape="oval"
app:bl_solid_color="@color/white" />
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/id_cons_battery_finish"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#0ec897"
android:visibility="gone">
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/id_battery_finish"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:lottie_autoPlay="true"
app:lottie_rawRes="@raw/finish" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="296dp"
android:text="Optimization completed"
android:textColor="@color/white"
android:textSize="15sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<include
......@@ -43,6 +108,7 @@
android:layout_height="0dp"
android:paddingBottom="10dp"
android:visibility="gone"
android:background="@color/white"
app:layout_constraintBottom_toTopOf="@+id/bt_ok"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
......@@ -310,8 +376,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:visibility="gone"
android:layout_height="80dp">
android:layout_height="80dp"
android:visibility="gone">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iv_blue"
......
......@@ -17,7 +17,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/file_manager_select"
android:text="@string/clean_master"
android:textSize="15sp"
android:textStyle="bold" />
......
<?xml version="1.0" encoding="utf-8"?>
<com.noober.background.view.BLLinearLayout 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="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
......@@ -14,27 +15,30 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="24dp"
android:adjustViewBounds="true"
android:src="@drawable/qietu1" />
android:adjustViewBounds="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="24dp"
android:text="Find File Manager Select,And ensure that it has been turned on. (If not found, please swipe the page)"
android:text="Find Clean Master,And ensure that it has been turned on. (If not found, please swipe the page)"
android:textColor="#000000"
android:textSize="15sp"
android:textColor="#000000"/>
tools:ignore="HardcodedText" />
<com.noober.background.view.BLTextView
android:id="@+id/id_allow"
android:layout_width="100dp"
android:layout_height="40dp"
android:layout_gravity="end"
android:layout_marginTop="20dp"
android:layout_marginEnd="24dp"
android:layout_marginBottom="18dp"
android:gravity="center"
android:text="Allow"
android:layout_marginEnd="24dp"
android:textColor="@color/white"
android:textSize="15sp"
app:bl_corners_radius="20dp"
app:bl_solid_color="#6A30F2" />
app:bl_solid_color="#6A30F2"
tools:ignore="HardcodedText" />
</com.noober.background.view.BLLinearLayout>
\ No newline at end of file
......@@ -26,8 +26,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="15sp"
tools:text="File Manager Select" />
android:textSize="15sp" />
<TextView
android:id="@+id/tv_number"
......
......@@ -36,8 +36,7 @@
android:paddingEnd="5dp"
android:textColor="@color/black"
android:textSize="15sp"
tools:ignore="RtlSymmetry"
tools:text="File Manager Select" />
tools:ignore="RtlSymmetry" />
<TextView
android:id="@+id/tv_time"
......@@ -65,7 +64,6 @@
</LinearLayout>
<TextView
android:textStyle="bold"
android:id="@+id/tv_manage"
android:layout_width="58dp"
android:layout_height="23dp"
......@@ -75,6 +73,7 @@
android:gravity="center"
android:text="@string/manage"
android:textColor="@color/white"
android:textSize="12sp" />
android:textSize="12sp"
android:textStyle="bold" />
</LinearLayout>
\ No newline at end of file
......@@ -36,7 +36,7 @@
android:layout_gravity="center_vertical"
android:layout_marginHorizontal="5dp"
android:layout_weight="1"
android:text="@string/file_manager_select"
android:text="@string/clean_master"
android:textColor="#4F565E" />
<FrameLayout
......
<?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="#b3000000"
......@@ -34,10 +35,11 @@
android:layout_marginHorizontal="20dp"
android:layout_marginTop="15dp"
android:gravity="center"
android:text="Thank you for using File Manager Select!"
android:text="Thank you for using Clean Master !"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="bold" />
android:textStyle="bold"
tools:ignore="HardcodedText" />
<TextView
android:layout_width="wrap_content"
......@@ -48,7 +50,8 @@
android:gravity="center"
android:text="Thank you very much for taking the time to rate us."
android:textColor="#999999"
android:textSize="14sp" />
android:textSize="14sp"
tools:ignore="HardcodedText" />
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
......
......@@ -268,7 +268,7 @@
<string name="google_play">Google Play</string>
<string name="delete">DELETE</string>
<string name="cancel">CANCEL</string>
<string name="file_manager_select">File Manager Select</string>
<string name="clean_master">Clean Master</string>
<string name="cancel_lower">cancel</string>
<string name="clean_up_remaining_junk_files">Clean up remaining junk files</string>
......
......@@ -90,10 +90,15 @@
<!-- Apply padding to avoid the content of the widget colliding with the rounded corners -->
<item name="appWidgetPadding">16dp</item>
</style>
<style name="ProgressBarStyle">
<item name="android:indeterminateOnly">false</item>
<item name="android:indeterminateBehavior">repeat</item>
<item name="android:indeterminateDrawable">@android:drawable/progress_indeterminate_horizontal</item>
</style>
<style name="splashtheme" parent="Theme.FileManagerSelect">
<item name="android:windowBackground">@drawable/splsh_bp</item>
<item name="android:windowFullscreen">true</item>
</style>
</resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment