- 博客(23)
- 资源 (3)
- 收藏
- 关注
原创 简易打地鼠
activity_main.xml<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/f1" android:layout_width="match_p
2014-07-14 10:09:11 810
原创 多彩的霓虹灯
Color.xml #ffff0000 #ffff6600 #ffffff00 #ff00ff00 #ff00ffff #ff0000ff #ff6600ff
2014-07-14 09:33:26 315
原创 获取联系人的Id和姓名
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-13 18:16:17 374
原创 播放SD卡上全部音频文件
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-12 14:38:52 1652
原创 使用soundPool播放音频
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-11 16:18:37 423
原创 实现闪烁灯星星动画
activity_main.xml<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/container" android:layout_width="
2014-07-11 14:33:58 1147
原创 实现探照灯效果
activity_main.xml<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/frameLayout1" android:layout_widt
2014-07-11 14:08:02 1429
原创 获取SD卡上所有的图片
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-11 09:31:22 553
原创 旋转平移,缩放,透明度渐变的补间动画
anim_alpha.xml <alpha android:duration="2000" android:fillAfter="true" android:fromAlpha="1" android:repeatCount="1" android:repeatMode="reverse"
2014-07-10 16:05:10 533
原创 动画连续播放
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-10 15:11:40 383
原创 简易涂鸦板
fragment_main.xml<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout
2014-07-08 18:31:54 489
原创 创建上下文菜单
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-07 17:54:38 418
原创 原始XML资源
main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="5px" android
2014-07-07 14:26:57 302
原创 显示用户触摸持续的时间
MainActivity.javapackage com.xwy.shi;import android.support.v4.app.Fragment;import android.app.Activity;import android.os.Bundle;import android.view.LayoutInflater;import android.view.Menu;im
2014-07-07 09:27:54 968
转载 Android URI简介
就Android平台而言,URI主要分三个部分:scheme, authority and path。其中authority又分为host和port。格式如下:scheme://host:port/path举个实际的例子:content://com.example.project:200/folder/subfolder/etc\---------/ \-------------
2014-07-06 09:26:23 274
原创 带头像的用户注册页面
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-02 16:27:05 2720
原创 根据身高计算体重
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-02 11:00:44 554
原创 使用Bundle在Activity之间交换数据
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-02 10:15:45 407
原创 带图标的列表对话框
main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
2014-07-01 15:12:12 523
原创 使用AlertDialog创建对话框
MainActivity.javapackage com.mingrisoft;import android.app.Activity;import android.app.AlertDialog;import android.app.AlertDialog.Builder;import android.content.DialogInterface;import android.
2014-07-01 14:55:58 422
原创 幻灯片式图片浏览器
fragment_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2014-07-01 12:27:00 585
原创 显示在标题上的进度条
fragment_main<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_he
2014-07-01 10:36:15 337
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人