http://mobile.tutsplus.com/tutorials/android/android-sdk-exploring-styles-and-themes/
1. create values/themes.xml
ex:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="TestTheme" parent="android:Theme.Light">
</style>
</resources>
2. modify AndroidManifest.xml
ex:
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/TestTheme" >
沒有留言:
張貼留言