---
layout: post
asset-type: post
name: City mapper coloured tabs and coordinator layout
title: 'City mapper coloured tabs and coordinator layout'
date: 2015-06-24 17:00:00 +00:00
categories: Android 
image:
    href: /assets/img/tabs.png

---

City Mapper is one of the most known transport apps out there, personally I find it the best by far. Lately, they've changed their UI/UX which I find particularly useful and beautiful. 

One of the widgets I like the most on the app are the coloured tabs, especially the colour changing progressively while you swipe left-right on the view pager. So, I decided to play around with it and implement this behaviour along with the new coordinator layout, that was released on the design support library.

<img src="https://raw.githubusercontent.com/cmc00022/CityMapperTabs/master/art/city%20mapper%20tabs.gif" alt="gif" />

## Source code

I created a <a href="https://github.com/cmc00022/CityMapperTabs" target="_blank">demo</a> project on GitHub to show how to implement the coloured tabs along with using the new coordinator layout.
Enjoy

Cross-posted from <a href="http://panavtec.me/city-mapper-coloured-tabs-and-coordinator-layout" target="_blank">panavtec.me</a>

---
layout: post
asset-type: post
name: City mapper coloured tabs and coordinator layout
title: 'City mapper coloured tabs and coordinator layout'
date: 2015-06-24 17:00:00 +00:00
categories: Android 
image:
    href: /assets/img/tabs.png

---

City Mapper is one of the most known transport apps out there, personally I find it the best by far. Lately, they've changed their UI/UX which I find particularly useful and beautiful. 

One of the widgets I like the most on the app are the coloured tabs, especially the colour changing progressively while you swipe left-right on the view pager. So, I decided to play around with it and implement this behaviour along with the new coordinator layout, that was released on the design support library.

<img src="https://raw.githubusercontent.com/cmc00022/CityMapperTabs/master/art/city%20mapper%20tabs.gif" alt="gif" />

## Source code

I created a <a href="https://github.com/cmc00022/CityMapperTabs" target="_blank">demo</a> project on GitHub to show how to implement the coloured tabs along with using the new coordinator layout.
Enjoy

Cross-posted from <a href="http://panavtec.me/city-mapper-coloured-tabs-and-coordinator-layout">panavtec.me</a>

Remove opening link in new tab
Remove opening link in new tab
