![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android APIDEMO学习
hkk101
这个作者很懒,什么都没留下…
展开
-
背景及边框处理
1.android:addStatesFromChildren="true" Sets whether this ViewGroup's drawablestates also include its children's drawablestates 2.android:background="@android:drawable/edit_text" 编辑框的白的背景 3.android:t...原创 2011-07-01 12:21:39 · 69 阅读 · 0 评论 -
Spin 字体高亮 颜色等
public class MainAtivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TextView txtInfo = new TextView(this); Spannabl...原创 2011-07-01 12:35:51 · 325 阅读 · 0 评论 -
SparseArray
/** * SparseArrays map integers to Objects. Unlike a normal array of Objects, * there can be gaps in the indices. It is intended to be more efficient * than using a HashMap to map Integers to Object...原创 2011-07-01 13:38:59 · 78 阅读 · 0 评论 -
view 继承图
view继承图原创 2011-07-04 13:58:10 · 93 阅读 · 0 评论 -
listView
由于这两天在做listView的东西,所以整理出来一些我个人认为比较特别的属性,通过设置这样的属性可以做出更加美观的列表首先是stackFromBottom属性,这只该属性之后你做好的列表就会显示你列表的最下面,值为true和falseandroid:stackFromBottom="true" 第二是transciptMode属性,需要用ListView或...原创 2011-07-11 15:56:40 · 146 阅读 · 0 评论