请帮帮我,我通过exportkit将PSD文件转换为Android xml文件,然后出现错误我该如何消除这些错误?而且出错的原因是什么?
[1]: http://i.stack.imgur.com/N3oDr.png
[2]: http://i.stack.imgur.com/rDyhn.png
[3]: http://i.stack.imgur.com/dZ0qc.png
<ImageView android:id="@+id/layer_2"
android:src="@drawable/layer_2"
android:contentDescription="@string/ek_img_content"
android:layout_marginStart="0dp"
android:layout_marginTop="219dp"
android:layout_width="550dp"
android:layout_height="398dp" />
<TextView android:id="@+id/first_app"
android:fontFamily="Tahoma"
android:layout_gravity="center_vertical|end"
android:gravity="end"
android:textSize="34sp"
android:textColor="@color/first_app_color"
android:layout_marginStart="164dp"
android:layout_marginTop="86dp"
android:layout_width="148dp"
android:layout_height="52dp"
android:text="@string/first_app_string"
/>
<TextView android:id="@+id/good_luck"
android:fontFamily="Tahoma"
android:layout_gravity="center_vertical|end"
android:gravity="end"
android:textSize="34sp"
android:textColor="@color/first_app_color"
android:layout_marginStart="142dp"
android:layout_marginTop="684dp"
android:layout_width="171dp"
android:layout_height="52dp"
android:text="@string/good_luck_string"
/>
</RelativeLayout>
</ScrollView>
</HorizontalScrollView>
Try this:
.xml file name should be small letters only allowed
Change: App1.xml to app.xml
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句