Android Question Activity.AddMenuItem is not showing in my android device

Discussion in 'Android Questions' started by Lyndon Bermoy, Jan 31, 2015.

  1. Lyndon Bermoy

    Lyndon Bermoy Member Licensed User

    Hi, can somebody help me to have my Activity.AddMenuItem showing? I have read questions about it that it cannot be seen in android 4+. Is there still a way to fix this or replace the addmenuitem?
     
  2. RandomCoder

    RandomCoder Well-Known Member Licensed User

    Lyndon Bermoy likes this.
  3. Lyndon Bermoy

    Lyndon Bermoy Member Licensed User

  4. freedom2000

    freedom2000 Well-Known Member Licensed User

    HI,

    I had the same problem.
    With this in the manifest, the menus appear again :

    Code:
    'This code will be applied to the manifest file during compilation.
    'You do not need to modify it in most cases.
    'See this link for for more information: http://www.basic4ppc.com/forum/showthread.php?p=78136
    AddManifestText(
    <uses-sdk android:minSdkVersion=
    "4" android:targetSdkVersion="14"/>
    <supports-screens android:largeScreens=
    "true"
        android:normalScreens=
    "true"
        android:smallScreens=
    "true"
        android:anyDensity=
    "true"/>)
    SetApplicationAttribute(android:icon, 
    "@drawable/icon")
    SetApplicationAttribute(android:
    label"$LABEL$")
    'End of default text.
     
  5. bryantm1122

    bryantm1122 Member Licensed User

    @freedom2000 Thanks for posting your code, but it would be helpful if you pointed out what specifically you added or changed in the manifest.
     
  6. freedom2000

    freedom2000 Well-Known Member Licensed User

    I can't remember...

    Probably the targetSdkversion
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice