相关疑难解决方法(0)

Android:你能嵌套碎片吗?

是否有可能坚持Fragment另一个的布局Fragment?有没人试过这个?

android fragment android-fragments android-nested-fragment

29
推荐指数
3
解决办法
1万
查看次数

在片段里面的Viewpageindicator

使用SherlockActionBar,我创建了一个很好的界面.在横向模式中,您会看到listfragment和"detailsfragment".

现在我想在详细信息框架中添加一个viewpageindicator(https://github.com/JakeWharton/Android-ViewPagerIndicator),所以我看起来像这样:

--------------------------|
|_1___|TAB1 | TAB2 | ETC  |
|_2___|-------------------|
|_3___|Example: content   |
|_4___| TAB1 of listitem 1| 
|_5___|___________________|
Run Code Online (Sandbox Code Playgroud)

我希望这很清楚.基本上我会在片段内部使用FragmentManager/TabPageIndicator.

我有可能吗?我想不出来.. :(

谢谢!

android fragment android-fragments actionbarsherlock

5
推荐指数
1
解决办法
3777
查看次数