Home Ask Login Register

Developers Planet

Your answer is one click away!

KKKK February 2016

Change the theme of my whole android studio application confusion

I just starting learning android and I want to change the theme of my whole android application. Based on this

I want to change the theme to the Dark Material theme. In my androidmanifest.xml file

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/Theme.Material"> // here is the change

But my application cannot recognize the Theme.Material this theme? How to fix it?

Answers


Pooya February 2016

change android:theme="@style/Theme.Material"> to:

android:theme="@android:style/Theme.Material">

Post Status

Asked in February 2016
Viewed 1,158 times
Voted 4
Answered 1 times

Search




Leave an answer


Quote of the day: live life