上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 186 下一页
摘要: 一,类代码: 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 刘宏缔的架构森林 阅读(49) 评论(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 刘宏缔的架构森林 阅读(137) 评论(0) 推荐(0)
摘要: 一,代码: //给按钮增加点击事件 Button button2 = findViewById(R.id.button2); button2.setOnClickListener(new View.OnClickListener() { @Override public void onClick(V 阅读全文
posted @ 2025-05-10 09:02 刘宏缔的架构森林 阅读(33) 评论(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 刘宏缔的架构森林 阅读(20) 评论(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 刘宏缔的架构森林 阅读(241) 评论(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 刘宏缔的架构森林 阅读(25) 评论(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 刘宏缔的架构森林 阅读(73) 评论(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 刘宏缔的架构森林 阅读(28) 评论(0) 推荐(0)
摘要: 一,常用属性: 常用属性: layout_constraintLeft_toLeftOf:左边和目标组件的左边对齐layout_constraintLeft_toRightOf:左边和目标组件的右边对齐layout_constraintRight_toLeftOf:右边和目标组件的左边对齐layou 阅读全文
posted @ 2025-05-10 09:01 刘宏缔的架构森林 阅读(140) 评论(0) 推荐(0)
摘要: 一,代码: rouned_corner.xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectan 阅读全文
posted @ 2025-05-10 09:01 刘宏缔的架构森林 阅读(27) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 186 下一页