Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

alg520/Android-MenubarLayout

Open more actions menu
 
 

Repository files navigation

Android Menubar Layout

An android layout to easily add menubar style navigation

Demo

Layout Usage

Add your layout files using <include> tag and give it an app:menu_name. Each of them will be picked up by the MenubarLayout and shown in the menu selector. (menubar_layout.xml)

<com.rajasharan.layout.MenubarLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:menu_height="30dp"
    >

    <include layout="@layout/profile"
        app:menu_name="Profile"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        />

    <include layout="@layout/address"
        app:menu_name="Address"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        />

    <include layout="@layout/office"
        app:menu_name="Workplace"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        />

</com.rajasharan.layout.MenubarLayout>
The MIT License (MIT)

About

An android layout to easily add menubar style navigation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.