1.main.xml设置属性
2.自定义shape.xml属性
----------------------------------------------------------------------------------------------------
<LinearLayout 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"
android:orientation="vertical"
tools:context="com.example.android.game_xczyw.MainActivity" >
<TextView
android:id="@+id/textView1"
android:layout_width="fill_parent"
android:layout_height="150dp"
android:gravity="center"
android:text="信 长 之 野 望"
android:textAppearance="?android:attr/textAppearanceLarge" />
<LinearLayout