如何实现ImageTextButton
|
我知道有ImageButton 和 Button这两种按扭, <button android:id="" android:text="next" android:drawableRighe="@drawable/img1" />
|
本文介绍了一种在Android中实现带有图标和文字按钮的方法。通过使用<button>标签,并设置android:text属性显示文字,使用android:drawableRight属性添加右侧图标,实现了ImageTextButton的效果。
|
我知道有ImageButton 和 Button这两种按扭, <button android:id="" android:text="next" android:drawableRighe="@drawable/img1" />
|

被折叠的 条评论
为什么被折叠?