Android Tutorial Create online theme

Discussion in 'Tutorials & Examples' started by omidaghakhani1368, May 30, 2015.

  1. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    I found a site that create style and theme for your app.
    You can select color and views and android sdk and other
    It return res folder for you that can use in your app.
    For use theme in your project :
    SetApplicationAttribute(android:theme, "@android:style/themename")
    iz0ndg, amir lotfi, eSolution and 9 others like this.
  2. Jeboiii

    Jeboiii Member Licensed User

    It's not working. Did I miss something? SetApplicationAttribute(android:theme, "@android:style/MyAppTheme")
    Here's the error message:

    AndroidManifest.xml:14: error: Error: No resource found that matches the given name (at 'theme' with value '@android:style/MyAppTheme').
  3. ac9ts

    ac9ts Active Member Licensed User

    It's a guess but removing "android:" fixed a similar problem I had with a different theme issue.

    SetApplicationAttribute(android:theme, "@style/MyAppTheme")
  4. Jeboiii

    Jeboiii Member Licensed User

  5. fabjj77

    fabjj77 New Member Licensed User

    listen where i have to put res folder than i download from the website that you post before?
    i custom theme i apply a my custom name at theme, also i download a zip file
    inside zip file res folder.
    so i try to put everywhere but not work
    also i set SetApplicationAttribute(android:theme, "@android:style/themename")
    but nothing
    please can you help me?