2012年9月4日
摘要: 转自: http://hi.baidu.com/zymill/item/2e2de32348359d866e2cc38a主题Theme就是用来设置界面UI风格,可以设置整个应用或者某个活动Activity的界面风格。在Android SDK中内置了下面的Theme,可以按标题栏Title Bar和状态栏Status Bar是否可见来分类:状态栏、标题栏均可见状态栏可见、标题栏不可见全屏(状态栏、标题栏均不可见)ThemeTheme.NoTitleBarTheme.NoTitleBar.FullscreenTheme.BlackTheme.Black.NoTitleBarTheme.Black. 阅读全文
posted @ 2012-09-04 15:29 清沁 阅读(1528) 评论(0) 推荐(0) 编辑
摘要: 写的很好的一篇文章:http://www.eoeandroid.com/thread-48051-1-1.html 阅读全文
posted @ 2012-09-04 11:24 清沁 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 转自:http://byandby.iteye.com/blog/1020374来看这个布局文件 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_ 阅读全文
posted @ 2012-09-04 10:59 清沁 阅读(2280) 评论(0) 推荐(0) 编辑
摘要: 概述在drawable/xxx.xml中配置,通过配置selector,可以使系统运行时根据控件对象的状态使用相应的图片、文字等。selector中的常用属性android:state_selected 控件选中状态,可以为true或falseandroid:state_focused 控件获得焦点状态,可以为true或falseandroid:state_pressed 控件点击状态,可以为true或falseandroid:state_enabled 控件使能状态,可以为true或falseandroid:state_checkable 控件可勾选状态,可以为true或falseandro 阅读全文
posted @ 2012-09-04 09:45 清沁 阅读(1615) 评论(0) 推荐(0) 编辑