Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show all tabs in Android Studio

Is there a way of showing all source code tabs in Android Studio one one horizontal line (in the tab bar) and scroll through them?

When there are too many source code tabs open in Android Studio, some of them are moved to the drop down list at the top right corner of the code edit window. The tabs that are moved to this drop down list are not shown in the tab bar any more.

The tabs in the tab bar can be scrolled with the mouse wheel, but only the ones that have not been moved to the drop down list.

Is there a way to remove the drop down list and keep all tabs in the tab bar?

like image 503
studersi Avatar asked Aug 26 '16 06:08

studersi


People also ask

How do I see all tabs on Android?

In android Studio 4.0. 1 you can find tabs configuration in: Window->Editor Tabs->Configure Editor Tabs... After, uncheck "Show tabs in one row" checkbox if it is selected.

What is tab bar android?

TabLayout is used to implement horizontal tabs. TabLayout is released by Android after the deprecation of ActionBar. TabListener (API level 21). TabLayout is introduced in design support library to implement tabs.

How do you use tab layout?

This example demonstrates how do I create a Tab Layout in android app. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 3 − Add the following code to res/layout/activity_main. xml.


1 Answers

Not sure if this feature was introduced in later versions of studio (than at the time of which this question was asked) but now you have option to show tabs in multiple rows. You can do so by

Windows -> Editor Tabs -> Tabs placement -> Show Tabs in single  row

You can uncheck above which is checked by default. Snapshot below -

enter image description here

like image 114
Aniket Thakur Avatar answered Sep 21 '22 20:09

Aniket Thakur