码迷,mamicode.com
首页 >  
搜索关键字:fragment actionbar    ( 3914个结果
Android ActionBarDrawerToggle、DrawerLayout、ActionBar 结合
ActionBarDrawerToggle是一个开关,用于打开/关闭DrawerLayout抽屉 ActionBarDrawerToggle 提供了一个方便的方式来配合DrawerLayout和ActionBar,以实现推荐的抽屉功能。即点击ActionBar的home按钮,即可弹出DrawerLayout抽屉。 在Activity中的两个回调函数中使用它:    onConfigu...
分类:移动开发   时间:2014-11-17 12:23:24    阅读次数:219
Android Fragment和Activity的交互介绍
Fragment和Activity的交互   一个Fragment的实例总是和包含它的Activity直接相关。   fragment可以通过getActivity() 方法来获得Activity的实例,然后就可以调用一些例如findViewById()之类的方法。   如:   View listView = getActivity().findViewById(R.id...
分类:移动开发   时间:2014-11-16 12:07:45    阅读次数:234
NO.4 Android开发中常用框架及工具
android-pulltorefresh一个强大的拉动刷新开源项目,支持各种控件下拉刷新ListView、ViewPager、WevView、ExpandableListView、GridView、(Horizontal)ScrollView、Fragment上下左右拉动刷新,比johannils...
分类:移动开发   时间:2014-11-15 21:40:57    阅读次数:193
路透社新闻 --- jsoup解析html
路透中文网:http://cn.reuters.com/ 本应用主要使用 jsoup 实现html解析和数据展示  所以只取其中三个部分(热点文章,中国财经,国际财经) 其他组件:  PagerSlidingTabStrip ,ViewPager,Fragment结合使用 下拉刷新使用XListView 源码下载地址...
分类:Web程序   时间:2014-11-15 17:10:24    阅读次数:224
Viewpager+fragment数据更新问题解析
在一个 Android 应用中,我们可以使用 FragmentPageAdapter来处理多 Fragment 页面的横向滑动。但是当 Fragment 对应的数据集发生改变时,我们都希望能够通过调用 mAdapter.notifyDataSetChanged() 来触发 Fragment 页面使用...
分类:其他好文   时间:2014-11-15 15:31:15    阅读次数:222
记录下我学习android的步骤
ListView使用 ActionBar导航 基于ListView的下拉刷新和点击加载更多 制作左滑菜单 制作模仿微信的Tab,用layout 、ViewPager、Fragment实现 AsynTask异步加载和网络通信框架Volley 制作类似新浪微博的简易APP 制作...
分类:移动开发   时间:2014-11-15 12:57:41    阅读次数:200
ActionBar学习(1)
添加ActionBar 只需要在AndroidManifest.xml中指定Application或Activity的theme即可: android:theme="@style/AppTheme"?> res/values/styles.xml指定AppTheme: <resources> ????<!-- ????????B...
分类:其他好文   时间:2014-11-15 10:10:54    阅读次数:218
Android - 隐藏最顶端的通知条(Top Notification Bar)
隐藏最顶端的通知条(Top Notification Bar/ActionBar)本文地址: http://blog.csdn.net/caroline_wendyAndroid中, 视频播放等功能需要全屏播放, 就需要隐藏最上面的Notification Bar/ActionBar;最上面的Bar, 其实是与Theme有关, 在Theme中有些设计样式(style), 就可以隐藏这个”条".代码...
分类:移动开发   时间:2014-11-15 08:54:51    阅读次数:165
Android实现Tab切换实现方式总结
LinearLayout+ ViewPager + Fragment? FragmentManager + Fragment Tabhost已经过时
分类:移动开发   时间:2014-11-14 21:17:54    阅读次数:250
Android实习札记(4)---Fragment(碎片)基本概念解析
Android实习札记(4)---Fragment(碎片)基本概念解析 本节主要是学习Fragment的一些基本概念,比如生命周期,静态或动态加载Fragment, Fragment与Activity的交互:组件获取,数据的相互传递(Activity->Fragment;Fragment->Activity;Fragment->Fragment) 还有Fragment的事务与管理,详细讲述尽在本文中......
分类:移动开发   时间:2014-11-14 15:41:30    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!