Custom Drawer menu based on profile

38 views
Skip to first unread message

Everton Hermann

unread,
Jun 4, 2020, 7:53:51 AM6/4/20
to OsmAnd
Hello,
First of all thanks for the great work you have been doing. I'have been using osmand for a long time mainly for Hicking and Cycling, but I can hardly recommend it for novice users due to large number of options that would make them lost.
I'm thinking about building a version targeted on Cycling and I would like minimize (or avoid) ad-hoc changes in the code.

Among other ideas that I'll share in other messages I would like to customize the drawer menu, or at least remove some items that are not very useful while in a trip. From what I saw  the menu items are hardcoded in  MapActivityActions:: createNormalOptionsMenu 
Is there any intend to make this customisation for different profiles using some xml settings file, or the API? If it's not the case, Is there any interest on integrating this feature if I code it?

Best regards
Everton

Dmitry Prodchenko

unread,
Jun 4, 2020, 10:17:51 AM6/4/20
to OsmAnd
Hello!
Yuo can customize Drawer menu items: hide or change order in the new 3.7 release, you can get from Google Play of Amazon.

Everton Hermann

unread,
Jun 4, 2020, 11:20:26 AM6/4/20
to osm...@googlegroups.com
Hello,
Great! thank you! 
Just for curiosity which part of the code is responsible for that? because I searched for DRAWER_CONFIGURE_SCREEN_ID on github and only found MapActivityActions:: createNormalOptionsMenu.
Thank you again!
Everton

On Thu, 4 Jun 2020 at 16:17, Dmitry Prodchenko <dmpr...@gmail.com> wrote:
Hello!
Yuo can customize Drawer menu items: hide or change order in the new 3.7 release, you can get from Google Play of Amazon.

--
You received this message because you are subscribed to the Google Groups "OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/5473d2f3-f787-4b36-a563-3a385076c202%40googlegroups.com.

Dmitry Prodchenko

unread,
Jun 4, 2020, 12:05:17 PM6/4/20
to OsmAnd
You can find it here https://github.com/osmandapp/Osmand/blob/master/OsmAnd/src/net/osmand/plus/settings/backend/OsmandSettings.java#L3666
You can join to our telegram chat for help and asking questions, directly to developers :) https://t.me/OsmAndMaps


On Thursday, June 4, 2020 at 6:20:26 PM UTC+3, Everton Hermann wrote:
Hello,
Great! thank you! 
Just for curiosity which part of the code is responsible for that? because I searched for DRAWER_CONFIGURE_SCREEN_ID on github and only found MapActivityActions:: createNormalOptionsMenu.
Thank you again!
Everton

On Thu, 4 Jun 2020 at 16:17, Dmitry Prodchenko <dmpr...@gmail.com> wrote:
Hello!
Yuo can customize Drawer menu items: hide or change order in the new 3.7 release, you can get from Google Play of Amazon.

--
You received this message because you are subscribed to the Google Groups "OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages