在我的应用程序中,我为按钮设置了某种颜色的背景。我不喜欢它的外观。按钮就像一个矩形,边缘笔直。我希望按钮具有圆角。这怎么可能?Android中按钮的背景?
这是我在XML按钮:
<Button android:id="@+id/button" android:text="Participer au concours de photos"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="410dip" android:layout_centerHorizontal="true"
android:background="@drawable/orange1"/>
谢谢...
只是尽量给圆边角图像到它的背景。 –
本文可能对您有所帮助:http://appfulcrum.com/?p=105 –
非常感谢您:) – Gabrielle