更改主题在Eclipse Android项目 [英] Changing theme in android project in eclipse

查看:173
本文介绍了更改主题在Eclipse Android项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

这篇关于更改主题在Eclipse Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆