如何创建带图像和按钮的按钮文本 [英] How to create button with image & text

查看:102
本文介绍了如何创建带图像和按钮的按钮文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我想在android中显示一个按钮,如屏幕截图所示。

I want to display a button in android like mentioned in screenshot.

任何人都可以指导我如何实现这一目标?

Could anyone guide me through how to achieve this?

推荐答案

ImageButton ,您可以使用它。

但我不知道如何制作文本按钮看起来像截图中的文字。我只想用文本创建图像,然后将其用于 ImageButton

But I'm not sure how to make the Text on the button look like the Text in your screenshot. I would simply create the image with the text and then use it for the ImageButton.

这篇关于如何创建带图像和按钮的按钮文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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