0

I'd like to have an actionbar (including a menu) with below some tabs like this:

Left screen

How is this possible? I know Tabhost is decapricated, but I can't find a suitable alternative..

0846277
  • 73
  • 3
  • 11
  • Did you look at new [design support library](https://developer.android.com/tools/support-library/features.html#design)? – Serikov May 29 '15 at 13:29
  • @Serikov I would like to have something like the "Default app bar and fixed tab bar" image at this site: http://www.google.com/design/spec/components/tabs.html#tabs-usage .. But I can't find how I can do this :( – 0846277 May 29 '15 at 13:37

1 Answers1

1

Chris Banes has recently open sourced a demo application using the new Design Support Library called cheesesquare which contains the functionality you are looking for.

https://github.com/chrisbanes/cheesesquare

https://developer.android.com/tools/support-library/features.html#design

Jonathon Fry
  • 3,042
  • 3
  • 23
  • 30
  • Thanks for the info. When trying to add the dependencies I get a error... `Failed to resolve: com.android.support:support-design:22.0.0` .. Do you know how I can fix this? – 0846277 May 29 '15 at 14:11
  • You need to open up your SDK Manager and update the Android Support Repository and Android Support Library. – Jonathon Fry May 29 '15 at 14:51