Set icon menu top right home android studio năm 2024

As you work with the IDE, you perform some actions more often than the others. To maximize your productivity, learn the default shortcuts for your favorite actions or assign shortcuts for them. You can also customize the menus and toolbars to only contain the actions that you need, regroup them, and configure their icons.

For example, if you work with a Java project, you might want to remove other framework files that you do not use from the menu to keep that part of the menu shorter and leave only the needed options.

Customize menus and toolbars

  1. Press Ctrl+Alt+S to open the IDE settings and then select .
    Set icon menu top right home android studio năm 2024
  2. In the list of available menus and toolbars, expand the node you want to customize and select the desired item:
    • Click to add an action or a separator under the selected item.
    • Click to remove the selected item.
    • Click to for the selected action.
    • Click or to move the selected item up or down. By doing so, you can change the action's location in the menu.
    • Click to restore the selected action or all actions to default settings.
  3. Click OK to save your changes.
  1. Press Ctrl+Alt+S to open the IDE settings and then select .
  2. Select the menu option for which you want to change or add an icon and click .
  3. Select an icon from the list or click to upload your own icon.
    Set icon menu top right home android studio năm 2024
    You can use only PNG or SVG files as icons. The IntelliJ IDEA Community Edition repository contains most of the icons used in the IDE.

Customize the main toolbar

Quickly add actions to the toolbar

If you miss an action on the main toolbar, you can add it from the list of popular actions.

  • Right-click the toolbar, point to Add to Main Toolbar, and select the action that you want to add from the list. If the action that you want to add is not on the list of popular actions, use the dialog.
    Set icon menu top right home android studio năm 2024

The selected action appears on the toolbar. You can remove it or change its icon using the dialog.

Configure main toolbar actions

Use this option to access all available actions that can be added to the main toolbar. It also allows you to change icons for toolbar actions and remove actions from the toolbar.

  1. Right-click the toolbar and click Customize Toolbar.
  2. In the list of available toolbar sections, expand the node you want to customize and select the desired item:
    • Click to add an action or a separator under the selected item.
    • Click to remove the selected item.
    • Click to for the selected action.
    • Click or to move the selected item up or down. By doing so, you can change the action's location in the menu.
    • Click to restore the selected action or all actions to default settings.
  3. Click OK to save your changes.

Configure the toolbar color

Use colored headers to simplify navigation between several open projects. You can assign a unique color and to each of your projects, making it easier to distinguish them in your workspace.

Bu default, the IDE picks the color that matches the color of the project , but you can set your own color.

  1. Right-click the toolbar, select Change Project Color, and choose one of the pre-defined colors from the list.
    Set icon menu top right home android studio năm 2024
  2. If you want to use a different color, click Custom Color and select a shade using the color picker that opens.

To turn the feature off, right-click the toolbar and disable the Show Project Gradient option. You can also disable colors in settings: press Ctrl+Alt+S, select and disable Use project colors in main toolbar.

Change the project icon

  1. Right-click the toolbar and click Set Custom Project Icon.
  2. In the dialog that opens, click Choose SVG file and specify the path to the SVG file that you want to use as an icon.
  3. Click OK to save your changes.

Hide the toolbar

If you prefer to have less visual clutter in your IDE window, you can hide the toolbar.

  • In the main menu, go to and disable Toolbar. When the toolbar is hidden, the IDE window header has a plain look without any IntelliJ IDEA widgets or controls.
    Set icon menu top right home android studio năm 2024

Show the main menu as a toolbar (Windows and Linux)

The main menu is the standard menu bar of the application window with File, Edit, View, and other menus.

By default, the main menu is hidden under the hamburger icon in the new UI on Windows and Linux. You can configure the IDE to display the main menu as a separate toolbar.

  • Press Ctrl+Alt+S to open the IDE settings and then select . Enable the Show main menu in a separate toolbar option.
  • Alternatively, go to in the main menu and enable Show Main Menu in Separate Toolbar.

Show and hide UI elements

If you have a small monitor, you can hide some of the UI elements that you never use. These elements are described in User interface.

  • Go to and enable or disable the necessary elements.

    Set icon menu top right home android studio năm 2024

    • Show Main Menu in Separate Toolbar (Windows and Linux only): Hidden under the hamburger icon, this is the standard menu bar of the application window with File, Edit, View, and other menus. Enable this option to display the main menu as a .
    • Toolbar: Located in the window header, this is the main toolbar with widgets for switching between projects, working with VCS branches, and running configurations. The toolbar is : you can add and remove widgets and buttons.
    • Navigation Bar: Located in , it allows you to navigate the directories and files of your project with Alt+Home as an alternative to the Project tool window. See . Use the submenu to change the location of the bar or enable displaying fields and methods.
    • Tool Window Bars: Located on the edges of the window, these bars contain buttons for showing, hiding, and arranging the tool windows. See .
    • Status Bar: Located at the bottom of the window, it shows event messages, indicates the overall project and IDE status, and provides quick access to some settings via widgets. See .
    • Status Bar Widgets: Located in the right part of the status bar. You can also right-click the status bar to show and hide widgets.
    • Details in Tree View: Show the last modification date and size of files in the Project tool window
      Set icon menu top right home android studio năm 2024
    • Main Menu: On Windows and Linux, hide the standard menu bar of the application window with File, Edit, View, and other menus. You can't hide it on macOS or on Linux if you are using the Linux native menu.
    • Toolbar: Located at the top of the window, this is the main toolbar with buttons for opening files, undo, and redo actions.
    • Tool Window Bars: Located on the edges of the window, these bars contain buttons for showing, hiding, and arranging the tool windows. See .
    • Status Bar: Located at the bottom of the window, it shows event messages, indicates the overall project and IDE status, and provides quick access to some settings via widgets. See .
    • Status Bar Widgets: Located in the right part of the status bar. You can also right-click the status bar to show and hide widgets.
    • Navigation Bar: Located at the top of the window, where you can navigate the directories and files of your project with Alt+Home as an alternative to the Project tool window. See .
    • Members in Navigation Bar: Show the fields and methods in the navigation bar.
    • Details in Tree View: Show the last modification date and size of files in the Project tool window.

Quick lists with your favorite actions

A quick list is a popup that contains a custom set of IntelliJ IDEA actions. Think of it as a custom menu or toolbar, for which you can assign a shortcut for quick access. You can create as many quick lists as necessary. Each action in a quick list is identified by a number from 0 through 9.

There are a number of predefined quick lists, but note that they are not configurable:

  • Refactor this Ctrl+Alt+Shift+T
  • VCS Operations Alt+`

For example, you can create a list of actions that do not have shortcuts assigned to them and refer to that list by one shortcut followed by the number associated with a specific action. You can also create a quick list of your favorite Gradle tasks or a list of different run configurations that you can invoke with one shortcut.

Create a quick list

  1. Press Ctrl+Alt+S to open the IDE settings and then select .
  2. Click or press Alt+Insert on the left pane to create a new quick list.
  3. In the Display name field, specify the name of the quick list. Optionally, provide the quick list description.
  4. On the right pane, add and arrange the actions on the quick list:
    • Click to add an action or a separator under the selected item.
    • Click to remove the selected item.
    • Click to add a separator line.
    • Click or to move the selected item up or down. By doing so, you can change the action's location in the menu.
      Set icon menu top right home android studio năm 2024
  5. Click OK to save the changes.

Assign a shortcut to a quick list

  1. Press Ctrl+Alt+S to open the IDE settings and then select .
  2. Expand the Quick Lists node and select your quick list. Add a keyboard shortcut and save the changes.
    Set icon menu top right home android studio năm 2024
    For more information, refer to Configure keyboard shortcuts.
  3. Click OK to save the changes.

In the editor, access the quick list by the associated shortcut.

If you don't remember the shortcut, you can search for your quick list by its name. Press Shift twice and type the name of the quick list.

How do I change the menu icon in Android Studio?

Step by Step Implementation.

Step 1: Create a New Project..

Step 2: Implement Option Menu..

Step 3: Add Vector Assets..

Step 4: Define Colors..

Step 5: Create Custom Style..

Step 6: Set Style in Toolbar..

Step 7: Add the Icons to the Items..

How to place icons in Android Studio?

Import by drag and drop to Android Studio Extract the icon zip file. Find the android directory inside the extracted file. Now, go to Android Studio and open your project. Then click 'OK' to move the Android icons to this directory.

How to add a button in the action bar on Android?

Add action buttons To add actions to the action bar, create a new XML file in your project's res/menu/ directory. The app:showAsAction attribute specifies whether the action is shown as a button on the app bar.

What is the app bar in Android?

The top app bar provides a consistent place along the top of your app window for displaying information and actions from the current screen.