I am looking at making a navbar like this in android: 
[Scketch of navbar](http://i.stack.imgur.com/NsRSO.png)

Everything is straight forward beside the months.
I want to be able to scroll through the months by dragging or by clicking a month.
I also want the current month to be the one centered on start.

Any suggestions on how to make this is welcome.
['https://Stackoverflow.com/questions/39895319', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5326910/']
Coverted the above comment as answer. Hope it solves your problem.

Use TabLayout with **app:tabMode=”scrollable”**. You'll find the implementation and code under the topic **Scrollable Tabs** [here](http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/).
```
ActionBar mActionBar = getActionBar();
mActionBar.setDisplayShowHomeEnabled(false);
mActionBar.setDisplayShowTitleEnabled(false);
LayoutInflater mInflater = LayoutInflater.from(this);
View mCustomView = mInflater.inflate(R.layout.custom_actionbar, null);
mActionBar.setCustomView(mCustomView);
mActionBar.setDisplayShowCustomEnabled(true);

```

make Horizontal scrollview in custom layout.