无法在ImageView中为7"加载图像标签设备布局

时间:2015-08-12 13:01:35

标签: android android-layout android-imageview

我正在尝试将一个背景图像放在一个用于sw600dp布局文件的imageview中,但它没有被加载到其他地方,因为它被加载到密度小于600dp的其他布局上。 图像放在drawable文件夹中。 我没有得到什么可能是问题。以下是sw600dp布局的代码

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="stvisionary.fashionove.com.Activity.StartActivity">


<ImageView
    android:id="@+id/backImage"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:src="@drawable/start_image"
    android:scaleType="center"/>
</RelativeLayout>

0 个答案:

没有答案