4

How to split a menu like chrome browser as shown in the image:

image

This is my actual code

<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context="materialtest.vivz.slidenerd.activities.MainActivity">

    <item
        android:id="@+id/action_settings"
        android:orderInCategory="100"
        android:title="@string/action_settings"
        app:showAsAction="never" />

</menu>
ArtKorchagin
  • 4,605
  • 13
  • 39
  • 58
Sathish Kumar
  • 859
  • 1
  • 12
  • 25

1 Answers1

2

You can implement dialogFragment and you can locate on the screen where you want.

Here is an example :

http://www.androidbegin.com/tutorial/android-dialogfragment-tutorial/

You can change the position of the dialog. You can find it out how it works here :

Changing position of the Dialog on screen android

Community
  • 1
  • 1
Alican Temel
  • 1,288
  • 13
  • 13