我正在开发一个Android应用程序,我想创建一个带有白色背景和背景图像的左上角的TableLayout,因为这是一种“弯曲效果”。TableLayout中的背景图像和背景颜色
这是左上角的图像:
我定义的TableLayout是这样的:
<TableLayout
android:id="@+id/tableLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="16dp"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_marginTop="16dp"
android:background="@color/white" >
但我不知道如何把图像左上角,或者如果背景图像与背景颜色兼容,或者如果有更好的方法来做这件事...
您只能拥有1个背景。在颜色,图像或绘图之间进行选择。 –