標籤:開發工具 android android開發 xml shape產生工具
直接上地址: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<Buttonandroid: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:textandroid:textColorandroid:textSizeShadow Onandroid:shadowColorandroid:shadowDxandroid:shadowDyandroid:shadowRadiusSizeandroid:widthandroid:heightCornersandroid:radiusRadius Propertyandroid:topLeftRadiusandroid:topRightRadiusandroid:bottomLeftRadiusandroid:bottomRightRadiusBackgroundgradient solidandroid:type linear radial Center android:centerXandroid:startColorandroid:centerColorandroid:endColorandroid:anglePaddingPadding Onandroid:leftandroid:topandroid:rightandroid:bottomStrokeandroid:widthandroid:color |
|
|