diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9d7f5f5..eab570a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -36,7 +36,7 @@ android:launchMode="singleTop" android:name="SoundRecorder" android:screenOrientation="portrait" - android:theme="@android:style/Theme.NoTitleBar" > + android:theme="@style/CustomTheme" > <intent-filter > <action android:name="android.intent.action.MAIN" /> @@ -62,7 +62,7 @@ android:label="@string/preferences_title" android:launchMode="singleTop" android:name="SoundRecorderPreferenceActivity" - android:theme="@android:style/Theme.NoTitleBar" > + android:theme="@style/CustomTheme" > </activity> <service @@ -71,4 +71,4 @@ </service> </application> -</manifest> \ No newline at end of file +</manifest> diff --git a/res/values/styles.xml b/res/values/styles.xml new file mode 100644 index 0000000..d191142 --- /dev/null +++ b/res/values/styles.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net) + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="CustomTheme" parent="@android:style/Theme.Holo.Light"> + <item name="android:actionBarStyle">@style/CustomActionBarStyle</item> + </style> + + <style name="CustomActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid"> + <item name="android:displayOptions" /> + <item name="android:visibility">gone</item> + </style> +</resources>