13

At the moment im using:

android:theme="@android:style/Theme.Black.NoTitleBar"

Which I'm growing a bit bored of, Is there a link you can direct me to that shows me examples of all the inbuilt themes and their names?

I read on another post that there is quite a few so it would be best if there was a website/other source that could show me some previews :)

Thanks for the help!

4 Answers 4

14

Your IDE (I know Android Studio does), should show you them.

Otherwise, here they are in raw xml form. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/themes.xml

More information on Android Dev docs: http://developer.android.com/guide/topics/ui/themes.html

2
  • 1
    Should be the accepted answer; doesn't assume which IDE I'm using Nov 22, 2016 at 23:19
  • For newer ones: Besides themes.xml, there is also themes_holo.xml (since API 11) and themes_material.xml (since API 21). You can adjust the link above accordingly.
    – eikuh
    May 10, 2019 at 7:21
5

You can see all the theme names in the manifest.xml. For this see the following snapshot:enter image description here

1

Android Studio has a Theme Editor which provides preview function.

User can find all built-in themes inside.

2 ways to open it:

  1. Open a styles XML file, for instance res/values/styles.xml. Then click Open editor near the top-right of file-editing window.
  2. in top menu bar Tools-Android-Theme Editor.
-2

I'm pretty noobish with it all but basically I think there are only two themes. Day/Night and Light. You can select individual parts and change them but as far as I can tell there are only two themes.

As I had a comment that said this doesn't answer the question I will add that you can use Theme.AppCompat.DayNight or Theme.AppCompat.Light in the AndroidManifest.xml or in styles.xml and edit any individual attribute but there are about a million attributes and god only knows what they all do. In my opinion it's a massive oversite by android.

2

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.