更改主题在Eclipse Android项目项目、主题、Eclipse、Android

2023-09-07 11:08:55 作者:等在十字路口

我在使用寻找在那里我可以改变我的项目的主题有问题。 现在,我使用本教程学习机器人。

I'm having a problem with finding where I can change my project's theme. For now, I'm learning android using this tutorial.

我的项目的主题是这样的:

My project's theme looks like this:

和我想这个UI看上去就像是:

And I'd like this UI looked like that:

我在哪里可以找到主题和说明,安装呢? 谢谢你。

Where can I find that theme and instructions, to install it? Thanks.

推荐答案

您正在寻找的主题是全息,无论是全息光或全息暗。有此主题的多种变化,以便确保与主题玩,直到你找到一个你需要的。 为了使用这个主题在XML文件中使用此作为标签的参数:

The theme you are looking for is Holo, either Holo Light or Holo Dark. There are multiple variations of this theme so make sure to play with the themes until you find the one you need. In order to use this theme in your xml file use this as a parameter for the tag:

android:theme="@android:style/Theme.Holo"

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

有河洛了更多的变化,这将是在样式

There are many more variations of Holo, which would be in the style

Theme.Holo.insertvariationshere
 
精彩推荐