我正在開發一個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個背景。在顏色,圖像或繪圖之間進行選擇。 –