如何使圆角TextView的Andr​​oid中? [英] How to make rounded TextView in Android?

查看:104
本文介绍了如何使圆角TextView的Andr​​oid中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个Android application.In我的应用程序,我想在TextView中显示一段字符串,所以我要到圆形TextView的样子给波纹管。 TextView的呼喊是屏幕的中心位置同样喜欢给bellow.How是可能的吗?

I am developing an android application.In my application,I want to display paragraph string in TextView,so I want to rounded Textview look like given bellow. Textview shout be center position of the screen same like given bellow.How is possible?

感谢朋友。

推荐答案

我刚刚<一href="http://stackoverflow.com/questions/4353265/android-development-how-can-i-make-an-edittext-plain-so-its-just-a-white-square/4353514#4353514">answered在一个类似的问题。

该差异将使用类似于此图片作为背景(也许它应该更透明一点)。

The difference will be to use similar to this image as a background (probably it should a bit more transparent).

这篇关于如何使圆角TextView的Andr​​oid中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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