首页 > 代码库 > Android Button Maker(在线生成android shape xml文件的工具),真方便!
Android Button Maker(在线生成android shape xml文件的工具),真方便!
直接上地址: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. 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" | Buttonandroid:text android:textColor android:textSize Shadow On android:shadowColor android:shadowDx android:shadowDy android:shadowRadius Sizeandroid:width android:height Cornersandroid:radius Radius Property android:topLeftRadius android:topRightRadius android:bottomLeftRadius android:bottomRightRadius Backgroundgradient solid android:type Center android:centerX android:startColor android:centerColor android:endColor android:angle PaddingPadding On android:left android:top android:right android:bottom Strokeandroid:width android:color | |
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。