0
我使用的支持工具欄,我已經添加了一些按鈕,我想模仿的ActionButton風格。使用style="@android:style/Widget.ActionButton"
時,我已經非常接近,但字體大小或樣式似乎稍微偏離。添加android:textStyle="bold"
讓我更加接近。 我該如何完美模仿ActionButton風格?
<Button
style="@android:style/Widget.ActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TEST"
android:id="@+id/removeButton"
android:layout_gravity="center" />
我也試過style="@android:style/Widget.Holo.ActionButton"
和其他一些人在這似乎沒什麼改變