Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> 關於Android編程 >> Android Button Maker(在線生成android shape xml文件的工具),真方便!

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

編輯:關於Android編程

 

使用起來超簡單,如圖:

 

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: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 \  

 

  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved