摘要:
一,代码: package com.example.okdemo1.activity; import static android.app.PendingIntent.getActivity; import android.animation.Animator; import android.ani 阅读全文
posted @ 2025-05-10 09:04
刘宏缔的架构森林
阅读(230)
评论(0)
推荐(0)
摘要:
一,类代码: package com.example.okdemo1.lib; import android.util.Log; public class Logger { /* public static final int VERBOSE = 2; public static final int 阅读全文
posted @ 2025-05-10 09:04
刘宏缔的架构森林
阅读(64)
评论(0)
推荐(0)
摘要:
一,代码: 说明:要使用layui的lay-filter html: <div class="layui-form layui-col-md6" style="margin-left: 6px;width:130px;margin-top:16px;"> <select name="type" id 阅读全文
posted @ 2025-05-10 09:02
刘宏缔的架构森林
阅读(145)
评论(0)
推荐(0)
摘要:
一,代码: //给按钮增加点击事件 Button button2 = findViewById(R.id.button2); button2.setOnClickListener(new View.OnClickListener() { @Override public void onClick(V 阅读全文
posted @ 2025-05-10 09:02
刘宏缔的架构森林
阅读(38)
评论(0)
推荐(0)
摘要:
一,代码: xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match 阅读全文
posted @ 2025-05-10 09:02
刘宏缔的架构森林
阅读(26)
评论(0)
推荐(0)
摘要:
一,报错信息: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f050224 Caused by: android.content.re 阅读全文
posted @ 2025-05-10 09:02
刘宏缔的架构森林
阅读(285)
评论(0)
推荐(0)
摘要:
一,代码: xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="300dp" 阅读全文
posted @ 2025-05-10 09:02
刘宏缔的架构森林
阅读(30)
评论(0)
推荐(0)
摘要:
一,代码: xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/ 阅读全文
posted @ 2025-05-10 09:01
刘宏缔的架构森林
阅读(90)
评论(0)
推荐(0)
摘要:
一,代码: xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/ 阅读全文
posted @ 2025-05-10 09:01
刘宏缔的架构森林
阅读(40)
评论(0)
推荐(0)
摘要:
一,常用属性: 常用属性: layout_constraintLeft_toLeftOf:左边和目标组件的左边对齐layout_constraintLeft_toRightOf:左边和目标组件的右边对齐layout_constraintRight_toLeftOf:右边和目标组件的左边对齐layou 阅读全文
posted @ 2025-05-10 09:01
刘宏缔的架构森林
阅读(152)
评论(0)
推荐(0)
浙公网安备 33010602011771号