supportv4
文章平均质量分 78
HelenMelody
这个作者很懒,什么都没留下…
展开
-
分享功能
className: com.example.android.supportv4/.app.SharingSupport 实现: public class SharingSupport extends Activity { @Override protected void onCreate(Bundle b) { super.onCreate(b);原创 2016-03-15 18:24:06 · 262 阅读 · 0 评论 -
LocalBroadcastManager
/** * Helper to register for and send broadcasts of Intents to local objects * within your process. This is has a number of advantages over sending * global broadcasts with {@link android.content.原创 2016-03-16 22:12:02 · 344 阅读 · 0 评论 -
Fragment支持创建长按menu——FragmentContextMenuSupport
/** * Demonstration of displaying a context menu from a fragment. * 该例子展示了从fragment中展示一个上下文菜单 */ public class FragmentContextMenuSupport extends FragmentActivity { @Override protected void原创 2016-03-18 15:56:07 · 468 阅读 · 0 评论 -
给Fragment传递参数 —— FragmentArgumentsSupport
/** * Demonstrates a fragment that can be configured through both Bundle arguments * and layout attributes. */ //展示了一个可以通过属性和budle来配置fragment显示的例子 public class FragmentArgumentsSupport extends Frag原创 2016-03-18 15:22:28 · 499 阅读 · 0 评论 -
Fragment加入页面切换动画——FragmentCustomAnimationSupport
public class FragmentCustomAnimationSupport extends FragmentActivity { int mStackLevel = 1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInst原创 2016-03-21 13:52:42 · 459 阅读 · 0 评论 -
Fragment弹dialog的主题样式——FragmentDialogSupport
public class FragmentDialogSupport extends FragmentActivity { int mStackLevel = 0; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState原创 2016-03-21 14:36:39 · 1409 阅读 · 0 评论 -
Fragment管理actionbar的menu——FragmentMenuSupport
pic: /** * Demonstrates how fragments can participate in the options menu. */ public class FragmentMenuSupport extends FragmentActivity { Fragment mFragment1; Fragment mFragment2; C原创 2016-03-21 17:43:24 · 503 阅读 · 0 评论