Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android default theme

I am making one android application but i was thinking about themes..

If i don't declare a theme of my Android application which theme will be used? Where i can find this information? What is the criteria for use one and other?

I was thinking about, if i want customize my all application, i have to extend one theme and custom all item that i want to customize.

And what if it assumes one of them as default? Weather I have to customize it again? How do i know what is the default one?

like image 541
user1851366 Avatar asked Dec 03 '14 16:12

user1851366


People also ask

What is the default theme in Android Studio?

In Android Studio, there are three default themes available i.e. Intellij Light, Dracula, and High Contrast.

How do I restore the default theme on my Samsung?

As far as I'm aware the fastest route to go back to default theme is to long press on a blank part of your home screen and tap on themes and then mystuff . The default theme is there.


1 Answers

The default theme varies depending on the API level (to be consistent with the general UI).

On API < 10, the theme was a set of styles (as in the link below) known as Theme, above that API 10, the default theme was Theme_Holo and now, starting with API 21, the default theme has become Theme.Material.

  • API < 10: see the frameworks's code Theme or Theme.AppCompat
  • 10 >= API < 21: read the Styles and Themes guide Holo_Theme or Theme.AppCompat
  • API >= 21 Using the Material Theme guide Theme.Material

Most of those styles are available through the android.support libraries.

PS: AFAIK the light theme has always been the default one.

like image 165
shkschneider Avatar answered Sep 30 '22 18:09

shkschneider