简体   繁体   English

Android自定义圆形按钮

[英]Android custom round button

I want to have a Button/ImageButton that looks like this (round button on the left) 我想要一个看起来像这样的Button / ImageButton(左边的圆形按钮)

在此输入图像描述

What are my choices? 我有什么选择? Can I draw it using a shape? 我可以用形状画它吗? or is it better to use a png icon for that? 或者是否更好地使用png图标? ideas? 想法? What I want to do is to be able to display a new activity when the button is clicked/touched. 我想要做的是能够在单击/触摸按钮时显示新活动。

It is 它是

android.R.drawable.expander_ic_minimized

look into built in android drawables: 看看内置的android drawables:

http://androiddrawableexplorer.appspot.com/ http://androiddrawableexplorer.appspot.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM