Did you know that there are some ui themes inside Android?
They are pretty easy to use, although they don't look very nice.
All you have to do is add one attribute in the manifest:
Using xml Syntax Highlighting
- android:theme="@android:style/Theme.Black"
Parsed in 0.000 seconds, using GeSHi 1.0.8.4
Using xml Syntax Highlighting
- android:theme="@android:style/Theme.Light"
Parsed in 0.000 seconds, using GeSHi 1.0.8.4
Using xml Syntax Highlighting
- android:theme="@android:style/Theme.Translucent"
Parsed in 0.000 seconds, using GeSHi 1.0.8.4
Your manifest will look like this:
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.theme" android:versionCode="1" android:versionName="1.0.0">
- <application android:icon="@drawable/icon" android:label="@string/app_name">
- <activity android:name=".Test" android:label="@string/app_name"
- android:theme="@android:style/Theme.Light">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- </application>
- </manifest>
Parsed in 0.003 seconds, using GeSHi 1.0.8.4
I will attach four screenshots using the three different themes and one without a theme. They are based on the
making own theme layout from pskink.
Greetings,
DaRolla






