如何将平面按钮样式设置为 ImageButton?
How to style flat button to ImageButton?
我想把按钮样式放在imagebutton
。
style="@style/Widget.AppCompat.Light.ActionButton"
如何设置按钮3、6、9的样式?
<ImageButton
android:id="@+id/btndel"
android:layout_width="0dp"
android:layout_height="60dp"
android:layout_columnWeight="1"
android:layout_weight="1"
android:src="@drawable/ic_backspace_black_24dp"
android:background = "@color/white"
style="@style/Widget.AppCompat.Button.Colored"/>
@style/Widget.AppCompat.Button.Colored就是解决办法.-
我想把按钮样式放在imagebutton
。
style="@style/Widget.AppCompat.Light.ActionButton"
如何设置按钮3、6、9的样式?
<ImageButton
android:id="@+id/btndel"
android:layout_width="0dp"
android:layout_height="60dp"
android:layout_columnWeight="1"
android:layout_weight="1"
android:src="@drawable/ic_backspace_black_24dp"
android:background = "@color/white"
style="@style/Widget.AppCompat.Button.Colored"/>
@style/Widget.AppCompat.Button.Colored就是解决办法.-