简体   繁体   中英

Old activity not picking up on a theme I created, but new activities do. How do I get the old one to use my theme?

I'm new to all of this so please bear with me.

A while back I created my first activity and have been working on it for a while now. Since then, I've created a theme and applied it to my application. The theme doesn't show up on my original activity.. it still looks default:

http://i.imgur.com/rkSyhmg.png

I just now created a new activity, and it seems to have picked up on my theme design and looks totally different. The font size is different in the action bar, and all the colors are different.

http://i.imgur.com/7IpnGev.png

Why is this happening? The theme works on both when I actually run the app in the emulator.. but they look different in eclipse. How can I get my old activity to pick up on the theme?

Thanks!

布局设计上有一个选项,您可以选择要在预览中使用的主题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM