
UI控件
obmeflbj
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
TextView代码设置文字粗体
txt.getPaint().setFakeBoldText(true);原创 2012-12-05 12:01:28 · 1620 阅读 · 0 评论 -
android listview中设置背景图片后 拉动变黑
转自:http://blog.sina.com.cn/s/blog_629b701e0100wu39.html在Android中,ListView是最常用的一个控件,在做UI设计的时候,很多人希望能够改变一下它的背景,使他能够符合整体的UI设计,改变背景背很简单只需要准备一张图片然后指定属性 android:background="@drawable/bg",不过不要高兴地太早,当你这转载 2012-12-05 12:04:05 · 422 阅读 · 0 评论 -
ANDROID TEXTVIEW 设置字体颜色
转自:http://blog.youkuaiyun.com/maigan323/article/details/7026218关键字: android textview colorTextView的字体设置方法:1、直接通过配置文件设置2、在Activity类中进行设置 第一种方式很简单,用于静态或初始文字颜色的设置,方法如下: main.xml转载 2012-12-05 11:59:23 · 561 阅读 · 0 评论 -
Android下修改SeekBar样式
转自:http://blog.youkuaiyun.com/assassin4824/article/details/6427843SeekBar配置文件:Xml代码[xhtml] view plaincopySeekBar android:id="@+id/player_seekbar"转载 2013-01-09 20:59:15 · 860 阅读 · 0 评论 -
使用PopupWindow出现的错误
转自:http://bbs.youkuaiyun.com/topics/370055202?page=1#post-393445257报 错:at android.widget.PopupWindow$PopupViewContainer.dispatchKeyEvent解决:创建PopupWindow 的时候 不要调用 setFocusable(true);在showAtLo转载 2013-01-11 09:46:23 · 587 阅读 · 0 评论 -
下拉框spinner:获取选中值的几种方法
转自:http://www.eoeandroid.com/forum.php?mod=viewthread&tid=175274spinner绑定的值一般分3种形式存放: 1、存放在java页面的数组中:{"湖北","武汉","荆州"} 2、存放在strings.xml文件中 3、存放在数据库中,调用接口获得 1、2是在一般的页面转载 2013-01-28 10:34:17 · 1103 阅读 · 1 评论