![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
*meng_meng
努力的最大动力,在于可以选择你想要的生活,而不是被生活选择。
展开
-
android学习(布局)
android学习(布局) 1.线性布局(LinearLayout) 常用属性: android:id (相当于地址的作用) android:layout_width (android:lauyout_width="match_patent"为其父空间) android:layout_height android:background android:layout_margin(外边距) android:layout_marignTop(距离外上边距) android:layout...原创 2020-10-10 16:38:06 · 77 阅读 · 0 评论 -
android(文本操作)
android学习 文本设置(TextView) (文字大小、颜色;显示不下使用;文字+icon;中划线、下划线;跑马灯) 在java下创建activity 将图片文件存放在res的drawable下面 1.android:text="你好"(直接加入文本) 2.android:text="@string/view_name"(通过导引入文本) 3.android:textSize="15sp"(字体大小设置) 4.android:textColor="#000000"(字体颜色) 5.如若设置了文本的宽原创 2020-10-10 16:37:12 · 139 阅读 · 0 评论