app瘦身,删除一些多余的大文件
|
Before Width: | Height: | Size: 111 KiB |
|
|
@ -33,7 +33,7 @@ import kotlinx.coroutines.launch
|
|||
import kotlinx.coroutines.withContext
|
||||
|
||||
class LossPreventionActivity : BaseActivity() {
|
||||
var iv_lossper: ImageView? = null;
|
||||
lateinit var iv_lossper: ImageView ;
|
||||
private lateinit var aiBack: AppCompatImageView
|
||||
private lateinit var tvSave:TextView
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
|
|
@ -65,7 +65,7 @@ class LossPreventionActivity : BaseActivity() {
|
|||
Glide.with(this).load(fdsUrl)
|
||||
.placeholder(R.drawable.spinner200px200px)
|
||||
.fitCenter()
|
||||
.into(iv_lossper!!)
|
||||
.into(iv_lossper)
|
||||
}
|
||||
|
||||
private suspend fun saveImage() {
|
||||
|
|
|
|||
|
|
@ -291,7 +291,6 @@ class SplashActivity : BaseActivity() {
|
|||
horizontalPadding = false
|
||||
)
|
||||
val captchaSimple = findViewById<Captcha>(R.id.captCha)
|
||||
captchaSimple.setBitmap(R.drawable.gv_icon)
|
||||
captchaSimple.setCaptchaListener(object : Captcha.CaptchaListener {
|
||||
override fun onAccess(time: Long): String {
|
||||
Toast.makeText(
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ public class Captcha extends LinearLayout {
|
|||
public Captcha(@NonNull final Context context, @Nullable AttributeSet attrs, @AttrRes int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.Captcha);
|
||||
drawableId = typedArray.getResourceId(R.styleable.Captcha_src, R.drawable.gv_icon);
|
||||
// drawableId = typedArray.getResourceId(R.styleable.Captcha_src, R.drawable.gv_icon);
|
||||
progressDrawableId = typedArray.getResourceId(R.styleable.Captcha_progressDrawable, R.drawable.po_seekbar);
|
||||
thumbDrawableId = typedArray.getResourceId(R.styleable.Captcha_thumbDrawable,R.drawable.thumb);
|
||||
mMode = typedArray.getInteger(R.styleable.Captcha_mode, MODE_BAR);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public class ActivityViewDialog extends Dialog {
|
|||
ImageView ivActivityImg =findViewById(R.id.ivActivityImg);
|
||||
Glide.with(context)
|
||||
.load(path)
|
||||
.error(R.drawable.ic_activity_bg)
|
||||
// .error(R.drawable.ic_activity_bg)
|
||||
.diskCacheStrategy(DiskCacheStrategy.DATA)//仅仅只缓存原来的全分辨率的图像
|
||||
.into(ivActivityImg);
|
||||
}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 182 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 214 KiB |
|
Before Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true" android:drawable="@drawable/btn_speed_on"/>
|
||||
<item android:drawable="@drawable/btn_speed_off"/>
|
||||
</selector>
|
||||
|
Before Width: | Height: | Size: 294 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
|
@ -1,12 +0,0 @@
|
|||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#fff" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:gravity="center">
|
||||
<nine-patch
|
||||
android:src="@drawable/home_background"
|
||||
android:tileMode="disabled" />
|
||||
</item>
|
||||
</layer-list>
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/accelerate_iv_selector"
|
||||
|
||||
app:layout_constraintHeight_percent="0.50"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:layout_editor_absoluteX="0dp" />
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@
|
|||
android:layout_marginEnd="10dp"
|
||||
android:contentDescription="@string/close"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/gift"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tv_save"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 265 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 490 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 481 KiB |
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 293 KiB |
|
Before Width: | Height: | Size: 377 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 433 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 523 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 489 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 512 KiB |
|
Before Width: | Height: | Size: 795 KiB After Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 39 KiB |