码迷,mamicode.com
首页 >  
搜索关键字:fragment actionbar    ( 3914个结果
错误:The method replace(int, Fragment) in the type FragmentTransaction is not applicable for the arguments (int, MyFragment)
Fragment newfragment =new MyFragment();fragmentTransaction.replace(R.layout.activity_main,newfragment ).commit();提示错误:The method replace(int, Fragment...
分类:移动开发   时间:2014-07-25 13:48:41    阅读次数:323
【原创】【ViewPager+Fragment】ViewPager中切换界面Fragment被销毁的问题分析
ViewPager中切换界面Fragment被销毁的问题分析1、使用场景ViewPager+Fragment实现界面切换,界面数量>=32、Fragment生命周期以及与Activity生命周期对比 3、问题描述按上图所说,只有当Fragment所Attached的Activity执行...
分类:其他好文   时间:2014-07-24 22:43:23    阅读次数:243
Android 原生 Android ActionBar
本文内容 关于 ActionBar 必要条件 项目结构 环境 演示一:Action Bar 显示隐藏 演示二:Action Item 显示菜单选项 演示三:Action Home 启用“返回/向上”程序图标导航 演示四:Action View 显示 UI 组件 如果你想使用 ActionBarShe...
分类:移动开发   时间:2014-07-24 22:00:22    阅读次数:398
仿微信效果,主要是actionbar的一些知识
仿微信效果,主要是actionbar的一些知识...
分类:微信   时间:2014-07-24 17:50:02    阅读次数:626
Android Fragment解析(二)
上篇博客中已经介绍了Fragment产生原因,以及一些基本的用法和各种API.本篇将介绍上篇博客提到的:如何管理Fragment回退栈,Fragment如何与Activity交互,Fragment与Activity交互的最佳实践,没有视图的Fragment的用处,使用Fragment创建对话框,如何...
分类:移动开发   时间:2014-07-23 16:20:11    阅读次数:386
Android Fragment解析(一)
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/37970961自从Fragment出现,曾经有段时间,感觉大家谈什么都能跟Fragment谈上关系,做什么都要问下Fragment能实现不~~~哈哈,是不是有点过~~~本篇博客力求为...
分类:移动开发   时间:2014-07-23 14:53:16    阅读次数:239
过时的PreferenceActivity导致Fragment显示问题
问题描述:     在一个点击preferenceactivity中某项显示一个Fragment的场景中,出现错误: java.lang.RuntimeException: This should be called after super.onCreate. 百思不得其解。因为报错的那一行是在super.onCreate之后的,代码很简单应该也不会有错误。因为当时项目代码很大,且签名成...
分类:其他好文   时间:2014-07-23 13:10:06    阅读次数:202
【Anroid】Android开源项目分类汇总
Android开源项目第一篇——个性化控件(View)篇包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、FlipView、C...
分类:移动开发   时间:2014-07-22 22:53:13    阅读次数:455
Andriod 关于操作栏 ActionBar 的设计原则【转载+整理】
原文地址 本文内容 操作栏目的 基本布局 适应旋转和不同的屏幕尺寸 副操作栏的布局 操作栏按钮 上下文操作栏 操作栏清单 设计原则就是为你在编写 Android APP 时,尤其是如何安排操作按钮的位置,以及顺序等等,能大幅度提供用户体验的,提供的一个指导思想。值得时不时地回忆一下,这些指导原则都是...
分类:其他好文   时间:2014-07-22 22:44:32    阅读次数:347
GitHub 优秀的 Android 开源项目
转自:http://blog.csdn.net/shulianghan/article/details/18046021主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、 Gallery、GridView、ImageView、ProgressB...
分类:移动开发   时间:2014-07-22 22:36:56    阅读次数:642
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!