![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android基础学习
Emmawind
性格开朗,为人诚实,善于与人沟通,有合作精神,信念乐观,对新事物能很快地接受并有很好的想象力,适应能力较强。
展开
-
android基础学习--gravity和weight属性
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <EditTe转载 2015-06-18 11:46:28 · 357 阅读 · 0 评论 -
android基础学习--像素单位
一、像素单位:dp、sp、px、in、pt、mm dp:即dip,与sp 基本类似。如果需要设置长度、高度等属性时可以使用dp 或sp。 sp:如果设置字体,需要使用sp。 px:表示屏幕实际的象素。例如,320*480 的屏幕在横向有320个象素,在纵向有480 个象素。 dp、sp、px区别:dp 是与密转载 2015-06-18 11:00:43 · 414 阅读 · 0 评论 -
android布局学习--标签属性
TextView、Button等标签都可用的属性: 注:本次都只记录了几个比较常用的标签属性,以后可能会逐次增加。转载 2015-06-18 11:13:32 · 311 阅读 · 0 评论