HK.avdalyan
HK.avdalyan

Reputation: 734

Full screen changes normal design

I tried to run my activity in full screen mode using this method:

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

But after it my all design were changed. My Edittext-s which had only a line below now become rectangles and buttons design are changed too. How to avoid this situation?

Upvotes: 0

Views: 58

Answers (1)

Xaver Kapeller
Xaver Kapeller

Reputation: 49817

Try this theme instead:

android:theme="@android:style/Theme.Holo.Light.NoActionBar.Fullscreen"

The theme you are applying to your Activity is old and I think even deprecated. The Holo themes are the ones you are looking for.

Upvotes: 2

Related Questions