上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 1 package com.example.myfragment; 2 3 import android.app.Activity; 4 import android.app.Fragment; 5 import android.os.Bundle; 6 import android.view.LayoutInflater; 7 import android.vie... 阅读全文
posted @ 2016-04-10 11:40 zhongyinghe 阅读(143) 评论(0) 推荐(0)
摘要: 1、视图 2、fragment的视图如下 3、切换选项卡代码 4、fragment的代码类似如下 阅读全文
posted @ 2016-04-10 10:56 zhongyinghe 阅读(114) 评论(0) 推荐(0)
摘要: 1、视图 1)主视图 2)fragment1视图 3)fragment2视图 2、java代码 1)切换代码 2)fragment1和fragment2代码 阅读全文
posted @ 2016-04-10 10:21 zhongyinghe 阅读(169) 评论(0) 推荐(0)
摘要: 1、视图 1)主视图 2)fragment1视图 3)fragment2视图 2、Fragment1的代码 3、Fragment2的代码 阅读全文
posted @ 2016-04-10 10:14 zhongyinghe 阅读(136) 评论(0) 推荐(0)
摘要: 1 package com.example.installmyapk; 2 3 import java.io.File; 4 5 import android.net.Uri; 6 import android.os.Bundle; 7 import android.app.Activity; 8 import android.content.Intent; 9 impor... 阅读全文
posted @ 2016-04-07 22:59 zhongyinghe 阅读(175) 评论(0) 推荐(0)
摘要: 1 package com.example.testnull; 2 3 import android.os.Bundle; 4 import android.app.Activity; 5 import android.app.ActivityManager; 6 import android.view.Menu; 7 import android.view.View; 8 ... 阅读全文
posted @ 2016-04-07 22:41 zhongyinghe 阅读(136) 评论(0) 推荐(0)
摘要: 1、java代码 2、动画xml,需要在res目录下新建anim文件夹,然后把以下的xml文件放进去 1)透明度alpha_anim.xml文件 2)缩放scale_anim.xml文件 3)旋转rotate_anim.xml文件 4)平移translate_anim.xml文件 注意:%后面的p说 阅读全文
posted @ 2016-04-07 22:16 zhongyinghe 阅读(678) 评论(0) 推荐(0)
摘要: 1、视图 2、android代码 阅读全文
posted @ 2016-04-07 18:10 zhongyinghe 阅读(212) 评论(0) 推荐(0)
摘要: 1、帧动画文件实现 1)在res目录下新建drawable目录,把动画图片放进去,并实现一个xml文件,例如:girl_list.xml 2、视图 3、java代码 阅读全文
posted @ 2016-04-07 17:20 zhongyinghe 阅读(192) 评论(0) 推荐(0)
摘要: 1、权限 <uses-permission android:name="android.permission.INTERNET"/> 2、视图 3、java代码 阅读全文
posted @ 2016-04-07 16:40 zhongyinghe 阅读(260) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页