Android Question How to change Themes as light in Theme.AppCompat

Discussion in 'Android Questions' started by junaidahmed, Apr 16, 2019.

  1. junaidahmed

    junaidahmed Well-Known Member Licensed User

    I have an application,by default themes are showing as Dark.I would like to know how to change themes for dark to light themes.Please check my below manifest file and advise where to modify that...
    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$")
    SetApplicationAttribute(android:
    label"$LABEL$")

    'End of default text.


    SetApplicationAttribute(android:theme, 
    "@style/Theme.AppCompat")

    AddApplicationText(<meta-data
                android:name=
    "com.google.android.gms.version"
                android:value=
    "@integer/google_play_services_version" />
            <meta-data
                android:name=
    "com.google.android.gms.vision.DEPENDENCIES"
                android:value=
    "barcode" />)
    AddApplicationText(<
    activity
                android:theme=
    "@style/AppTheme.NoActionBar"
                            
                android:name=
    "com.edwardvanraak.materialbarcodescanner.MaterialBarcodeScannerActivity"
                android:
    label="@string/library_name" >
            </
    activity>)
    AddPermission(android.permission.CAMERA) 
    ' Required to be able to access the camera device.
     
  2. DonManfred

    DonManfred Expert Licensed User

    Erel likes this.
  3. Erel

    Erel Administrator Staff Member Licensed User

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