improving app style: using app theme "Holo.Light" where available.

This commit is contained in:
Kevin Meyer 2014-08-19 16:46:09 +02:00
parent e8252dbd5f
commit 456947be56
3 changed files with 27 additions and 13 deletions

View File

@ -1,29 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="fr.gaulupeau.apps.InThePoche"
android:versionCode="8"
android:versionName="@string/version" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="8"
android:targetSdkVersion="8" />
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="fr.gaulupeau.apps.InThePoche" >
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application android:icon="@drawable/icon" android:label="@string/app_name" >
<activity android:name="fr.gaulupeau.apps.Poche.Poche"
android:label="@string/app_name" android:theme="@android:style/Theme.Light.NoTitleBar">
<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/app_theme" >
<activity
android:name="fr.gaulupeau.apps.Poche.Poche"
android:theme="@style/mainActivity_theme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:label="@string/label_name">
<intent-filter
android:label="@string/label_name" >
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
<activity android:name="fr.gaulupeau.apps.Poche.ReadArticle" android:label="@string/app_name" android:theme="@android:style/Theme.Light"></activity>
<activity android:name="fr.gaulupeau.apps.Poche.ListArticles" android:label="@string/app_name" android:theme="@android:style/Theme.Light"></activity>
<activity android:name="fr.gaulupeau.apps.Poche.Settings" android:label="@string/app_name" android:theme="@android:style/Theme.Light"></activity>
<activity android:name="fr.gaulupeau.apps.Poche.ReadArticle" />
<activity android:name="fr.gaulupeau.apps.Poche.ListArticles" />
<activity android:name="fr.gaulupeau.apps.Poche.Settings" />
</application>
</manifest>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="app_theme" parent="android:Theme.Holo.Light"/>
<style name="mainActivity_theme" parent="android:Theme.Holo.Light" />
</resources>

5
res/values/styles.xml Normal file
View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="app_theme" parent="android:Theme.Light"/>
<style name="mainActivity_theme" parent="android:Theme.Light.NoTitleBar" />
</resources>