Jump to content
Poweramp
Sign in to follow this  
grk26331

How create menu in custom skin?

Recommended Posts

Hi, Max!
I have stupid question :huh:    about menu customization.
I have replaced icons for menu items in "drawable/hdpi" folder but menu items still without changes...
I understand that problem related with styles. But where I must override path to icons?
Any help will be highly appreciated!  :)

 

Share this post


Link to post
Share on other sites

There are two menu types in Poweramp - action bar and "old" classic menu. You can override icons for both by overriding appropriate menu icon references. E.g.

menu/menu_eq.xml (you don't change that, just take reference from there):

...

<item android:id="@+id/folders_library_button"

android:icon="?folders"

android:title="@string/folders_lib"

android:showAsAction="ifRoom"

/>

...

 

?folders is a reference to folders drawable image in your there

 

your_theme.xml

....

<item name="folders">@drawable/your_folders_image_here</item>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...