Commit 542cb10b authored by wanglei's avatar wanglei

ui替换

parent 58f4c2ab
...@@ -165,32 +165,27 @@ class BatteryInfoActivity : BaseActivity<ActivityBatteryInfoBinding>() { ...@@ -165,32 +165,27 @@ class BatteryInfoActivity : BaseActivity<ActivityBatteryInfoBinding>() {
} }
private fun checkFlashLight() { private fun checkFlashLight() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { cm.registerTorchCallback(object : CameraManager.TorchCallback() {
cm.registerTorchCallback(object : CameraManager.TorchCallback() { override fun onTorchModeChanged(cameraId: String, enabled: Boolean) {
override fun onTorchModeChanged(cameraId: String, enabled: Boolean) { super.onTorchModeChanged(cameraId, enabled)
super.onTorchModeChanged(cameraId, enabled) if (cameraId == this@BatteryInfoActivity.cameraId) {
if (cameraId == this@BatteryInfoActivity.cameraId) { if (enabled && !isTorchOn) {
if (enabled && !isTorchOn) { isTorchOn = true
isTorchOn = true binding.switchThree.isChecked = true
binding.switchThree.isChecked = true } else if (!enabled && isTorchOn) {
} else if (!enabled && isTorchOn) { isTorchOn = false
isTorchOn = false binding.switchThree.isChecked = false
binding.switchThree.isChecked = false
}
} }
} }
}, null) }
} else { }, null)
Toast.makeText(this, "don't support you phone", Toast.LENGTH_SHORT).show()
}
} }
private fun turnOnFlashLight() { private fun turnOnFlashLight() {
try { try {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { cm.setTorchMode(cameraId, true)
cm.setTorchMode(cameraId, true) // 打开手电筒
} // 打开手电筒
} catch (e: CameraAccessException) { } catch (e: CameraAccessException) {
e.printStackTrace() e.printStackTrace()
} }
...@@ -198,9 +193,8 @@ class BatteryInfoActivity : BaseActivity<ActivityBatteryInfoBinding>() { ...@@ -198,9 +193,8 @@ class BatteryInfoActivity : BaseActivity<ActivityBatteryInfoBinding>() {
private fun turnOffFlashLight() { private fun turnOffFlashLight() {
try { try {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { cm.setTorchMode(cameraId, false)
cm.setTorchMode(cameraId, false) // 打开手电筒
} // 打开手电筒
} catch (e: CameraAccessException) { } catch (e: CameraAccessException) {
e.printStackTrace() e.printStackTrace()
} }
......
...@@ -113,7 +113,7 @@ class CleanJunkActivity : BaseActivity<ActivityLayoutCleanJunkBinding>() { ...@@ -113,7 +113,7 @@ class CleanJunkActivity : BaseActivity<ActivityLayoutCleanJunkBinding>() {
firstHalf.forEach { l -> firstHalf.forEach { l ->
sizes[0] += l.size sizes[0] += l.size
// junkList.add(p0.path) // junkList.add(p0.path)
val bean = ChildBean(R.mipmap.hapk, l.name, l.path, l.size) val bean = ChildBean(R.mipmap.apk, l.name, l.path, l.size)
child3.add(bean) child3.add(bean)
} }
ScanCount += 1 ScanCount += 1
......
package com.base.superfilemanager.activity.photocompress.photo package com.base.superfilemanager.activity.photocompress.photo
import android.annotation.SuppressLint
import android.app.Activity import android.app.Activity
import android.graphics.Bitmap import android.graphics.Bitmap
import android.util.Log import android.util.Log
...@@ -15,13 +16,14 @@ import com.bumptech.glide.Glide ...@@ -15,13 +16,14 @@ import com.bumptech.glide.Glide
import com.base.superfilemanager.R import com.base.superfilemanager.R
class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, CompressionImageUtils.BitmapCallback, @Suppress("DEPRECATION")
class PreviewCompressionManager(private val mContext: Activity) : GalleryLayoutManager.OnItemSelectedListener,
CompressionImageUtils.BitmapCallback,
OnSeekBarChangeListener { OnSeekBarChangeListener {
private val mContext: Activity
private var galleryRecyclerView: RecyclerView? = null private var galleryRecyclerView: RecyclerView? = null
private var galleryAdapter: GalleryAdapter? = null private var galleryAdapter: GalleryAdapter? = null
private val mList: List<PhotoBean> private val mList: List<PhotoBean> = PhotoCache.getInstance().photoList
private var mTitleView: TextView? = null private var mTitleView: TextView? = null
private var mPreviewView: RelativeLayout? = null private var mPreviewView: RelativeLayout? = null
...@@ -37,21 +39,6 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C ...@@ -37,21 +39,6 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
private var mIndex = 0 private var mIndex = 0
constructor(mContext: Activity) {
this.mContext = mContext
mList = PhotoCache.getInstance().photoList
galleryRecyclerView = mContext.findViewById(R.id.galleryRecyclerView)
mPreviewView = mContext.findViewById(R.id.preview_view)
mLoadingView = mContext.findViewById(R.id.img_loading)
mBeforeImage = mContext.findViewById(R.id.before_image)
mAfterImage = mContext.findViewById(R.id.after_image)
mBeforeSize = mContext.findViewById(R.id.before_size)
mAfterSize = mContext.findViewById(R.id.after_size)
mTitleView = mContext.findViewById(R.id.title)
mSeekBar = mContext.findViewById(R.id.seekBar)
initView()
}
private fun initView() { private fun initView() {
galleryAdapter = GalleryAdapter(mContext, mList) galleryAdapter = GalleryAdapter(mContext, mList)
val manager = GalleryLayoutManager(GalleryLayoutManager.HORIZONTAL) val manager = GalleryLayoutManager(GalleryLayoutManager.HORIZONTAL)
...@@ -76,8 +63,8 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C ...@@ -76,8 +63,8 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
lastRefreshTime = currentTime lastRefreshTime = currentTime
mIndex = position mIndex = position
Log.d("glc","") Log.d("glc", "")
refreshPreviewImage(true) refreshPreviewImage(true, 50)
} }
override fun onBitmapReady(bitmap: Bitmap?, size: Long, position: Int) { override fun onBitmapReady(bitmap: Bitmap?, size: Long, position: Int) {
...@@ -89,17 +76,14 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C ...@@ -89,17 +76,14 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
val entity = mList[position] val entity = mList[position]
mPreviewView?.visibility = View.VISIBLE mPreviewView?.visibility = View.VISIBLE
mLoadingView?.visibility = View.GONE mLoadingView?.visibility = View.GONE
if (mBeforeImage != null) { Glide.with(mContext).load(entity.src).into(mBeforeImage)
Glide.with(mContext).load(entity.src).into(mBeforeImage)
}
mBeforeSize?.text = entity.sizeText mBeforeSize?.text = entity.sizeText
mAfterSize?.text = ImagesMediaUtils.formatFileSize(size) mAfterSize?.text = ImagesMediaUtils.formatFileSize(size)
if (mAfterImage != null) { Glide.with(mContext).load(bitmap).into(mAfterImage)
Glide.with(mContext).load(bitmap).into(mAfterImage)
}
} }
} }
@SuppressLint("SetTextI18n")
private fun loading(boolean: Boolean) { private fun loading(boolean: Boolean) {
mPreviewView?.visibility = View.GONE mPreviewView?.visibility = View.GONE
mLoadingView?.visibility = View.VISIBLE mLoadingView?.visibility = View.VISIBLE
...@@ -110,11 +94,6 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C ...@@ -110,11 +94,6 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
} }
override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) { override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) {
when {
progress <= 25 -> seekBar?.progress = 0
progress in 26..75 -> seekBar?.progress = 50
progress > 75 -> seekBar?.progress = 100
}
} }
override fun onStartTrackingTouch(seekBar: SeekBar?) { override fun onStartTrackingTouch(seekBar: SeekBar?) {
...@@ -124,26 +103,38 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C ...@@ -124,26 +103,38 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
override fun onStopTrackingTouch(seekBar: SeekBar?) { override fun onStopTrackingTouch(seekBar: SeekBar?) {
val progress = seekBar?.progress ?: 0 val progress = seekBar?.progress ?: 0
var mode: Int = 0
when { when {
seekBar?.progress ?: 0 <= 1 -> seekBar?.progress = 0 (seekBar?.progress ?: 0) <= 1 -> mode = 0
(seekBar?.progress ?: 0) > 1 && (seekBar?.progress ?: 0) <= 50 -> seekBar?.progress = (seekBar?.progress ?: 0) > 1 && (seekBar?.progress ?: 0) <= 50 -> mode = 50
50 (seekBar?.progress ?: 0) > 50 -> mode = 100
seekBar?.progress ?: 0 > 50 -> seekBar?.progress = 100
} }
if (progress != lastProgress) { if (progress != lastProgress) {
refreshPreviewImage(false) refreshPreviewImage(false, mode)
lastProgress = progress lastProgress = progress
} }
} }
private fun refreshPreviewImage(boolean: Boolean) { @SuppressLint("SetTextI18n")
private fun refreshPreviewImage(boolean: Boolean, mode: Int) {
loading(boolean) loading(boolean)
val entity = mList[mIndex] val entity = mList[mIndex]
mTitleView?.text = "Preview (" + (mIndex + 1) + "/${mList.size})" mTitleView?.text = "Preview (" + (mIndex + 1) + "/${mList.size})"
CompressionImageUtils.compressImage(entity.src, mSeekBar.progress, mIndex, this) CompressionImageUtils.compressImage(entity.src, mode, mIndex, this)
} }
fun getMode() = mSeekBar.progress fun getMode() = mSeekBar.progress
init {
galleryRecyclerView = mContext.findViewById(R.id.galleryRecyclerView)
mPreviewView = mContext.findViewById(R.id.preview_view)
mLoadingView = mContext.findViewById(R.id.img_loading)
mBeforeImage = mContext.findViewById(R.id.before_image)
mAfterImage = mContext.findViewById(R.id.after_image)
mBeforeSize = mContext.findViewById(R.id.before_size)
mAfterSize = mContext.findViewById(R.id.after_size)
mTitleView = mContext.findViewById(R.id.title)
mSeekBar = mContext.findViewById(R.id.seekBar)
initView()
}
} }
\ No newline at end of file
...@@ -38,7 +38,7 @@ class PermissionAdapter : RecyclerView.Adapter<PermissionAdapter.CCCC>() { ...@@ -38,7 +38,7 @@ class PermissionAdapter : RecyclerView.Adapter<PermissionAdapter.CCCC>() {
holder.binding.tvAuthorized.visibility = View.VISIBLE holder.binding.tvAuthorized.visibility = View.VISIBLE
if (data.isSensitive) { if (data.isSensitive) {
holder.binding.tvAuthorized.background = ContextCompat.getDrawable(context, R.drawable.bg_corners_granted) holder.binding.tvAuthorized.background = ContextCompat.getDrawable(context, R.drawable.bg_corners_granted)
holder.binding.tvAuthorized.setTextColor(ContextCompat.getColor(context, R.color.color_fcad45)) holder.binding.tvAuthorized.setTextColor(ContextCompat.getColor(context, R.color.theme_color))
} else { } else {
holder.binding.tvAuthorized.background = ContextCompat.getDrawable(context, R.drawable.bg_corners_d9e2fd) holder.binding.tvAuthorized.background = ContextCompat.getDrawable(context, R.drawable.bg_corners_d9e2fd)
holder.binding.tvAuthorized.setTextColor(ContextCompat.getColor(context, R.color.color_4772ff)) holder.binding.tvAuthorized.setTextColor(ContextCompat.getColor(context, R.color.color_4772ff))
......
...@@ -55,7 +55,6 @@ object NotificationHelper { ...@@ -55,7 +55,6 @@ object NotificationHelper {
*/ */
val supportNotification = arrayListOf( val supportNotification = arrayListOf(
ID_JUNK_CLEAN_PUSH, ID_JUNK_CLEAN_PUSH,
// ID_VIRUS_PUSH,
ID_LARGE_FILE_PUSH, ID_LARGE_FILE_PUSH,
ID_BATTERY_PUSH, ID_BATTERY_PUSH,
ID_CLEAN_NOTIFICATION, ID_CLEAN_NOTIFICATION,
...@@ -66,8 +65,6 @@ object NotificationHelper { ...@@ -66,8 +65,6 @@ object NotificationHelper {
ID_RECENT_USE_APP, ID_RECENT_USE_APP,
ID_SIMILAR_IMAGE, ID_SIMILAR_IMAGE,
ID_CLEAN_SPEAKER, ID_CLEAN_SPEAKER,
// ID_BATTERY_OPTIMIZATION,
// ID_PHONE_ACCELERATE,//被动推送加入主动推送列表
) )
/** /**
...@@ -132,19 +129,6 @@ object NotificationHelper { ...@@ -132,19 +129,6 @@ object NotificationHelper {
remoteViews.setTextViewText(R.id.tv_btn, "Clean up") remoteViews.setTextViewText(R.id.tv_btn, "Clean up")
} }
// ID_VIRUS_PUSH -> {
// remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.virus)
// remoteViews.setTextViewText(R.id.tv_desc, "Protect your device and privacy, scan for virus threats now!")
// remoteViews.setTextViewText(R.id.tv_btn, "Scan")
// }
// ID_BATTERY_OPTIMIZATION -> {
// remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.battery)
// val random = Random.nextInt(0, 50)
// remoteViews.setTextViewText(R.id.tv_desc, "$random Apps are consuming photo power")
// remoteViews.setTextViewText(R.id.tv_btn, "Optimize")
// }
ID_LARGE_FILE_PUSH -> { ID_LARGE_FILE_PUSH -> {
remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.jg_large) remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.jg_large)
remoteViews.setTextViewText(R.id.tv_desc, "Clean big files to free up storage space") remoteViews.setTextViewText(R.id.tv_desc, "Clean big files to free up storage space")
...@@ -208,23 +192,17 @@ object NotificationHelper { ...@@ -208,23 +192,17 @@ object NotificationHelper {
} }
ID_CHARGE -> { ID_CHARGE -> {
remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.battery_charge) remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.start)
remoteViews.setTextViewText(R.id.tv_desc, "View phone battery consumption recently") remoteViews.setTextViewText(R.id.tv_desc, "View phone battery consumption recently")
remoteViews.setTextViewText(R.id.tv_btn, "View") remoteViews.setTextViewText(R.id.tv_btn, "View")
} }
ID_LOW_BATTERY_PUSH -> { ID_LOW_BATTERY_PUSH -> {
remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.battery_lower) remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.batter)
remoteViews.setTextViewText(R.id.tv_desc, "The battery is $extra%, view the battery information") remoteViews.setTextViewText(R.id.tv_desc, "The battery is $extra%, view the battery information")
remoteViews.setTextViewText(R.id.tv_btn, "View") remoteViews.setTextViewText(R.id.tv_btn, "View")
} }
// ID_PHONE_ACCELERATE -> {
// remoteViews.setImageViewResource(R.id.iv_icon, R.drawable.memory)
// remoteViews.setTextViewText(R.id.tv_desc, "Ram usage reached $extra%, optimize now!")
// remoteViews.setTextViewText(R.id.tv_btn, "Optimize")
// }
else -> { else -> {
return return
} }
......
...@@ -73,7 +73,7 @@ object NotificationUtils { ...@@ -73,7 +73,7 @@ object NotificationUtils {
val deletePendingIntent = PendingIntent.getBroadcast(context, 0, deleteIntent, PendingIntent.FLAG_MUTABLE) val deletePendingIntent = PendingIntent.getBroadcast(context, 0, deleteIntent, PendingIntent.FLAG_MUTABLE)
return NotificationCompat.Builder(context, CHANNEL_ID) return NotificationCompat.Builder(context, CHANNEL_ID)
.setSmallIcon(R.mipmap.logo_small) .setSmallIcon(R.mipmap.logo)
.setPriority(NotificationCompat.PRIORITY_MAX) .setPriority(NotificationCompat.PRIORITY_MAX)
.setCategory(NotificationCompat.CATEGORY_ALARM) .setCategory(NotificationCompat.CATEGORY_ALARM)
.setWhen(System.currentTimeMillis()) .setWhen(System.currentTimeMillis())
...@@ -156,7 +156,7 @@ object NotificationUtils { ...@@ -156,7 +156,7 @@ object NotificationUtils {
builder.setCustomContentView(contentView) builder.setCustomContentView(contentView)
builder.setCustomBigContentView(expendView) builder.setCustomBigContentView(expendView)
builder.setContentIntent(pendingIntent) //设置PendingIntent builder.setContentIntent(pendingIntent) //设置PendingIntent
builder.setSmallIcon(R.mipmap.logo_small) //设置状态栏内的小图标 builder.setSmallIcon(R.mipmap.logo) //设置状态栏内的小图标
builder.setVisibility(NotificationCompat.VISIBILITY_PRIVATE) //设置通知公开可见 builder.setVisibility(NotificationCompat.VISIBILITY_PRIVATE) //设置通知公开可见
builder.setOngoing(isOngoing) //设置持续(不消失的常驻通知) builder.setOngoing(isOngoing) //设置持续(不消失的常驻通知)
// builder.setCategory(category) //设置类别 // builder.setCategory(category) //设置类别
......
...@@ -32,6 +32,8 @@ class LaunchesFragment : BaseFragment<FragmentLaunchesBinding>() { ...@@ -32,6 +32,8 @@ class LaunchesFragment : BaseFragment<FragmentLaunchesBinding>() {
private val TAG = "LaunchesFragment" private val TAG = "LaunchesFragment"
private var dataList = arrayListOf<AppBean>() private var dataList = arrayListOf<AppBean>()
private lateinit var adapter: RecentAppAdapter private lateinit var adapter: RecentAppAdapter
@SuppressLint("SimpleDateFormat")
private var simpleDateFormat2 = SimpleDateFormat("(yyyy/MM/dd)") private var simpleDateFormat2 = SimpleDateFormat("(yyyy/MM/dd)")
private var UI_MODE = UI_MODE_ALL private var UI_MODE = UI_MODE_ALL
......
...@@ -39,6 +39,7 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>() ...@@ -39,6 +39,7 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>()
} }
@SuppressLint("NotifyDataSetChanged")
override fun initView() { override fun initView() {
BarUtils.setStatusBarLightMode(this, true) BarUtils.setStatusBarLightMode(this, true)
...@@ -55,7 +56,7 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>() ...@@ -55,7 +56,7 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>()
} }
onBackPressedDispatcher.addCallback(object : OnBackPressedCallback(true) { onBackPressedDispatcher.addCallback(object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() { override fun handleOnBackPressed() {
AdmobUtils.showInterstitialAd(this@NotificationCleanActivity){ AdmobUtils.showInterstitialAd(this@NotificationCleanActivity) {
finishToMain() finishToMain()
} }
...@@ -117,7 +118,6 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>() ...@@ -117,7 +118,6 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>()
} }
private fun showEmptydata() { private fun showEmptydata() {
binding.idNotifyClean.isVisible = false binding.idNotifyClean.isVisible = false
binding.idNoNotification.isVisible = true binding.idNoNotification.isVisible = true
......
app/src/main/res/drawable-xxhdpi/l_lower.png

483 Bytes | W: | H:

app/src/main/res/drawable-xxhdpi/l_lower.png

542 Bytes | W: | H:

app/src/main/res/drawable-xxhdpi/l_lower.png
app/src/main/res/drawable-xxhdpi/l_lower.png
app/src/main/res/drawable-xxhdpi/l_lower.png
app/src/main/res/drawable-xxhdpi/l_lower.png
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/l_upper.png

459 Bytes | W: | H:

app/src/main/res/drawable-xxhdpi/l_upper.png

491 Bytes | W: | H:

app/src/main/res/drawable-xxhdpi/l_upper.png
app/src/main/res/drawable-xxhdpi/l_upper.png
app/src/main/res/drawable-xxhdpi/l_upper.png
app/src/main/res/drawable-xxhdpi/l_upper.png
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="utf-8"?> <?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">
<solid android:color="#DDDBFD" /> <solid android:color="#DDE0F8" />
<corners android:radius="2.5dp" /> <corners android:radius="2.5dp" />
</shape> </shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?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">
<solid android:color="#5b4fff" /> <solid android:color="@color/theme_color" />
<corners android:radius="7.5dp" /> <corners android:radius="7.5dp" />
</shape> </shape>
\ No newline at end of file
...@@ -2,11 +2,8 @@ ...@@ -2,11 +2,8 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="289dp" android:height="50dp"> <item android:width="289dp" android:height="50dp">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<gradient <solid android:color="@color/theme_color" />
android:angle="180" <corners android:bottomLeftRadius="25dp" android:bottomRightRadius="25dp" android:topLeftRadius="25dp" android:topRightRadius="25dp" />
android:endColor="@color/color_655afd"
android:startColor="#8720eb" />
<corners android:topLeftRadius="25dp" android:topRightRadius="25dp" android:bottomLeftRadius="25dp" android:bottomRightRadius="25dp" />
</shape> </shape>
</item> </item>
</selector> </selector>
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
android:height="9dp" android:height="9dp"
android:gravity="left|center_vertical"> android:gravity="left|center_vertical">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<solid android:color="#5b4fff" /> <solid android:color="@color/theme_color" />
<corners <corners
android:bottomLeftRadius="2dp" android:bottomLeftRadius="2dp"
android:bottomRightRadius="2dp" android:bottomRightRadius="2dp"
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
android:height="9dp" android:height="9dp"
android:gravity="center"> android:gravity="center">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<solid android:color="#5b4fff" /> <solid android:color="@color/theme_color" />
<corners <corners
android:bottomLeftRadius="2dp" android:bottomLeftRadius="2dp"
android:bottomRightRadius="2dp" android:bottomRightRadius="2dp"
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
android:height="9dp" android:height="9dp"
android:gravity="right|center_vertical"> android:gravity="right|center_vertical">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<solid android:color="#5b4fff" /> <solid android:color="@color/theme_color" />
<corners <corners
android:bottomLeftRadius="2dp" android:bottomLeftRadius="2dp"
android:bottomRightRadius="2dp" android:bottomRightRadius="2dp"
......
...@@ -3,19 +3,23 @@ ...@@ -3,19 +3,23 @@
<item android:id="@android:id/background"> <item android:id="@android:id/background">
<shape> <shape>
<corners android:radius="8dp" /> <corners android:radius="8dp" />
<solid android:color="#0A0336" /> <solid android:color="#313131" />
</shape> </shape>
</item> </item>
<item android:id="@android:id/progress"> <item
android:id="@android:id/progress"
android:bottom="2dp"
android:end="2dp"
android:start="2dp"
android:top="2dp">
<clip> <clip>
<shape> <shape>
<corners android:radius="8dp" /> <corners android:radius="8dp" />
<gradient <solid android:color="@color/white" />
android:endColor="#9477FF" <!-- <gradient-->
android:startColor="#00E0FF" <!-- android:endColor="#9477FF"-->
android:gradientRadius="10dp"/> <!-- android:startColor="#00E0FF"-->
<!-- android:gradientRadius="10dp"/>-->
</shape> </shape>
</clip> </clip>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/white"/> <item android:drawable="@color/white"/>
<item android:drawable="@drawable/splash_bg" /> <!-- <item android:drawable="@drawable/splash_bg" />-->
<item <item
android:top="130dp" android:top="130dp"
android:gravity="top|center_horizontal"> android:gravity="top|center_horizontal">
<bitmap <bitmap
android:src="@mipmap/icon_text" /> android:src="@mipmap/qdylogo" />
</item> </item>
</layer-list> </layer-list>
\ No newline at end of file
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<size <size
android:width="16dp" android:width="16dp"
android:height="16dp" /> android:height="16dp" />
<solid android:color="#4078FF" /> <solid android:color="@color/theme_color" />
</shape> </shape>
</rotate> </rotate>
</item> </item>
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
android:id="@+id/v_name" android:id="@+id/v_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="4dp" android:layout_height="4dp"
android:background="#4772FF" android:background="@color/theme_color"
android:visibility="invisible" /> android:visibility="invisible" />
</LinearLayout> </LinearLayout>
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
android:id="@+id/v_install" android:id="@+id/v_install"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="4dp" android:layout_height="4dp"
android:background="#4772FF" android:background="@color/theme_color"
android:visibility="invisible" /> android:visibility="invisible" />
</LinearLayout> </LinearLayout>
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
android:id="@+id/v_size" android:id="@+id/v_size"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="4dp" android:layout_height="4dp"
android:background="#4772FF" android:background="@color/theme_color"
android:visibility="invisible" /> android:visibility="invisible" />
</LinearLayout> </LinearLayout>
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
android:id="@+id/v_last_use" android:id="@+id/v_last_use"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="4dp" android:layout_height="4dp"
android:background="#4772FF" android:background="@color/theme_color"
android:visibility="invisible" /> android:visibility="invisible" />
</LinearLayout> </LinearLayout>
......
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
android:id="@+id/iv_gps" android:id="@+id/iv_gps"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/gps" android:src="@drawable/daohang"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.045" app:layout_constraintHorizontal_bias="0.045"
......
...@@ -85,7 +85,6 @@ ...@@ -85,7 +85,6 @@
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/id_view1" android:id="@+id/id_view1"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -96,7 +95,7 @@ ...@@ -96,7 +95,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon1" /> android:src="@mipmap/cleantu1" />
</FrameLayout> </FrameLayout>
<View <View
...@@ -111,7 +110,6 @@ ...@@ -111,7 +110,6 @@
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/id_view2" android:id="@+id/id_view2"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -122,7 +120,7 @@ ...@@ -122,7 +120,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon2" /> android:src="@mipmap/cleantu2" />
</FrameLayout> </FrameLayout>
<View <View
...@@ -137,7 +135,6 @@ ...@@ -137,7 +135,6 @@
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/id_view3" android:id="@+id/id_view3"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -148,7 +145,7 @@ ...@@ -148,7 +145,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon3" /> android:src="@mipmap/cleantu3" />
</FrameLayout> </FrameLayout>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon1" /> android:src="@mipmap/cleantu1" />
</FrameLayout> </FrameLayout>
<View <View
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon2" /> android:src="@mipmap/cleantu2" />
</FrameLayout> </FrameLayout>
<View <View
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon3" /> android:src="@mipmap/cleantu3" />
</FrameLayout> </FrameLayout>
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon1" /> android:src="@mipmap/cleantu1" />
</FrameLayout> </FrameLayout>
<View <View
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon2" /> android:src="@mipmap/cleantu2" />
</FrameLayout> </FrameLayout>
<View <View
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:src="@mipmap/icon3" /> android:src="@mipmap/cleantu3" />
</FrameLayout> </FrameLayout>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
...@@ -47,7 +48,8 @@ ...@@ -47,7 +48,8 @@
android:text="Click the button to start cleaning" android:text="Click the button to start cleaning"
android:textColor="#000000" android:textColor="#000000"
android:textSize="15sp" android:textSize="15sp"
android:textStyle="bold" /> android:textStyle="bold"
tools:ignore="HardcodedText" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -57,7 +59,8 @@ ...@@ -57,7 +59,8 @@
android:gravity="center" android:gravity="center"
android:text="There will be vibration and sound during speaker cleaning,which is normal!" android:text="There will be vibration and sound during speaker cleaning,which is normal!"
android:textColor="#999999" android:textColor="#999999"
android:textSize="13sp" /> android:textSize="13sp"
tools:ignore="HardcodedText" />
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
<com.noober.background.view.BLTextView <com.noober.background.view.BLTextView
...@@ -72,8 +75,8 @@ ...@@ -72,8 +75,8 @@
android:textSize="14sp" android:textSize="14sp"
android:textStyle="bold" android:textStyle="bold"
app:bl_corners_radius="24dp" app:bl_corners_radius="24dp"
app:bl_gradient_angle="180" app:bl_solid_color="@color/theme_color"
app:bl_gradient_endColor="@color/color_655afd" app:layout_constraintBottom_toBottomOf="parent"
app:bl_gradient_startColor="#8720eb" tools:ignore="HardcodedText" />
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" <androidx.appcompat.widget.LinearLayoutCompat 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" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
...@@ -27,15 +28,15 @@ ...@@ -27,15 +28,15 @@
android:orientation="vertical" android:orientation="vertical"
android:visibility="gone"> android:visibility="gone">
<!--suppress AndroidElementNotAllowed -->
<ProgressBar <ProgressBar
android:id="@+id/pb" android:id="@+id/pb"
style="@style/Widget.AppCompat.ProgressBar.Horizontal" style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="16dp" android:layout_height="12dp"
android:layout_marginHorizontal="65dp" android:layout_marginHorizontal="50dp"
android:progressDrawable="@drawable/shape_splash_s" /> android:progressDrawable="@drawable/shape_splash_s" />
<TextView <TextView
android:id="@+id/tv_load" android:id="@+id/tv_load"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -92,19 +93,20 @@ ...@@ -92,19 +93,20 @@
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
<TextView <com.noober.background.view.BLTextView
android:id="@+id/id_tv_start" android:id="@+id/id_tv_start"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="48dp" android:layout_height="48dp"
android:layout_marginHorizontal="40dp" android:layout_marginHorizontal="40dp"
android:layout_marginBottom="49dp" android:layout_marginBottom="49dp"
android:background="@drawable/bg_gradient_625fff_8720eb"
android:gravity="center" android:gravity="center"
android:text="START TO USE" android:text="START TO USE"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="18sp" android:textSize="18sp"
android:textStyle="bold" android:textStyle="bold"
android:visibility="visible" android:visibility="visible"
app:bl_corners_radius="10dp"
app:bl_solid_color="@color/theme_color"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
......
...@@ -81,9 +81,7 @@ ...@@ -81,9 +81,7 @@
android:textSize="18sp" android:textSize="18sp"
android:textStyle="bold" android:textStyle="bold"
app:bl_corners_radius="24dp" app:bl_corners_radius="24dp"
app:bl_gradient_angle="180" app:bl_solid_color="@color/theme_color"
app:bl_gradient_endColor="@color/color_655afd"
app:bl_gradient_startColor="#8720eb"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
...@@ -176,7 +174,8 @@ ...@@ -176,7 +174,8 @@
android:layout_marginTop="67dp" android:layout_marginTop="67dp"
android:text="Grant permission to continue" android:text="Grant permission to continue"
android:textColor="#666666" android:textColor="#666666"
android:textSize="16sp" /> android:textSize="16sp"
tools:ignore="HardcodedText" />
<com.noober.background.view.BLTextView <com.noober.background.view.BLTextView
android:id="@+id/id_gant" android:id="@+id/id_gant"
...@@ -192,7 +191,8 @@ ...@@ -192,7 +191,8 @@
app:bl_corners_radius="24dp" app:bl_corners_radius="24dp"
app:bl_gradient_angle="180" app:bl_gradient_angle="180"
app:bl_gradient_endColor="@color/color_655afd" app:bl_gradient_endColor="@color/color_655afd"
app:bl_gradient_startColor="#8720eb" /> app:bl_gradient_startColor="#8720eb"
tools:ignore="HardcodedText" />
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -46,8 +46,9 @@ ...@@ -46,8 +46,9 @@
android:layout_marginVertical="2dp" android:layout_marginVertical="2dp"
android:text="Home" android:text="Home"
android:textSize="13sp" android:textSize="13sp"
app:bl_selected_textColor="@color/color_4078ff" app:bl_selected_textColor="@color/theme_color"
app:bl_unSelected_textColor="@color/color_dadde5" /> app:bl_unSelected_textColor="@color/color_dadde5"
tools:ignore="HardcodedText" />
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
...@@ -74,8 +75,9 @@ ...@@ -74,8 +75,9 @@
android:layout_marginVertical="2dp" android:layout_marginVertical="2dp"
android:text="Tools" android:text="Tools"
android:textSize="13sp" android:textSize="13sp"
app:bl_selected_textColor="@color/color_4078ff" app:bl_selected_textColor="@color/theme_color"
app:bl_unSelected_textColor="@color/color_c3c3c3" /> app:bl_unSelected_textColor="@color/color_c3c3c3"
tools:ignore="HardcodedText" />
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
...@@ -92,17 +94,17 @@ ...@@ -92,17 +94,17 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
app:bl_selected_drawable="@drawable/tab_tools_s" app:bl_selected_drawable="@drawable/tab_file_s"
app:bl_unSelected_drawable="@drawable/tab_tools_n" /> app:bl_unSelected_drawable="@drawable/tab_file_n" />
<com.noober.background.view.BLTextView <com.noober.background.view.BLTextView
android:id="@+id/id_tv_manager" android:id="@+id/id_tv_manager"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginVertical="2dp" android:layout_marginVertical="2dp"
android:text="Manager" android:text="File"
android:textSize="13sp" android:textSize="13sp"
app:bl_selected_textColor="@color/color_4078ff" app:bl_selected_textColor="@color/theme_color"
app:bl_unSelected_textColor="@color/color_c3c3c3" app:bl_unSelected_textColor="@color/color_c3c3c3"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
......
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginHorizontal="40dp" android:layout_marginHorizontal="40dp"
android:layout_marginVertical="20dp" android:layout_marginVertical="20dp"
android:background="#5b4fff" android:background="@color/theme_color"
android:gravity="center" android:gravity="center"
android:text="@string/manage_uppercase" android:text="@string/manage_uppercase"
android:textColor="@color/white" android:textColor="@color/white"
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
android:text="Preview" android:text="Preview"
android:textColor="#ff000000" android:textColor="#ff000000"
android:textSize="19sp" android:textSize="19sp"
android:textStyle="bold" /> android:textStyle="bold"
tools:ignore="HardcodedText" />
<ImageView <ImageView
android:id="@+id/fanhui" android:id="@+id/fanhui"
...@@ -29,7 +30,8 @@ ...@@ -29,7 +30,8 @@
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginLeft="18dp" android:layout_marginLeft="18dp"
android:src="@mipmap/fanhui" android:src="@mipmap/fanhui"
app:tint="@color/black" /> app:tint="@color/black"
tools:ignore="ContentDescription,RtlHardcoded" />
</RelativeLayout> </RelativeLayout>
<RelativeLayout <RelativeLayout
...@@ -62,34 +64,38 @@ ...@@ -62,34 +64,38 @@
android:gravity="center" android:gravity="center"
android:text="Before" android:text="Before"
android:textColor="#666666" android:textColor="#666666"
android:textSize="12sp" /> android:textSize="12sp"
tools:ignore="HardcodedText,RtlHardcoded" />
<TextView <TextView
android:id="@+id/right_button" android:id="@+id/right_button"
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_alignParentRight="true" android:layout_alignParentEnd="true"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginRight="16dp" android:layout_marginEnd="16dp"
android:background="@drawable/btn_white_r12" android:background="@drawable/btn_white_r12"
android:gravity="center" android:gravity="center"
android:text="After" android:text="After"
android:textColor="#666666" android:textColor="#666666"
android:textSize="12sp" /> android:textSize="12sp"
tools:ignore="HardcodedText" />
<ImageView <ImageView
android:id="@+id/before_image" android:id="@+id/before_image"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="16dp" android:layout_marginStart="16dp"
android:layout_toLeftOf="@+id/line" /> android:layout_toStartOf="@+id/line"
tools:ignore="ContentDescription" />
<ImageView <ImageView
android:id="@+id/after_image" android:id="@+id/after_image"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginRight="16dp" android:layout_marginRight="16dp"
android:layout_toRightOf="@+id/line" /> android:layout_toRightOf="@+id/line"
tools:ignore="ContentDescription,RtlHardcoded" />
<View <View
android:id="@+id/line" android:id="@+id/line"
...@@ -103,7 +109,8 @@ ...@@ -103,7 +109,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:background="@drawable/yuanicon" /> android:background="@drawable/yuanicon"
tools:ignore="ContentDescription" />
</RelativeLayout> </RelativeLayout>
<!--suppress AndroidElementNotAllowed --> <!--suppress AndroidElementNotAllowed -->
...@@ -134,7 +141,8 @@ ...@@ -134,7 +141,8 @@
android:text="37.322 KB" android:text="37.322 KB"
android:textColor="#fffefefe" android:textColor="#fffefefe"
android:textSize="12sp" android:textSize="12sp"
android:textStyle="bold" /> android:textStyle="bold"
tools:ignore="HardcodedText,RtlHardcoded" />
<ImageView <ImageView
android:id="@+id/jiantou" android:id="@+id/jiantou"
...@@ -142,19 +150,21 @@ ...@@ -142,19 +150,21 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:background="@drawable/jiantou" /> android:background="@drawable/jiantou"
tools:ignore="ContentDescription" />
<TextView <TextView
android:id="@+id/after_size" android:id="@+id/after_size"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginLeft="21dp" android:layout_marginStart="21dp"
android:layout_toRightOf="@+id/jiantou" android:layout_toEndOf="@+id/jiantou"
android:text="40.270 KB" android:text="40.270 KB"
android:textColor="#fffefefe" android:textColor="#fffefefe"
android:textSize="12sp" android:textSize="12sp"
android:textStyle="bold" /> android:textStyle="bold"
tools:ignore="HardcodedText" />
</RelativeLayout> </RelativeLayout>
...@@ -169,70 +179,75 @@ ...@@ -169,70 +179,75 @@
</RelativeLayout> </RelativeLayout>
<RelativeLayout <LinearLayout
android:id="@+id/bottom_layout" android:id="@+id/bottom_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="170dp" android:layout_height="170dp"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:background="@color/white" android:background="@color/white"
android:orientation="vertical"
android:paddingTop="21dp"> android:paddingTop="21dp">
<RelativeLayout
<SeekBar
android:id="@+id/seekBar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_above="@+id/view_line"> android:max="100"
android:progress="50"
android:progressDrawable="@drawable/seekbar_bg"
android:thumb="@drawable/preview" />
<SeekBar <FrameLayout
android:id="@+id/seekBar" android:layout_width="match_parent"
android:layout_width="match_parent" android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:max="100"
android:progress="50"
android:progressDrawable="@drawable/seekbar_bg"
android:thumb="@drawable/preview" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/seekBar" android:layout_gravity="start"
android:layout_marginLeft="16dp" android:layout_marginStart="16dp"
android:text="Best photo quality" android:text="Best photo quality"
android:textColor="#ff000000" android:textColor="#ff000000"
android:textSize="14sp" /> android:textSize="14sp"
tools:ignore="HardcodedText" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/seekBar" android:layout_gravity="end"
android:layout_alignParentRight="true" android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:text="Most space saved" android:text="Most space saved"
android:textColor="#ff000000" android:textColor="#ff000000"
android:textSize="14sp" /> android:textSize="14sp"
</RelativeLayout> tools:ignore="HardcodedText" />
</FrameLayout>
<View <View
android:id="@+id/view_line" android:id="@+id/view_line"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1dp" android:layout_height="1dp"
android:layout_above="@+id/btn_compress" android:layout_above="@+id/btn_compress"
android:layout_marginTop="33dp" android:layout_marginTop="5dp"
android:background="#EEEEEE" /> android:background="#EEEEEE"
tools:ignore="ObsoleteLayoutParam" />
<TextView <com.noober.background.view.BLTextView
android:id="@+id/btn_compress" android:id="@+id/btn_compress"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_alignParentBottom="true" android:layout_marginHorizontal="40dp"
android:layout_marginLeft="43dp" android:layout_marginTop="15dp"
android:layout_marginTop="8dp"
android:layout_marginRight="43dp"
android:layout_marginBottom="8dp"
android:background="@drawable/btn_blue_bg" android:background="@drawable/btn_blue_bg"
android:gravity="center" android:gravity="center"
android:text="COMPRESS ALL" android:text="COMPRESS ALL"
android:textColor="#ffffffff" android:textColor="#ffffffff"
android:textSize="19sp" android:textSize="19sp"
android:textStyle="bold" /> android:textStyle="bold"
</RelativeLayout> app:bl_corners_radius="5dp"
app:bl_solid_color="@color/theme_color"
tools:ignore="HardcodedText" />
</LinearLayout>
</RelativeLayout> </RelativeLayout>
\ No newline at end of file
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="59dp"
android:layout_height="wrap_content" android:layout_height="35dp"
android:orientation="vertical" android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="@id/iv_launches_border" app:layout_constraintBottom_toBottomOf="@id/iv_launches_border"
app:layout_constraintEnd_toEndOf="@id/iv_launches_border" app:layout_constraintEnd_toEndOf="@id/iv_launches_border"
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
android:padding="12dp" android:padding="12dp"
android:visibility="gone" android:visibility="gone"
app:bl_corners_radius="5dp" app:bl_corners_radius="5dp"
app:bl_solid_color="#1A4772FF"> app:bl_solid_color="#ECEEFA">
<TextView <TextView
android:layout_width="0dp" android:layout_width="0dp"
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
android:layout_weight="1" android:layout_weight="1"
android:text="Grant permission to find more junk" android:text="Grant permission to find more junk"
android:textColor="@color/theme_color" android:textColor="@color/theme_color"
android:textSize="13sp" android:textSize="12sp"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
...@@ -25,7 +26,8 @@ ...@@ -25,7 +26,8 @@
android:text="Settings" android:text="Settings"
android:textColor="#000000" android:textColor="#000000"
android:textSize="18sp" android:textSize="18sp"
android:textStyle="bold" /> android:textStyle="bold"
tools:ignore="HardcodedText" />
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -48,7 +50,7 @@ ...@@ -48,7 +50,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="14dp" android:layout_marginStart="14dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:src="@drawable/settingsnotifi" /> android:src="@drawable/settingsiocn" />
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="0dp" android:layout_width="0dp"
...@@ -61,7 +63,8 @@ ...@@ -61,7 +63,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Notification hiding" android:text="Notification hiding"
android:textColor="#000000" android:textColor="#000000"
android:textSize="13sp" /> android:textSize="13sp"
tools:ignore="HardcodedText" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -69,7 +72,8 @@ ...@@ -69,7 +72,8 @@
android:layout_marginTop="4dp" android:layout_marginTop="4dp"
android:text="Hide app notifications in the notification bar" android:text="Hide app notifications in the notification bar"
android:textColor="#999999" android:textColor="#999999"
android:textSize="12sp" /> android:textSize="12sp"
tools:ignore="HardcodedText" />
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
...@@ -96,4 +100,5 @@ ...@@ -96,4 +100,5 @@
android:id="@+id/id_setting_rl" android:id="@+id/id_setting_rl"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
android:layout_width="28dp" android:layout_width="28dp"
android:layout_height="28dp" android:layout_height="28dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:src="@mipmap/logo_notification" android:src="@mipmap/logo"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
<TextView <TextView
......
app/src/main/res/mipmap-xxhdpi/logo.png

17.9 KB | W: | H:

app/src/main/res/mipmap-xxhdpi/logo.png

90.1 KB | W: | H:

app/src/main/res/mipmap-xxhdpi/logo.png
app/src/main/res/mipmap-xxhdpi/logo.png
app/src/main/res/mipmap-xxhdpi/logo.png
app/src/main/res/mipmap-xxhdpi/logo.png
  • 2-up
  • Swipe
  • Onion skin
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