【发布时间】:2011-06-09 04:20:17
【问题描述】:
我有 LinearLayout,我有 png 用作瓷砖 - 但我也希望它后面的颜色是白色的。
这可能吗?
我的代码是:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical" android:id="@+id/LinearMain" android:background="@drawable/bcktiles">
而drawable是:
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bgsite" android:tileMode="repeat">
</bitmap>
我不知道该放在哪里#fff
谢谢
【问题讨论】:
标签: android