腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
是否可以在
android
按钮中指定
边框
并保持其背景?
、
、
、
、
在其活动中可以在
android
按钮中指定
边框
吗?我想保持按钮png背景,并添加指定
边框
,并删除它或动态改变颜色。 如果选择不正确的红色
边框
,拼图板由几个按钮组成,以供选择。
浏览 1
提问于2017-05-14
得票数 0
回答已采纳
3
回答
ImageButton
边框
透明度-如何删除圆形图像周围的方形
边框
?
、
所以我看到的不是漂亮的透明的圆形
ImageButton
,而是方形的边缘。我需要提供高度,否则它会抱怨,但现在我有了灰色/银色正方形的轮廓实例的圆形图像。
浏览 0
提问于2011-03-21
得票数 41
回答已采纳
2
回答
让
Android
图标只有一个图像,没有背景?
、
、
<
ImageButton
android
:layout_width="wrap_content"
android
:src="@drawable/phone" /> 这就是我已经拥有的。
浏览 0
提问于2012-11-12
得票数 1
回答已采纳
2
回答
Android
ImageButton
边框
?
、
、
、
有没有一种方法可以指定这些按钮之间的
边框
,这样我就可以知道一个按钮从哪里开始,在哪里结束?
浏览 2
提问于2010-07-12
得票数 3
回答已采纳
4
回答
如何将单面
边框
和背景添加到一个绘图中?
、
、
、
我有一个
ImageButton
,而在
android
:background属性中,我现在有一个xml,它在按下
ImageButton
背景色时会改变。这一切都很好,但我也想在每个
ImageButton
中添加一个顶部
边框
。 下面是我创建的一个示例图像,以便更好地理解我的观点。
浏览 4
提问于2014-11-02
得票数 0
回答已采纳
2
回答
如何去除图像按钮周围的白色填充物?
、
、
这是我的密码: xmlns:tools="http
android
:layout_weight="2" </CheckBox>
浏览 2
提问于2016-03-09
得票数 0
回答已采纳
1
回答
Xamarin Forms:在安卓上忽略
ImageButton
边框
、
、
我有一个包含一些
ImageButton
的StackLayout,按钮的BorderWidth为5。
Android
(无
边框
): 我的XAML看起来像这样 x:Name="titlebar" Orientation="<
ImageBut
浏览 6
提问于2021-01-04
得票数 0
8
回答
不带标题和
边框
的自定义对话框
、
仍然有标题栏的空间,并且视图周围有
边框
。如何摆脱这些标题和
边框
?<
ImageButton
android
:src="@drawable/pause_button_quit"
android
:layout_width="wrap_content"
android
:background="@drawable/pause_button_quit"
android
:id="@+id&
浏览 1
提问于2011-03-23
得票数 19
回答已采纳
2
回答
如何消除ImageButtons网格间的空白
、
、
<
ImageButton
android
:layout_width="match_parent"
android
:layout_weight="1"
android
:onCl
浏览 0
提问于2018-03-17
得票数 0
回答已采纳
6
回答
如何删除按钮后面的
边框
?
、
我的应用程序按钮后面有一个灰色
边框
,我如何删除它?我是这样定义
ImageButton
的:
android
:id="@+id/btn_photo_lib"
android
:layout_height="wrap_content"
android
:onClick=&quo
浏览 3
提问于2013-01-18
得票数 33
1
回答
ImageButton
可绘制背景不居中和裁剪
、
、
我有这个
ImageButton
android
:id="@+id/
imageButton
" A你可以看到内部图标不是居中的,你可以注意到右边和底部的
边框
都被裁剪了一点。原因是应用背景不适合
ImageButton
,就像我在
Android
中选择
ImageButton
浏览 1
提问于2016-05-08
得票数 1
回答已采纳
2
回答
删除填充
ImageButton
我使用的是
ImageButton
,但无法删除图像和按钮
边框
之间的填充或空格。我如何才能做到这一点?这是我的布局
android
:id="@+id/
imageButton
"
android
:layout_width="103dp"
android
:
浏览 1
提问于2017-07-22
得票数 0
1
回答
ActionBar按钮侧不透明
>
android
:layout_width="true"
android
:textSize="15sp"
浏览 3
提问于2014-08-17
得票数 0
回答已采纳
1
回答
Android
布局和图像按钮以及灰色
边框
、
图像按钮有一个巨大的灰色
边框
。我试着关闭边界,并使边界变黑...这不管用。我只想让按钮在屏幕上有一个透明的背景,如果可能的话,扩展得更宽一点。没有灰色的。
android
:orientation="vertical"> <
ImageButton
android
:
android
:layout_width=&qu
浏览 0
提问于2011-07-14
得票数 4
回答已采纳
2
回答
android
: imageview inside按钮
、
我需要能够在我的布局中显示一个按钮,但我希望按钮内有一个图像(小图标)和文本。 ___________________/_**_______________/所以我想做的是一个带背景的线性布局,并让它可以点击--这可能会起作用,但这意味着它的行为不会完全像一个按钮……谢谢你,伊。
浏览 1
提问于2011-03-15
得票数 7
回答已采纳
2
回答
ImageButton
胜过动作栏安卓
> xmlns:app="http://schemas.
android
.com/apk/res-auto" xmlns:tools="http://schemas.
android</
浏览 4
提问于2016-09-22
得票数 0
4
回答
Android
ImageButton
边框
颜色透明,但所有按钮均已连接
我有一个垂直放置的
ImageButton
列表,在每个带有灰色
边框
的按钮之间有一些空间。在我将背景颜色设置为透明或白色后,所有按钮都连接在一起,我的意思是分隔按钮的空间消失了。<
ImageButton
android
:layout_width="wrap_content"fitXY" /> <
I
浏览 42
提问于2017-06-11
得票数 1
回答已采纳
2
回答
如何在摄像头上移动ImageView?
、
、
有没有一种方法可以让图像视图在相机上移动?我希望能够在顶部使用imageview来拍照。
浏览 1
提问于2013-08-07
得票数 0
2
回答
如何编程更改
ImageButton
的样式
、
、
我尝试了几种方法:第一种方法是简单地让选定的
ImageButton
点击,但我没有找到任何解决方案来实现这一点。正如您所看到的,一旦我更改了Image的
ImageButton
,
边框
就消失了。 现在,我认为用一个简单的
ImageButton
重写Image样式会使我的自定义
ImageButton
样式的
边框
消失,但这只是猜测。我编写了第二个具有不同背景颜色和相同
边框
的自定义
ImageButton
样式,但我无法从代码中了解如何在
ImageButt
浏览 2
提问于2012-11-01
得票数 4
回答已采纳
2
回答
ImageButton
无背景,但触摸时变为蓝色
、
我添加了一个
ImageButton
(圆形灰色X,透明背景的图像) .It被动态添加到布局中。final
ImageButton
btnx = new
ImageButton
(this); LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams
浏览 3
提问于2013-06-22
得票数 0
点击加载更多
相关
资讯
Excel自动添加边框
让Excel帮你‘画’边框
CSS3之边框
视频上下加边框怎么做?3种加边框的方法推荐!
CSS-边框-画圆玩
热门
标签
更多标签
云服务器
ICP备案
云点播
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券