Q: Menu type Changed after some update ?

Mickego

Member
Licensed User
Longtime User
After updating Software and Java components,
my menu's totally changed how they appear .

Using this to add Items to Menu:
"Activity.AddMenuItem2"

Earlier it was a single-item list nice and tidy,
now it is in 2 columns and to see all items
I need to press a button to se the last ones .

In some cases my first Menu-item
are located in Title list with a Not
correctly fitted Icon.
(In this case it is still a Singleitem Menulist)

Any way to get my Old Singleitem Menulist Back ?

rgds Mickego
 
Last edited:

Mickego

Member
Licensed User
Longtime User
This is what manifesteditor says now

<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>

Attached picture shows how first Menu Item is located (Red Arrow)

Where I want it is like the other Menuitems,
this Item should be the first (Green Arrow)



If I set targetSdkVersion to 4,
then all Items will be in list,
BUT
in a 2 Column list where not all Items are visible

rgds Mickego
 

Attachments

  • menuerror.jpg
    menuerror.jpg
    82.7 KB · Views: 218
Upvote 0

Mickego

Member
Licensed User
Longtime User
B4X:
Activity.AddMenuItem3("Sök i lista","searchit",LoadBitmap(File.DirAssets,"search.png"),False)
Activity.AddMenuItem3("Visa 'Maträtt'","visa",LoadBitmap(File.DirAssets,"visa.png"),False)
Activity.AddMenuItem3("Lägg till egen","writerecept",LoadBitmap(File.DirAssets,"add.png"),False)
Activity.AddMenuItem3("Beräkna antal enheter","calcit",LoadBitmap(File.DirAssets,"calc.png"),False)
Activity.AddMenuItem3("Radera Summering","cleanit",LoadBitmap(File.DirAssets,"radera.png"),False)
Activity.AddMenuItem3("Ange Daglig dos","doseit",LoadBitmap(File.DirAssets,"dose.png"),False)
Activity.AddMenuItem3("Ange Rikt-Blodsocker 10x mmol/l","setrikt",LoadBitmap(File.DirAssets,"show.png"),False)
Activity.AddMenuItem3("Spara Blodsockervärde","logga",LoadBitmap(File.DirAssets,"save.png"),False)
Activity.AddMenuItem3("Visa Blodsocker Historik","visa_history",LoadBitmap(File.DirAssets,"show.png"),False)

I also tried
Activity.AddMenuItem2......
 
Upvote 0

Mickego

Member
Licensed User
Longtime User
Thank You very much for trying to help me out :)

Fantastic Software and fantastic Support, Love it :)

I solved it by Using new SDK-Platform Android-14
and updated B4A to V2.70

Now on track again :)
 
Upvote 0
Top