腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
0
回答
drawableBottom
不
工作
java
、
android
我不能理解为什么我的代码在30分钟内不能
工作
。android:layout_width="wrap_content" android:
drawableBottom
浏览 1
提问于2017-12-14
得票数 0
回答已采纳
2
回答
TextView不能设置形状可绘制的drawableLeft(或顶部、右边、底部)?
android
、
textview
、
drawable
、
shapes
android"<stroke android:color="#f00" android:width="2dp"/>然后我在TextView的
drawableBottom
中设置了这个形状,但是它没有
工作
。android:layout_height="wrap_content" android:layout_gravity="center
浏览 2
提问于2016-04-22
得票数 3
回答已采纳
1
回答
单选按钮可拖动顶部,不显示setCompoundDrawablesWithIntrinsicBounds()和setButtonDrawable();显示位置错误
android
所以我用setButtonDrawable();尝试了不同的方法,它不改变Radio
drawablebottom
,这很好,它在Button旁边设置了绘图。如何将它的位置改为最高位置?
浏览 0
提问于2017-10-27
得票数 0
回答已采纳
3
回答
使用java更改
drawableBottom
java
、
android
、
drawable
<Button android:id="@+id/butFavTeam"我想将当前的
drawableBottom
图像更改为可绘制目录中的另一个图像。
浏览 0
提问于2010-08-31
得票数 2
回答已采纳
2
回答
可在文本视图下方绘制的线条不显示
android
、
xml-drawable
我使用
drawableBottom
属性来完成此操作。" android:gravity="right" android:
drawableBottom
有一个被误解的
drawableBottom
属性?期待一些帮助:)
浏览 0
提问于2013-01-18
得票数 7
回答已采纳
2
回答
具有底部绘制自定义线条的Textview
android
、
textview
、
line
、
customization
、
draw
我只想知道如何做这样的事情: 谢谢
浏览 0
提问于2013-02-28
得票数 0
回答已采纳
1
回答
android按钮:将android:文本放在android:
drawableBottom
按钮之上
java
、
android
有什么方法可以将text属性放在android:
drawableBottom
属性之上吗?android:layout_width="wrap_content" android:
drawableBottom
android:layout_width="wrap_content" android:layout_height="wrap_content"
浏览 3
提问于2016-04-13
得票数 0
回答已采纳
1
回答
如何相对于复选框重新定位CheckBox文本
android
TextBox文本的默认文本位置在文本框的右侧。如何将文本重新定位到框的上方? [x]
浏览 13
提问于2017-08-04
得票数 0
3
回答
我如何使图像适合我的按钮
android
、
android-layout
、
android-activity
、
android-button
每次我将和图像添加到我的按钮(希望将其添加到文本下面)时,它只显示图像的左上角,并在按钮的顶部添加自己,即使我使用android:
drawableBottom
。paddingLeft="5dp" android:id="@+id/weather_station" /> android:
drawableBottom
浏览 2
提问于2015-11-03
得票数 1
1
回答
如何将AppCompatRadioButton设置为顶部的文本,并以编程方式更改色调颜色?
android
、
android-appcompat
但是,现在setSupportButtonTintList无法处理这个问题,如果不对setSupportButtonTintList进行自定义,它将正常
工作
。layout_height="wrap_content" android:text="Top Text" android:
drawableBottom
浏览 3
提问于2017-05-17
得票数 0
回答已采纳
3
回答
Android:
Drawablebottom
隐藏文本
android
、
xml
、
android-layout
、
button
、
android-linearlayout
android:background="@drawable/button_blue" android:
drawableBottom
android:background="@drawable/button_green" android:
drawableBottom
android:backg
浏览 4
提问于2016-05-11
得票数 1
回答已采纳
2
回答
可绘制形状在与android:
drawableBottom
属性结合使用时不显示。
android
、
layout
、
drawable
、
shape
android:
drawableBottom
="@drawable/gradient_box"/> android:background="@drawable/gradient_box"/> 设置一个实际的图像(例如*.png)给android:
drawableBottom
浏览 0
提问于2011-07-28
得票数 13
回答已采纳
24
回答
有没有一种简单的方法可以在Android View的顶部和底部添加边框?
android
、
border
、
android-view
、
textview
我尝试将android:drawableTop和android:
drawableBottom
添加到TextView中,但这只会导致整个视图变为黑色。android:layout_height="wrap_content" android:
drawableBottom
浏览 14
提问于2009-10-21
得票数 427
回答已采纳
5
回答
Android虚线位于文本视图的中间。
android
、
xml
用
drawableBottom
也试过,但没有用 android:
drawableBottom
="@drawable/dashed_line"
浏览 12
提问于2017-06-05
得票数 2
回答已采纳
2
回答
9贴片图像
不
刻划
android
我使用它来将
drawableBottom
设置为TextView.But,这不会延伸到文本视图的宽度。我做错什么了?这是原图
浏览 0
提问于2014-11-11
得票数 0
回答已采纳
1
回答
我想编写一个类,它动态地添加视图,如按钮、TextView或
android
、
arrays
、
android-layout
、
dynamic
、
view
我想编写一个类,它动态地添加视图,如按钮、TextView或.1-我想使用一个选项,这意味着我想要使用滚动,或者我想显示屏幕上的所有视图。我想使用android:layout_weight来适应相同大小的视图,这些视图在任何屏幕大小的屏幕上都很漂亮,但我不知道怎么做。行的m=number列的n=number在XML文件中,只有一个RelativeLayout.。import android.app.ActionBar; import android.con
浏览 3
提问于2015-12-28
得票数 1
回答已采纳
4
回答
如何在android的按钮中设置图片的正文
android
、
android-layout
、
coding-style
我想在按钮属性中设置图片上的文本。这是我的代码,但我知道文本在图像后面,我必须设置哪个属性? android:id="@+id/footer" android:layout_height="70dp" android:gravity="bottom"
浏览 0
提问于2012-02-16
得票数 0
1
回答
如何在android的复合可绘制中获取imageview引用?
java
、
android
、
textview
、
imageview
如果你有一个这样的textview+image: android:id="@+id/textView4" android:layout_height="wrap_content" 如何在java代码中从textview引用中获取ImageV
浏览 10
提问于2013-09-07
得票数 5
1
回答
TextView drawableTop技巧在java中不起作用?
android
、
android-layout
在XML中,可以将TextView设置为有android:drawableTop,但是,在java代码中,没有对应的textView.setDrawableTop(),为什么我没有看到这个呢?它不应该在那里吗?
浏览 1
提问于2011-06-27
得票数 1
回答已采纳
2
回答
在LinearLayout内部对中
android
、
layout
android:layout_width="48dp" android:
drawableBottom
android:layout_width="48dp" android:
drawableBottom
浏览 2
提问于2018-06-03
得票数 0
回答已采纳
点击加载更多
相关
资讯
当本场VOR/DME不工作以后
关于setInterval切换页面时不工作
不达目的不罢休,全球首次发现 OpenAI 模型工作时会破坏关机命令
RSCONN01发送邮件不工作
为何机器人抢不走你的工作
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券