我試圖創建在Android Studio的啓動畫面和我的代碼錯誤'S'不是一個有效的?
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_weight="match_parent"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context="splash">
<TextView android:text="splash screen" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textsize="45dp"
android:layout_aligmParentBottom="true"
android:id="@+id/text"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/imageView"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:src="@drawable/preview"/>
</RelativeLayout>
(錯誤這個小問題:錯誤:「S」是不是一個有效的基於文件的資源名稱的字符:文件 - 基於資源的資源名稱只能包含小寫的az,0-9或下劃線)。
所有的小寫字母
我不知道是什麼問題。
圖像的問題
http://i.imgur.com/IDfT7T6.png
嘗試用手工輸入's'代替所有's'看字符 –