原创 Android 滑動效果入門篇(一)ViewFlipper

http://software.intel.com/zh-cn/blogs/2012/06/15/android-viewflipper/?cid=sw:prccsdn2275  

原创 圓角listView

效果:   CornerListView.java package com.example.listview_roundcorner; import android.content.Context; import android.ut

原创 關於AndroidManifest.xm

一、關於AndroidManifest.xml AndroidManifest.xml 是每個android程序中必須的文件。它位於整個項目的根目錄,描述了package中暴露的組件(activities, services, 等等),

原创 android-listView小技巧

http://gundumw100.iteye.com/blog/1169065 ListView 自定義滾動條樣式: <ListView android:id="@android:id/list"      android:la

原创 程序中訪問layout xml資源文件

LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); View view = inf

原创 旋轉動畫——xml定義

上圖中的圖片圍繞自身不停旋轉 參考URL: http://www.cnblogs.com/511mr/ my_rotate.xml(格式最好不改) <?xml version="1.0" encoding="utf-8"?> <rota

原创 Android Intent 用法彙總

顯示網頁 1. Uri uri = Uri.parse("http://google.com");   2. Intent it = new I

原创 android顏色對應的xml配置值

<?xml version="1.0" encoding="utf-8" ?> <resources> <color name="white">#F

原创 .9.png圖片製作

http://2528.iteye.com/blog/1326647 NinePatch是一種可延展的PNG圖。NinePatch的用途是製作「可隨文字大小縮放」的圖片,如圖1                              

原创 AlertDialog內容自定義

  LayoutInflater factory = LayoutInflater.from(this);         final View dialogView = factory.inflate(R.layout.share,

原创 Android-仿iPhone滾輪控件效果

http://blog.csdn.net/zhjp4295216/article/details/6963651  

原创 Button點擊事件寫法

第一種: Button bt_detailaccount = (Button)findViewById(R.id.auc_detailaccount); bt_detailaccount.setOnClickListener(new on

原创 android sdk 安裝問題

android sdk 安裝更新慢:下載android sdk更新包離線安裝解決方案: http://www.zhiwenweb.cn/Category/Learning/android-sdk-update-package.html