2014-12-27 26 views
1

我有4个错误,而试图让我的eclipse.Please第一个应用程序试图帮我在这里有以下几种:的错误,而试图让我的第一个应用程序与Eclipse

1)属性丢失了Android命名空间

<shape xmlns:android="http://schemas.android.com/apk/res/android"> 
    <solid android:color="#F0A0A0A0"/> 
    <stroke android:width="2dp" color="#A00080FF"/> 
    <padding android:left="5dp" android:top="0dp" 
     android:right="5dp" android:bottom="1dp" /> 

2)属性丢失了Android命名空间

<shape xmlns:android="http://schemas.android.com/apk/res/android"> 
solid android:color="#F0FFFFFF"/> 
<stroke android:width="1dp" color="#A00080FF"/> 
<padding android:left="5dp" android:top="0dp" 
    android:right="5dp" android:bottom="1dp" /> 

3)重复ID @ + ID /图像已经在此布局早先定义

4)错误的取向没有指定取向....

回答

0

为和

change color="#A00080FF" 

android:color="#A00080FF" 

为检查您的布局xml文件...它必须有2个imageviews与同样采用Android:ID

和指定

android:orientation="vertical" 

android:orientation="horizontal" 

到你的线性布局标签

相关问题