Android Button Maker(在线生成android shape xml文件的工具),真方便!

推荐一个方便的在线工具——Android Button Maker,可以快速生成Android的shape XML文件。只需访问http://angrytools.com/android/button/,简单操作即可完成定制,极大地提高了开发效率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

       直接上地址: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
  •  
  •      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
     

    评论
    添加红包

    请填写红包祝福语或标题

    红包个数最小为10个

    红包金额最低5元

    当前余额3.43前往充值 >
    需支付:10.00
    成就一亿技术人!
    领取后你会自动成为博主和红包主的粉丝 规则
    hope_wisdom
    发出的红包
    实付
    使用余额支付
    点击重新获取
    扫码支付
    钱包余额 0

    抵扣说明:

    1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
    2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

    余额充值