2012-07-03 35 views
-6

如何创建此图片中显示的样式按钮? Look picture from here 550 AZN我可以改变它的动态。但'我的存款'不是。如何创建此图片中显示的样式按钮?

+0

我搜索了,但我没有找到任何东西。并寻求帮助。 – Musaqil

+0

[Check for Android Drawables](http://androiddrawableexplorer.appspot.com/) – Venky

+0

@musaqilMusaqil:查看此按钮示例http://tech.chitgoks.com/2011/05/17/android-colored-gradient-buttons -using-xml /。但在你的情况下使用TextView而不是按钮 –

回答

2

您需要有一个RelativeLayout其中有两个TextViews,背景造型可以通过使用渐变和圆角样式完成。 XML作为背景或有一个绿色的背景按钮的图像。