安卓Theme.Holo.Dialog改变的蓝线为橙色 [英] android Theme.Holo.Dialog changing blue lines to orange

查看:493
本文介绍了安卓Theme.Holo.Dialog改变的蓝线为橙色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认颜色在Android主题Theme.Holo.Dialog线是蓝色的。 我想知道如何更改为任何其他颜色。 橙色在我的情况

Default color for lines on Android theme Theme.Holo.Dialog are blue. I'd like to know how to change this to any other color. Orange in my case

我可以改变文本或背景等。orveriding主题与自定义style.xml

I can change text or background etc.. orveriding the theme with a custom style.xml

   <style name="Theme.MyTheme" parent="@android:style/Theme.Holo.Dialog" >
        <item name="android:textColor">@color/coloroscuro</item>
        <item name="android:textColorHint">@color/coloroscuro</item>
   </style>

但我不知道至极物业管理线的颜色

but I don't know wich property manages the color of the lines

我说的是蓝线,该主题有默认情况下,像这样的其他问题所示的:

I mean the blue lines that the theme has by default like the ones shown on this other question:

<一个href="http://stackoverflow.com/questions/9804181/how-to-android-holo-theme-style-dialog-box-buttons">How到Android霍洛主题样式对话框按钮

的Tx

推荐答案

有这不正是你所需要的库 - 在全息主题对话框容易造型:

There is a library which does exactly what you need - easy styling of dialogs in Holo theme:

<一个href="https://github.com/inmite/android-styled-dialogs">https://github.com/inmite/android-styled-dialogs

这篇关于安卓Theme.Holo.Dialog改变的蓝线为橙色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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