自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 Android WebView的简单使用方法

1.Layout中添加Webview控件 <WebView android:id="@+id/my_webview" android:layout_width="fill_parent" android:layout_height="fill_parent" />2.设置支持Javascript WebSettings myWeb

2013-11-28 17:15:43 485

转载 解决Android Listview添加ImageButton,ListView点击无响应的问题

1.在imageButton的xml,属性里添加如下属性: android:focusable="false" android:focusableInTouchMode="false"2.在listview item的xml中添加如下属性:android:descendantFocusability="blocksDescendants"

2013-11-28 16:44:46 1078

转载 ImageButton设置 android:background添加点击效果

今天在ImageButton的xml属性里直接设置了android:background="@android:color/black",可能父View的背景色也是black,点击这个ImageButton没有点击效果,而且不知道怎么回事ImageButton大小总是不对。最后在网上找了一种方法,用selector。1.在drawable目录下建立mage_button_click.xml文件

2013-11-28 15:24:18 2101

转载 Android使用Handler异步更新UI

1.创建Handler对象: Handler myHandler = new Handler(){ @Override public void handleMessage(Message msg) { // Handle the UI thread here. // TODO Auto-generated method stub super.handleMessa

2013-11-01 11:51:04 722

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除