
Android
Android
<Running Snail>
奇点将至
展开
-
Android studio 去除软件运行时顶部原有的蓝色/绿色框
首先app/res/values/sthles.xml中<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">改成这样,这样就没有标题栏了。原创 2020-08-31 21:28:47 · 2078 阅读 · 0 评论 -
Android Studio报错Your anti-virus program might be impacting your build performance的解决办法
把以上文件夹添加杀毒软件信任目录即可原创 2020-08-06 15:59:23 · 10896 阅读 · 0 评论 -
Android之EditText练习
activity_edit_text.xml<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="20dp"&..原创 2020-08-04 21:29:11 · 249 阅读 · 0 评论 -
Android之Button练习
先声明创建一个Buttonactivity_main.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientatio原创 2020-08-03 13:14:53 · 1049 阅读 · 0 评论 -
Android之TextView练习
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:paddin.原创 2020-08-02 13:29:42 · 986 阅读 · 0 评论 -
Android Studio 设置主题及字体
1、修改主题及标签的字体 主题 (theme 背景) 标签 (例如:file 文件 run 运行 tool 工具等)步骤:File >> settings >> Appearance & Behavior >> Appearance2、修改代码区域的字体,字号,行距步骤:File >> settings >> Editor >> Font...原创 2020-08-02 10:47:18 · 658 阅读 · 0 评论 -
相对布局练习
<?xml version="1.0" encoding="utf-8"?><RelativeLayout 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" android:layout_width=.原创 2020-08-01 16:30:39 · 967 阅读 · 0 评论 -
线性布局练习
<?xml version="1.0" encoding="utf-8"?><LinearLayout 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" android:layout_width="ma原创 2020-08-01 16:00:42 · 333 阅读 · 0 评论