[英]Android Custom shaped Button
我想用xml在android中創建一個像下面這樣的自定義形狀的按鈕(我知道我可以用圖像來做,但它不是我的選擇之一),怎么做? 我從矩形開始,然后嘗試以消極的方式玩轉角以使右側抬高,但我沒有成功。
你應該使用 9-patch(可調整大小的 drawable)作為你的按鈕背景,閱讀這個。
[英]Android: custom shaped button
[英]Custom shaped button in android
[英]custom shaped button for android activity
[英]Android fully shaped Button
[英]Heart shaped button in android
[英]Android: Creating shaped button
[英]Android Custom shaped dialog
[英]Custom shaped textview, Android
[英]Triangular shaped button for android activity
[英]Image with custom shaped buttons on android
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.