直接上地址:http://angrytools.com/android/button/


使用起来超简单,如图:

Android Button Maker is online tool to generate buttons code for Android Apps. Android API provide Drawable Resources where XML file defines geometric shape, including colors, border and gradients. 
These button is generating based on shape drawable XML code which load faster compare to normal png buttons. You can customize button properties in setting panel and get source code.
Button  buttonshape.xml android:id= "@+id/angry_btn"
android:text= "Button" android:textColor= "#FFFFFF" android:textSize= "30sp"
android:layout_width= "270dp" android:layout_height= "60dp" android:background= "@drawable/buttonshape" android:shadowColor= "#A8A8A8" android:shadowDx= "0" android:shadowDy= "0" android:shadowRadius= "5" />

Button

android:text android:textColor android:textSize Shadow On android:shadowColor android:shadowDx android:shadowDy android:shadowRadius

Size

android:width android:height

Corners

android:radius Radius Property android:topLeftRadius android:topRightRadius android:bottomLeftRadius android:bottomRightRadius

Background

gradient  solid android:type linear radial   Center  android:centerX android:startColor android:centerColor android:endColor android:angle

Padding

Padding On android:left android:top android:right android:bottom

Stroke

android:width android:color
 

更多相关文章

  1. Android(安卓)5.0 Lollipop SDK下载地址
  2. Android(安卓)5.1 API 22 所有sdk文件下载地址
  3. Android5.0 SDK 相关资源下载地址
  4. android studio 0.6.0 下载地址
  5. android studio 0.6.0 下载地址
  6. Android(安卓)SDK R11 下载地址
  7. android studio 2.2下载地址
  8. Android(安卓)SDK/ADT 历史版本下载地址
  9. android sdk下载地址

随机推荐

  1. WiFi流程
  2. android studio怎么生成HttpClient????
  3. Android(安卓)Sudio 如何获取SHA1(开发版
  4. Android(安卓)中解析JSON形式的数据
  5. android 学习笔记3--静默安装功能的实现
  6. Android(安卓)App调用跳转百度地图、高德
  7. 读取 android 设备的电池信息
  8. Android(安卓)Layout XML属性
  9. Android(安卓)FrameWork——Touch事件派
  10. Android中级联列表ExpandableListView使