![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
今天早睡了吗?
目标是早睡
展开
-
【android开发】使用xml绘制一个简单的圆角背景
【android开发】使用xml绘制一个简单的圆角背景 通过shape标签实现这个背景,不添加其他属性则应该为矩形,在其中添加corners标签设置其圆角度数。 stroke代表线的部分 solid代表中间的填充 可以设置不同的颜色和宽度 直接上代码: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <co原创 2021-09-27 21:52:22 · 1055 阅读 · 0 评论 -
【android开发】简单记录在代码中获取屏幕自动旋转开关状态
【android开发】简单记录在代码中获取屏幕自动旋转开关状态 可以通过Settings.system方法获取设置的值 Settings.System.getInt(getContentResolver(),Settings.System.ACCELEROMETER_ROTATION) 返回的数值为0代表关闭,返回数值为1代表开启。 文档中说明: The Settings provider contains global system-level device preferences. 设置提供程序包含全原创 2021-09-27 20:57:36 · 679 阅读 · 0 评论 -
2021-2-4学习笔记org.thymeleaf.TemplateEngine :Exception processing template “index“: An error happened
org.thymeleaf.TemplateEngine : [THYMELEAF][http-nio-8080-exec-6] Exception processing template "index": An error happened during template parsing (template: "class path resource [templates/index.html]") 今天遇到这个错误,在我form提交到url添加用户的时候,仔细检查过后发现controller部分没原创 2021-02-04 13:44:21 · 2729 阅读 · 0 评论