Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Android:透明活动问题
最近 在我们的一款生产应用程序上 透明活动已停止工作 我的意思是它变成了黑色背景而不是透明背景 当我将活动的背景颜色设置为纯色 即红色 绿色等 时 它的应用不会出现问题 该问题可能是由于迁移到 AndroidX 引起的 但我没有这方面的证据
Android
androidactivity
androidtheme
transparent
在 Android 运行时更改和应用主题 [重复]
这个问题在这里已经有答案了 可能的重复 如何在 Android 运行时更改当前主题 https stackoverflow com questions 2482848 how to change current theme at runti
Android
themes
androidactivity
androidtheme
Android Material主题alpha颜色问题
我已经创建了一个构建版本为 5 0 的应用程序 我在下面编写了主题
Android
androidtheme
materialdesign
覆盖按钮的文本颜色不起作用
我使用每个按钮上的buttonBarStyle 和布局上的buttonBarButtonStyle 为按钮栏创建了一个自定义主题 它工作正常 但我想更改按钮的文本颜色 但它仍然采用默认颜色 android color primary tex
Android
Colors
androidbutton
androidtheme
TextColor
Android FAB 图标始终为黑色,带有 MaterialComponents 主题
我正在创建一个 Android 应用程序 并使用 AndroidX 库和 Material design 主题 我的应用程序主题为styles xml is 我有来自自定义库的以下 F
Android
materialdesign
androidtheme
FloatingActionButton
androidx
android-button 背景可绘制不起作用
这是我的 xml 可绘制代码 名称为 bts theme xml
Android
androidbutton
androidtheme
从具有 Holo 父主题的 Theme.Light 继承 editText
我想继承editText from android Theme而我的父主题是android Theme Holo Light 有没有什么 干净 的方法可以将资源从 android sdk 文件夹复制到我的项目中 所以我的想法是有一个自定义主
Android
inheritance
androidtheme
更改工具栏中的标题颜色?
我有一个使用的工具栏 并设置标题 ActionBarActivity getActivity getSupportActionBar setTitle Home 有没有办法将颜色从黑色更改为白色 我尝试制作自己的主题并将其设置在 xml 中
Android
androidtheme
androidtoolbar
“更改材料轮廓颜色”按钮不起作用
我想更改活动切换按钮的颜色 但仅仅改变rippleColor 就会产生影响 我希望自定义活动按钮的背景颜色和文本颜色 在下面的toggleButtonGroup中 我使用了上面的这种样式
通过样式更改 Android 对话框按钮文本大小
我正在尝试通过样式放大所有应用程序对话框按钮上的文本大小 以下代码将更改按钮背景颜色 甚至更改文本大小写 但由于某种原因 textSize 项目不受支持
Android
androidlayout
androidtheme
androiddialog
androidstyles
是否可以引用 styles.xml 文件中的属性?
我想让用户能够切换整个应用程序的颜色皮肤 我的意思是当用户按下屏幕上的按钮时动态切换应用程序的某些自定义视图的样式 我知道如果你打电话Activity setTheme before onCreate 方法 您可以动态更改应用程序的主题 但
Android
androidlayout
androidtheme
androidstyles
Android,如何为 TextView 小部件设置主题字体颜色?
我刚刚在我的主题中应用了黑色背景图像 现在我希望将文本视图的颜色更改为白色 以便它们在深色背景下可见 我认为为 TextView 设置 android textColor 可以像这样解决问题
Android
androidtheme
Android 5.0:如何更改概览屏幕任务标题背景颜色
全新 Android 5 0 棒棒糖概览屏幕 http developer android com guide components recents html每个应用程序的任务都带有屏幕截图和 默认情况下 灰色标题栏 一些 Lollipop
Android
androidtheme
android50lollipop
在通知区域切换中收听“深色主题”并收到更改通知
我可以得到UI MODE NIGHT MASK通过致电resources configuration uiMode and Configuration UI MODE NIGHT MASK 我需要监听这个变量并在接收新值时更改我的主题 我想
Android
androidtheme
android100
Android 当主题为深色时更改品牌启动背景颜色
我在我的应用程序中实现了深色主题 一切正常 当系统处于深色模式时 应用程序也处于深色模式 反之亦然 问题是品牌启动 我有 2 个可绘制文件 Dark
Android
androidtheme
androidnightmode
如何更改具有深色背景的 ActionBarSherlock 内部搜索视图的自动完成文本颜色?
我有自己的 ActionBarSherlock 主题 基于Theme Sherlock Light DarkActionBar 这是我的风格
Android
Colors
actionbarsherlock
androidtheme
AutoCompleteTextView
在 AlertDialog 中设置单选按钮和文本的样式
I want to show a radio list inside an AlertDialog with custom styling something like 因此 我创建了一个自定义主题并将其作为参数提供给 AlertDialo
Android
androidalertdialog
androidtheme
androidstyles
如何更改时间选择器对话框片段的默认配色方案?
我正在尝试更改时间选择器对话框片段的默认颜色 现在我不知道我应该做什么 这就是我设法将我的主题设置为 没有actionBar but this is the dialog i get 这是我的 xml 样式文件
javascript
Android
androidfragments
androidtheme
androidtimepicker
如何更改 Android 中滚动条的颜色?
当前的问题是我们的主题继承自 Theme AppCompat 它似乎有一个白色滚动条 并且在白色背景上不可见 我知道我可以使用
Android
androidtheme
如何设置 appcompat-v7 工具栏的样式,如 Theme.AppCompat.Light.DarkActionBar?
我正在尝试重新创建的外观Theme AppCompat Light DarkActionBar使用新的支持库工具栏 如果我选择Theme AppCompat Light我的工具栏会很轻 如果我选择Theme AppCompat天会黑的 从技
Android
androidappcompat
androidtheme
androidtoolbar
1
2
3
4
5
»