直接上地址: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 <Button 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
Android Button Maker(在线生成android shape xml文件的工具),真方便!_第1张图片

更多相关文章

  1. android 开发者资源下载地址记录(转+补充)
  2. Android SDK Android NDK Android Studio 官方下载地址
  3. Android 利用 xml 文件实现 ImageView 的加载转圈动画
  4. 【转】Android xml资源文件中@、@android:type、@*、?、@+含义和

随机推荐

  1. 可以获取客户端的IP地址的sql语句
  2. SQL 导入导出Excel数据的语句
  3. SQL语句查询数据库中重复记录的个数
  4. drop,truncate与delete的区别
  5. MSSQL 检查所使用的语句是否符合标准
  6. SQL Substring提取部分字符串
  7. 用户"sa"登陆失败 SQLServer 错误18456的
  8. SQL 存储过程基础语法之一
  9. SQL Server全文检索查询浅析
  10. sql 时间函数 整理的比较全了