请帮帮我,我用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
关于android - 我在 R.java 中有错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38803963/