1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-23 22:32:59 +00:00

Update sources for a proper support with Android 4+ instead of Android 2.1+. Also change HeaderBar style

This commit is contained in:
Loic Blot
2015-02-07 10:35:23 +01:00
parent 6af64d979a
commit 8f7a083f07
9 changed files with 32 additions and 78 deletions
-12
View File
@@ -1,12 +0,0 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="fr.unix_experience.owncloud_sms.MainActivity" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
app:showAsAction="never"/>
</menu>
-11
View File
@@ -1,11 +0,0 @@
<resources>
<!--
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
-->
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>
+7 -2
View File
@@ -5,8 +5,13 @@
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
-->
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
<style name="OcSmsTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
<item name="android:actionBarStyle">@style/OcSmsActionBar</item>
</style>
<style name="OcSmsActionBar"
parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">#56a6cf</item>
</style>
</resources>
+2 -1
View File
@@ -115,7 +115,7 @@
<item>https://</item>
<item>http://</item>
</string-array>
<!-- Main activity -->
<string name="ma_button_rate_us">Rate us !</string>
<string name="ma_button_thanksto">Thanks to</string>
@@ -154,5 +154,6 @@
<string name="title_section2">Section 2</string>
<string name="title_section3">Section 3</string>
<string name="hello_world">Hello world!</string>
<string name="title_activity_main_activity2">MainActivity2</string>
</resources>
+3 -3
View File
@@ -3,8 +3,8 @@
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
-->
<style name="AppBaseTheme" parent="@android:style/Theme.Holo.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
@@ -16,5 +16,5 @@
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
-8
View File
@@ -9,13 +9,5 @@
android:negativeButtonText="@null"
android:positiveButtonText="@null"
android:title="@string/pref_title_sync_frequency" />
<!-- <ListPreference
android:defaultValue="60"
android:entries="@array/pref_slow_sync_frequency_titles"
android:entryValues="@array/pref_slow_sync_frequency_values"
android:key="slow_sync_frequency"
android:negativeButtonText="@null"
android:positiveButtonText="@null"
android:title="@string/pref_title_slow_sync_frequency" /> -->
</PreferenceCategory>
</PreferenceScreen>