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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×