Commit e8e27197 authored by wanglei's avatar wanglei

去除无用activity

parent d78325f3
This diff is collapsed.
......@@ -10,7 +10,6 @@ import com.blankj.utilcode.util.AppUtils
import com.blankj.utilcode.util.SPUtils
import com.trustlook.sdk.data.AppInfo
import com.zxhyis.toolss.R
import com.zxhyis.toolss.ui.page.AllFilesActivity
import com.zxhyis.toolss.ui.page.SpeakCleaningActivity
import com.zxhyis.toolss.ui.page.SplashActivity
......@@ -71,7 +70,6 @@ object ConfigHelper {
"adActivity",
SplashActivity::class.java.simpleName,
SpeakCleaningActivity::class.java.simpleName,
AllFilesActivity::class.java.simpleName
// 返回前台时不跳转启动页的 activity
)
......
......@@ -16,7 +16,6 @@ import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import com.zxhyis.toolss.R
import com.zxhyis.toolss.ui.home.MainActivity
import com.zxhyis.toolss.ui.page.AppManagerActivity
import com.zxhyis.toolss.ui.page.BatteryInfoActivity
import com.zxhyis.toolss.ui.page.PrepareScanActivity
import com.zxhyis.toolss.ui.page.VirusActivity
......
package com.zxhyis.toolss.ui.adapter
import android.annotation.SuppressLint
import android.content.Context
import android.text.format.Formatter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.widget.AppCompatImageView
import androidx.appcompat.widget.AppCompatTextView
import androidx.recyclerview.widget.RecyclerView
import com.zxhyis.toolss.R
import com.zxhyis.toolss.logic.AudioBean
import com.zxhyis.toolss.logic.Logic
import com.zxhyis.toolss.logic.setOnClick
@SuppressLint("NotifyDataSetChanged")
class AudioAdapter(
private val dataList: ArrayList<AudioBean>,
private val context: Context,
private val logic: Logic
) : RecyclerView.Adapter<AudioAdapter.ApkViewHolder>() {
inner class ApkViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
val apkIcon: AppCompatImageView = itemView.findViewById(R.id.apk_icon)
val apkName: AppCompatTextView = itemView.findViewById(R.id.apk_name)
val apkTime: AppCompatTextView = itemView.findViewById(R.id.apk_time)
val apkSize: AppCompatTextView = itemView.findViewById(R.id.apk_size)
val apkSelect: AppCompatImageView = itemView.findViewById(R.id.apk_select)
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ApkViewHolder {
val view = LayoutInflater.from(parent.context).inflate(R.layout.item_apk, parent, false)
return ApkViewHolder(view)
}
override fun getItemCount(): Int = dataList.size
@SuppressLint("SetTextI18n")
override fun onBindViewHolder(holder: ApkViewHolder, position: Int) {
val type = dataList[position]
holder.apkIcon.setImageResource(R.drawable.home_audio)
holder.apkName.text = type.audioName
holder.apkSize.text = " --- ${Formatter.formatFileSize(context, type.apkSize)}"
holder.apkTime.text = type.apkTime
holder.apkSelect.isSelected = type.isSelected
if (type.isShow) {
holder.apkSelect.visibility = View.VISIBLE
} else {
holder.apkSelect.visibility = View.GONE
}
holder.apkSelect.setOnClick(javaClass.simpleName) {
dataList[position].isSelected = !dataList[position].isSelected
logic.doLogic()
notifyItemChanged(position)
}
}
//select all
fun selectAll() {
dataList.forEach {
it.isSelected = true
}
notifyDataSetChanged()
}
fun deselectAll() {
dataList.forEach {
it.isSelected = false
}
notifyDataSetChanged()
}
fun setShow() {
dataList.forEach {
it.isShow = true
}
notifyDataSetChanged()
}
}
\ No newline at end of file
//package com.zxhyis.toolss.ui.home
//
//
//import android.annotation.SuppressLint
//import android.content.Intent
//import android.os.Bundle
//import android.os.Environment
//import android.os.StatFs
//import android.view.LayoutInflater
//import android.view.View
//import android.view.ViewGroup
//import androidx.core.content.ContextCompat
//import com.bumptech.glide.Glide
//import com.zxhyis.toolss.R
//import com.zxhyis.toolss.ad.AdmobUtils
//import com.zxhyis.toolss.base.TopFragment
//import com.zxhyis.toolss.cx.FileHelps.toFormatSize
//import com.zxhyis.toolss.databinding.FragmentHomeBinding
//import com.zxhyis.toolss.logic.setOnClick
//import com.zxhyis.toolss.logic.setStatusBarTextLight
//import com.zxhyis.toolss.logic.startActivity
//import com.zxhyis.toolss.ui.page.AllFilesActivity
//import com.zxhyis.toolss.ui.page.AppManagerActivity
//import com.zxhyis.toolss.ui.page.BatteryInfoActivity
//import com.zxhyis.toolss.ui.page.JunksActivity
//import com.zxhyis.toolss.ui.page.StorageInfoActivity
//import com.zxhyis.toolss.ui.page.VirusActivity
//
//
//@SuppressLint("SetTextI18n")
//class HomeFragment : TopFragment<FragmentHomeBinding>() {
//
// override fun createBinding(
// inflater: LayoutInflater,
// container: ViewGroup?
// ): FragmentHomeBinding {
// return FragmentHomeBinding.inflate(inflater, container, false)
// }
//
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
// super.onViewCreated(view, savedInstanceState)
// init()
// }
//
// private fun init() {
//
// Glide.with(this)
// .asGif()
// .load(R.drawable.start)
// .into(mK.ivStart)
//
// Glide.with(this)
// .asGif()
// .load(R.drawable.end)
// .into(mK.ivEnd)
//
//
// mK.ivBg.setOnClick(javaClass.simpleName) {
// requireActivity().startActivity<StorageInfoActivity>()
//// AdmobUtils.showInterstitialAd(requireActivity()){
////
//// }
//
// }
//
// mK.tvCleanSpace.setOnClick(javaClass.simpleName) {
// mK.tvCleanSpace.setBackgroundResource(R.drawable.bg_shape_set_click)
// requireActivity().startActivity<JunkCleanActivity>()
// startActivity(Intent(requireActivity(), JunksActivity::class.java))
//// AdmobUtils.showInterstitialAd(requireActivity()){
////
//// }
//
// }
// mK.clBattery.setOnClick(javaClass.simpleName) {
// mK.clBattery.setBackgroundResource(R.drawable.bg_shape_home_item1_click)
// requireActivity().startActivity<BatteryInfoActivity>()
//// AdmobUtils.showInterstitialAd(requireActivity()){
////
//// }
//
// }
//
// mK.clBin.setOnClick(javaClass.simpleName) {
// mK.clBin.setBackgroundResource(R.drawable.bg_shape_home_item1_click)
// requireActivity().startActivity<AppManagerActivity>()
// }
//
// mK.clLargeFile.setOnClick(javaClass.simpleName) {
//
// mK.clLargeFile.setBackgroundResource(R.drawable.bg_shape_home_item1_click)
// AllFilesActivity.launch(requireActivity(), AllFilesActivity.large)
//// AdmobUtils.showInterstitialAd(requireActivity()){
////
//// }
//
// }
// mK.virusSacn.setOnClick(javaClass.simpleName) {
// startActivity(Intent(requireActivity(), VirusActivity::class.java))
//// AdmobUtils.showInterstitialAd(requireActivity()){
////
//// }
//
// }
// AdmobUtils.showNativeAd(requireActivity(), mK.flAd)
// }
//
// override fun onResume() {
// super.onResume()
// requireActivity().window.statusBarColor =
// ContextCompat.getColor(requireActivity(), R.color.tool_top)
// setStatusBarTextLight(requireActivity())
// initStorage()
// updateUi()
// }
//
// private fun updateUi() {
// mK.tvCleanSpace.setBackgroundResource(R.drawable.bg_shape_set)
// mK.clBattery.setBackgroundResource(R.drawable.bg_shape_home_item1)
// mK.clBin.setBackgroundResource(R.drawable.bg_shape_home_item1)
// mK.clLargeFile.setBackgroundResource(R.drawable.bg_shape_home_item1)
// }
//
// private fun initStorage() {
// val stat = StatFs(Environment.getExternalStorageDirectory().path)
// val totalSize = f()
// val availableSize = b()
// val usedSize = totalSize - availableSize
// val usedPercentage = usedSize.toFloat() / totalSize * 100
// mK.pbTool.progress = usedPercentage.toInt()
// mK.tvPercent.text = "${usedPercentage.toInt()}"
// mK.tvStorage.text = "${usedSize.toFormatSize()}/ ${totalSize.toFormatSize()}"
// }
//
//
// fun b(): Long {
// try {
// val statFs = StatFs(Environment.getExternalStorageDirectory().path)
// val statFs2 = StatFs(Environment.getRootDirectory().path)
// val blackSize =
// statFs2.blockSizeLong * statFs2.availableBlocksLong + statFs.blockSizeLong * statFs.availableBlocksLong
// return a(blackSize)
// } catch (e10: Exception) {
// return 0L
// }
// }
//
// var totalsize = 0L
// fun f(): Long {
// return if (totalsize > 0) {
// totalsize
// } else try {
// val statFs = StatFs(Environment.getExternalStorageDirectory().path)
// val statFs2 = StatFs(Environment.getRootDirectory().path)
// val blockSizeLong =
// statFs2.blockSizeLong * statFs2.blockCountLong + statFs.blockSizeLong * statFs.blockCountLong
// totalsize = blockSizeLong
// blockSizeLong
// } catch (e10: java.lang.Exception) {
// 0L
// }
// }
//
// fun a(j10: Long): Long {
// var j10 = j10
// var i7 = 0
// while (true) {
// val j11: Long = 1000
// if (j10 < j11) {
// break
// }
// j10 /= j11
// i7++
// }
// for (i10 in 0 until i7) {
// j10 *= 1024
// }
// return j10
// }
//
//}
package com.zxhyis.toolss.ui.page
import android.animation.Animator
import android.animation.Animator.AnimatorListener
import android.content.Intent
import android.content.pm.ApplicationInfo
import android.graphics.Color
import android.net.Uri
import android.view.View
import androidx.activity.OnBackPressedCallback
import androidx.activity.result.contract.ActivityResultContracts
import androidx.recyclerview.widget.LinearLayoutManager
import com.zxhyis.toolss.R
import com.zxhyis.toolss.ad.AdmobUtils
import com.zxhyis.toolss.base.TopActivity
import com.zxhyis.toolss.databinding.ActivityAppManagerBinding
import com.zxhyis.toolss.logic.AppBean
import com.zxhyis.toolss.logic.Logic
import com.zxhyis.toolss.logic.setOnClick
import com.zxhyis.toolss.logic.showToast
import com.zxhyis.toolss.ui.adapter.AppAdapter
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
class AppManagerActivity : TopActivity<ActivityAppManagerBinding>() {
private lateinit var appAdapter: AppAdapter
private val dataList = ArrayList<AppBean>()
private val result =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
updateBt()
}
override fun getViewBinding1(): ActivityAppManagerBinding {
return ActivityAppManagerBinding.inflate(layoutInflater)
}
override fun init() {
vb.inApp.tvTitle.text = getString(R.string.app_manager)
vb.lvScan.playAnimation()
vb.inApp.ivBack.setOnClick(javaClass.simpleName) {
onBackPressedDispatcher.onBackPressed()
}
vb.btUninstall.setOnClick(javaClass.simpleName) {
if (isCanUninstall()) {
uninstallApp()
} else {
"Please choose one at least".showToast()
}
}
onBackPressedDispatcher.addCallback(object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
if (!vb.lvScan.isAnimating) {
finishToMain()
}
}
})
vb.lvScan.addAnimatorListener(object : AnimatorListener {
override fun onAnimationStart(animation: Animator) {
}
override fun onAnimationEnd(animation: Animator) {
AdmobUtils.showInterstitialAd(this@AppManagerActivity){
vb.clsApp.setBackgroundColor(Color.WHITE)
vb.lvScan.visibility = View.GONE
vb.appScan.visibility = View.GONE
vb.rvDelete.visibility = View.VISIBLE
vb.btUninstall.visibility = View.VISIBLE
}
// MaxAdUtils.showMaxInterstitialAd(this@AppManagerActivity,"interstitial_slot"){
//
// }
}
override fun onAnimationCancel(animation: Animator) {
}
override fun onAnimationRepeat(animation: Animator) {
}
})
}
private fun initRv() {
CoroutineScope(Dispatchers.IO).launch {
delay(500)
val pm = packageManager
val packages = pm.getInstalledPackages(0)
for (app in packages) {
if ((app.applicationInfo.flags and ApplicationInfo.FLAG_SYSTEM) < 1 && app.applicationInfo.packageName != packageName) {
dataList.add(
AppBean(
app.applicationInfo.loadIcon(pm),
app.applicationInfo.loadLabel(pm).toString(),
app.applicationInfo.packageName,
false
)
)
}
}
appAdapter = AppAdapter(dataList, object : Logic {
override fun doLogic() {
updateBt()
}
})
launch(Dispatchers.Main) {
vb.rvDelete.apply {
layoutManager = LinearLayoutManager(this@AppManagerActivity)
adapter = appAdapter
}
}
}
}
private fun updateBt() {
if (isCanUninstall()) {
vb.btUninstall.setBackgroundResource(R.drawable.bg_shape_set)
} else {
vb.btUninstall.setBackgroundResource(R.drawable.bg_shape_delete_no)
}
}
private fun isCanUninstall(): Boolean {
for (app in dataList) {
if (app.isSelected) {
return true
}
}
return false
}
private fun uninstallApp() {
for (app in dataList) {
if (app.isSelected) {
val intent = Intent(Intent.ACTION_DELETE, Uri.parse("package:${app.pkg}"))
result.launch(intent)
}
}
}
override fun onResume() {
super.onResume()
dataList.clear()
initRv()
}
override fun onDestroy() {
super.onDestroy()
dataList.clear()
}
}
\ No newline at end of file
package com.zxhyis.toolss.ui.page
import com.zxhyis.toolss.base.TopActivity
import com.zxhyis.toolss.databinding.ActivityGarbageBinding
class GarbageActivity : TopActivity<ActivityGarbageBinding>() {
override fun getViewBinding1(): ActivityGarbageBinding {
return ActivityGarbageBinding.inflate(layoutInflater)
}
override fun init() {
}
}
\ No newline at end of file
package com.zxhyis.toolss.ui.page
import android.graphics.Color
import com.blankj.utilcode.util.BarUtils
import com.zxhyis.toolss.base.TopActivity
import com.zxhyis.toolss.databinding.ActivityLayoutGuestBinding
import com.zxhyis.toolss.logic.startActivity
import kotlin.random.Random
class GuestActivity : TopActivity<ActivityLayoutGuestBinding>() {
override fun getViewBinding1(): ActivityLayoutGuestBinding {
return ActivityLayoutGuestBinding.inflate(layoutInflater)
}
override fun init() {
BarUtils.setStatusBarLightMode(this, true)
BarUtils.setStatusBarColor(this, Color.TRANSPARENT)
vb.idLottie.imageAssetsFolder = "saomiao/images/"
vb.idLottie.setAnimation("saomiao/data.json")
vb.idLottie.playAnimation()
loadPro()
}
private var mProess = 0
private fun loadPro() {
if (mProess >= 100) {
vb.idSJindu.progress = mProess
startActivity<CleanGuestActivity>()
return
}
vb.idSJindu.postDelayed(Runnable {
mProess += Random.nextInt(5)
vb.idSJindu.progress = mProess
loadPro()
}, 200)
}
}
\ No newline at end of file
......@@ -118,7 +118,7 @@ class SplashActivity : TopActivity<ActivityLayoutSplashBinding>() {
vb.idImgGouxuan.setImageResource(R.drawable.xuan)
} else {
isgouxuan = true
vb.idImgGouxuan.setImageResource(R.drawable.gouxuan)
vb.idImgGouxuan.setImageResource(R.drawable.gouxuan_border)
}
}
vb.idUseTerms.setOnClick(javaClass.simpleName) {
......
package com.zxhyis.toolss.ui.page
import android.graphics.Color
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.activity.OnBackPressedCallback
import androidx.core.view.updatePadding
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.blankj.utilcode.util.AppUtils
import com.blankj.utilcode.util.BarUtils
import com.trustlook.sdk.data.AppInfo
import com.zxhyis.toolss.R
import com.zxhyis.toolss.ad.AdmobUtils
import com.zxhyis.toolss.ad.ConfigHelper
import com.zxhyis.toolss.base.TopActivity
import com.zxhyis.toolss.databinding.ActivityLayoutVirusappBinding
class VirusAppActivity:TopActivity<ActivityLayoutVirusappBinding>() {
override fun getViewBinding1(): ActivityLayoutVirusappBinding {
return ActivityLayoutVirusappBinding.inflate(layoutInflater)
}
private val appList = mutableListOf<AppInfo>()
override fun init() {
BarUtils.setStatusBarColor(this, Color.TRANSPARENT)
vb.root.updatePadding(top = BarUtils.getStatusBarHeight())
vb.idYdBack.setOnClickListener {
onBackPressedDispatcher.onBackPressed()
}
onBackPressedDispatcher.addCallback(object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
finishToMain()
}
})
ConfigHelper.riskAppList?.let { appList.addAll(it) }
vb.idTvRisks.text="${appList.size} application is a security risk"
vb.idRlApp.run {
layoutManager = LinearLayoutManager(context)
adapter = object : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
override fun onCreateViewHolder(
parent: ViewGroup,
viewType: Int
): RecyclerView.ViewHolder {
val view = LayoutInflater.from(parent.context)
.inflate(R.layout.item_layout_risk_app, parent, false)
return object : RecyclerView.ViewHolder(view) {}
}
override fun getItemCount() = appList.size
override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
holder.itemView.run {
val c=ConfigHelper.appList?.firstOrNull {
it.packageName == appList[position].packageName
}
findViewById<ImageView>(R.id.id_app_icon).setImageDrawable(c?.icon)
findViewById<TextView>(R.id.id_app_name).text = appList[position].appName
holder.itemView.setOnClickListener {
AdmobUtils.showInterstitialAd(this@VirusAppActivity){
AppUtils.launchAppDetailsSettings(appList[position].packageName)
}
}
}
}
}
}
}
}
\ No newline at end of file
......@@ -57,7 +57,6 @@ import java.io.File
/**
* 大文件清理 5.11
* 之前版本 :[com.zxhyis.toolss.ui.page.AllFilesActivity]
*/
class BigFileCleanActivity : TopActivity<ActivityBigFileCleanBinding>() {
......
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/image_selected_all" android:state_selected="true"/>
<item android:drawable="@drawable/iamge_unselected_all"/>
<item android:drawable="@drawable/gouxuan" android:state_selected="true" />
<item android:drawable="@drawable/iamge_unselected_all" />
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/image_selected" android:state_selected="true"/>
<item android:drawable="@drawable/gouxuan" android:state_selected="true"/>
<item android:drawable="@drawable/image_unselected"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/gouxuan" android:state_checked="true" />
<item android:drawable="@drawable/gouxuan_border" android:state_checked="true" />
<item android:drawable="@drawable/weixuan" />
</selector>
\ No newline at end of file
......@@ -94,7 +94,7 @@
android:id="@+id/id_view1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yuanw" />
android:src="@drawable/cjxuanzhuan" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
......@@ -124,7 +124,7 @@
android:id="@+id/id_view2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yuanw" />
android:src="@drawable/cjxuanzhuan" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
......@@ -154,7 +154,7 @@
android:id="@+id/id_view3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yuanw" />
android:src="@drawable/cjxuanzhuan" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
......
......@@ -79,7 +79,7 @@
android:id="@+id/id_view1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yuanw" />
android:src="@drawable/cjxuanzhuan" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
......@@ -109,7 +109,7 @@
android:id="@+id/id_view2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yuanw" />
android:src="@drawable/cjxuanzhuan" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
......@@ -139,7 +139,7 @@
android:id="@+id/id_view3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yuanw" />
android:src="@drawable/cjxuanzhuan" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
......
......@@ -80,7 +80,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingHorizontal="2dp"
android:src="@drawable/gouxuan"
android:src="@drawable/gouxuan_border"
android:visibility="gone" />
......
......@@ -40,7 +40,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="47dp"
android:src="@drawable/tu1"
android:src="@drawable/bingduiocn1"
app:layout_constraintBottom_toTopOf="@+id/id_img_ani"
app:layout_constraintEnd_toEndOf="parent" />
......@@ -60,7 +60,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="47dp"
android:layout_marginTop="21dp"
android:src="@drawable/tu2"
android:src="@drawable/bingduiocn2"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/id_img_ani" />
......
......@@ -186,7 +186,7 @@
android:max="100"
android:progress="50"
android:progressDrawable="@drawable/seekbar_bg"
android:thumb="@drawable/yuanl" />
android:thumb="@drawable/preview" />
<TextView
android:layout_width="wrap_content"
......
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="7dp"
app:cardCornerRadius="7dp"
app:cardElevation="1dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iv_image"
android:layout_width="match_parent"
android:layout_height="0dp"
android:scaleType="centerCrop"
app:layout_constraintDimensionRatio="h,1"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/id_img_sel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="7dp"
android:src="@drawable/image_selected"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/id_play"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_video"
android:layout_margin="6dp"
android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
\ No newline at end of file
......@@ -18,7 +18,7 @@
android:id="@+id/id_t_icon"
android:layout_width="43dp"
android:layout_height="43dp"
android:src="@drawable/tzguanbitu"
android:src="@drawable/tongzhiicon"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
......
<resources>
<string name="app_name">File Manager Select</string>
<string name="app_name">Clean Master</string>
<string name="service_name">AppNotificaiton service</string>
<string name="facebook_app_id">811174717697476</string>
<!-- TODO: Remove or change this placeholder text -->
......
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