如何在Gingerbread中为Spinner提供与ICS相同的UI

时间:2013-02-20 12:20:01

标签: android actionbarsherlock android-spinner

我有一个实现

的新闻应用
  1. ActionBarSherlock
  2. ViewPagerTabIndicator
  3. PullToRefresh
  4. 我想在Action Bard Sherlock中使用导航模式列表来切换新闻来源,但看起来ViewPager的ViewPager与ActionBarSherlock中的导航模式相冲突;所以我在ActionBarSherlock中添加了我自己的微调器(自定义视图),但问题是它在 Gingerbread 中的UI看起来与ActionBarSherlock中内置导航的UI看起来不一样。

    我的问题是如何将ABS导航的UI应用于Spinner?

1 个答案:

答案 0 :(得分:0)

我认为ViewPagerIndicator和ActionBarSherlock没有冲突,所以你应该再看一下你的项目,看看是什么问题。

要回答这个问题:尽管不推荐,但您可以使用ActionBarSherlock的IcsSpinner代替Spinner来获得与Gingerbread设备相同的外观。