Dear Erel,
I have trouble adding menu items to actionbar. I'm using addmenuItem3 but 3 dot menu icon does not appear on top right corner.
I've also tried to standart holo theme with no luck.
by the way, I'm using LG-G2 phone with Android 4.2.2
I have trouble adding menu items to actionbar. I'm using addmenuItem3 but 3 dot menu icon does not appear on top right corner.
I've also tried to standart holo theme with no luck.
B4X:
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light")
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@style/Theme.MyCustomTheme")
SetActivityAttribute(addReminderActivity, android:windowSoftInputMode, adjustResize|stateHidden)
AddPermission(android.permission.VIBRATE)
B4X:
Activity.AddMenuItem3("", "mnuUser", LoadBitmap(File.DirAssets, "ic_action_user.png"), True)
Activity.AddMenuItem3("Menu Option 1", "mnuOpt1",Null,False)
Activity.AddMenuItem3("Menu Option 2", "mnuOpt2",Null,False)
Activity.AddMenuItem3("Menu Option 3", "mnuOpt3",Null,False)
Activity.AddMenuItem3("Menu Option 4", "mnuOpt4",Null,False)
by the way, I'm using LG-G2 phone with Android 4.2.2