Android Button Maker(在线生成android shape xml文件的工具),真方便!
16lz
2021-01-23
直接上地址: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:shadowRadiusSizeandroid:width android:heightCornersandroid:radius Radius Property android:topLeftRadius android:topRightRadius android:bottomLeftRadius android:bottomRightRadiusBackgroundgradient solid android:type linear radial Center android:centerX android:startColor android:centerColor android:endColor android:anglePaddingPadding On android:left android:top android:right android:bottomStrokeandroid:width android:color | |
更多相关文章
- android 开发者资源下载地址记录(转+补充)
- Android SDK Android NDK Android Studio 官方下载地址
- Android 利用 xml 文件实现 ImageView 的加载转圈动画
- 【转】Android xml资源文件中@、@android:type、@*、?、@+含义和