-2

I just noticed that the default theme when I am creating an android application in AS is Theme.AppCompat.Light.DarkActionBar which, for me, is very plain.

My question is how to use Holo Light Theme?

Because when I tried in giving me an error underlining the statement.

Can someone help me?

csharpwinphonexaml
  • 3,659
  • 10
  • 32
  • 63
iamjc015
  • 2,127
  • 6
  • 25
  • 61
  • 2
    possible duplicate of [How to change or add theme to Android Studio?](http://stackoverflow.com/questions/16579448/how-to-change-or-add-theme-to-android-studio) – Ahmed Ziani Apr 29 '15 at 13:07
  • 1
    you have to add 'android:' prefix – Harin Apr 29 '15 at 13:08
  • @AhmedZiani no this is not the same question as what youve link. I am not trying to change the AS theme itself. What I meant is the theme of my application. – iamjc015 Apr 29 '15 at 13:09
  • The real question is, why you would like to use Holo Light Theme? And here's a possible way to do that http://stackoverflow.com/questions/27389689/keeping-the-holo-action-bar-in-lollipop – Sharjeel Apr 29 '15 at 13:12
  • Your question heading should be "Changing Application or Layout Theme" instead of "Changing Theme".. – Amrit Pal Singh Apr 29 '15 at 13:15

1 Answers1

0

If you could show us what you're doing in your styles.xml file that isn't working it would be very helpful.

Otherwise, I think you're looking for something along the lines of <style name="AppTheme" parent="android:Theme.Holo.Light">. The key is that this is an android provided theme and is found using android:Theme

Marcus Hooper
  • 647
  • 7
  • 12