腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Button
BackgroundColor
禁用
LinearLayout
BackgroundColor
android
如何才能使按钮的android:background颜色不会
禁用
LinearLayout
android:background颜色?这是在动态创建按钮的时候。下面是我的代码:
LinearLayout
ll = (
LinearLayout
) findViewById(R.id.layout1); ll.setBackgroundColor(Color.parseColor("#FFFFFF&
浏览 14
提问于2017-02-15
得票数 0
回答已采纳
1
回答
self.
button
.layer.
backgroundColor
和self.
button
.
backgroundColor
有什么区别?
ios
、
swift
self.
button
.layer.
backgroundColor
= UIColor.whiteColor().CGColorself.
button
.
backgroundColor
= UIColor.whiteColor
浏览 0
提问于2016-03-10
得票数 1
回答已采纳
5
回答
如何在android中为scrollview添加多个按钮
android
、
button
、
scrollview
我想实现这个功能:动态添加多个按钮到滚动视图,如果滚动视图超过一定的高度,就会自动显示滚动条。
浏览 2
提问于2013-02-17
得票数 3
回答已采纳
2
回答
button
.style.
backgroundColor
返回"“,直到单击
javascript
、
css
v.style.
backgroundColor
=== "rgb(255, 255, 255)" ?v.style.
backgroundColor
= "#50AAD7" :}; background-color: #fff; border: 1px solid #ddd;
浏览 1
提问于2019-03-11
得票数 2
回答已采纳
2
回答
禁用
的TextBox的
BackgroundColor
.net
、
wpf
但是,我还必须设置
BackgroundColor
,但我在SystemColors中没有找到相应的条目。哪个条目是
禁用
控件背景(TextBoxes)的正确条目?
浏览 0
提问于2010-10-18
得票数 8
回答已采纳
1
回答
如何在FAB上更改图标,并在Jetpack组合中将项重新定位到末尾/右?
android-studio
、
android-jetpack-compose
bottomBar = { Text(text = "BottomAppBar")
backgroundColor
= Color.Yellow
浏览 15
提问于2020-10-15
得票数 1
回答已采纳
3
回答
单击按钮更改布局背景色
android
、
android-linearlayout
、
background-color
).setOnClickListener(this); findViewById(R.id.
button
_pink).setOnClickListener(this); findViewById(R.id.
button
_yellow).setOnClickListe
浏览 0
提问于2015-01-30
得票数 2
回答已采纳
2
回答
禁用
if-else语句中的按钮。
reactjs
、
react-native
在"disableGrading“中通过验证函数后,我试图
禁用
”等级“按钮。但是,我不知道如何调用"disableGrading“函数中的”品位“按钮来
禁用
它。function disableGrading() {
button
.disable } } //not sure howto call "Grade"
button
to disable it {paperDeta
浏览 4
提问于2022-06-14
得票数 0
1
回答
当在reactjs中单击MUI按钮时,如何更改/自定义样式?
reactjs
、
material-ui
当我点击它的时候,我试图改变按钮的外观,但我认为它在reactjs中不起作用,就像你如何改变按钮在普通CSS中的工作方式一样,我想在我点击它的时候改变按钮的背景色,也可以
禁用
或启用连锁反应效果。<Box component="center"> '&:hover': {
backgroundColor
: 'transparen
浏览 6
提问于2022-07-20
得票数 0
1
回答
当您按下back按钮android时,保存包含按钮的活动状态
android
、
android-savedstate
personsnumber = Integer.parseInt(persons);
Button
[] buttons = new
Button
[personsnumber]; buttons[l] = new
Button
(HandleTableClick.this); buttons[l].setTe
浏览 15
提问于2018-11-21
得票数 0
1
回答
使用UIButton在主视图中定位两个NSLayoutConstraint元素
ios
、
uibutton
、
swift
这是我的密码: super.viewDidLoad()
button
1.titleLabel.text = "foo" var
button</
浏览 2
提问于2014-07-27
得票数 0
回答已采纳
1
回答
禁用
MuiButton时material ui V5更改指针
material-ui
、
styling
当一个按钮被
禁用
时,试图改变光标和startIcon,在主题中防止重复使用每个按钮,但是找不到解决方案。&:hover未考虑此问题,并且在override中找不到startIcon属性。components: { styleOverrides: {
backgroundColor
: blue[200],
浏览 14
提问于2021-11-01
得票数 0
回答已采纳
1
回答
使用FlexLayout包装,如何在行之间留出空间?
xamarin
、
xamarin.forms
BackgroundColor
="Silver" Padding="10" Margin="5" Text="Introduction" /> <
Bu
浏览 0
提问于2018-11-09
得票数 5
9
回答
选中/取消选中时,Objective-C突出显示UIButton
ios
、
objective-c
、
uibutton
我有一个UIView里面的UIButton,当UIButton被选中时,我希望有一个深色的背景颜色gray...is这可能吗? [toolbar setBackgroundColor:[UIColor colorWithWhite: 0.70 alpha:0.5]]; UIButton *penTool = [UIButton buttonWithTy
浏览 0
提问于2016-06-08
得票数 4
3
回答
Xamarin Android如何在一行中放置多个控件
c#
、
android
、
xamarin
现在我正在用Xamarin开发移动应用程序,我想知道如何在一行中放置多个控件--例如,如何在一行中放置两个大小相等的按钮?
浏览 4
提问于2014-12-28
得票数 1
回答已采纳
2
回答
有多个按钮的。同时使用:活动状态
html
、
css
、
button
、
pseudo-class
background-color: green; background-color: yellow; background-color: blue;<
button
class="a">1</
button
><
button
class="b">3<
浏览 6
提问于2021-10-10
得票数 1
1
回答
如何在单击时三次更改uibutton图像
ios
、
uibutton
、
uiimage
如何更改UIButton的图像三次,并获得状态或设置一个值,稍后我可以用作我的引用。这将适用于10个单独的'UIButton‘。
浏览 5
提问于2013-01-16
得票数 0
回答已采纳
3
回答
使用1个javascript更改按钮的背景色
javascript
、
html
、
button
script> var property = document.getElementById(btn); property.style.
backgroundColor
= "rgb(255, 0, 0)" elseif(property.style.
backgroundColor</e
浏览 6
提问于2015-02-19
得票数 1
回答已采纳
1
回答
如何在svelte中制作一个可重用的按钮?
css
、
button
、
svelte
//
Button
.svelte export let
backgroundColor
;
button
{ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
浏览 9
提问于2021-01-27
得票数 0
1
回答
网格RowDefinitions高度在ScrollView内部无法工作
grid
、
maui
、
.net-maui
BackgroundColor
="Azure" Grid.Column="0" Grid.Row="0"/> <
Button
BackgroundColor
="Blue" Grid.Column<
Button
BackgroundColor
="Yellow" Grid.Column="0" Grid.Row="3"&
浏览 1
提问于2022-09-26
得票数 2
点击加载更多
相关
资讯
详解鸿蒙Next仓颉开发语言中的动画
MATLAB大作业选登-物流信息整合交互管理系统
React-组件样式的两种方式
基于ArkTS快速构建你的第一个鸿蒙应用(Stage模型)
MATLAB大作业选登-现代控制理论中的阶跃响应、PID控制、nyquist及bode图的绘制
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券