———-res/layout/main.xml——————————-
android:orientation=”vertical”
android:layout_width=”fill_parent”
android:layout_height=”fill_parent”
>
style=”@style/style1″
android:id=”@+id/tv”
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:text=”nihao world!”
/>
style=”@style/style2″
android:id=”@+id/tv2″
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:text=”hello world!”
/>
—————res/value/style.xml————————————-
18sp
#EC9236
30sp
#00ff36
0.0
0.0