Have the star field visible under the actionbar in ICS and Honeycomb devices.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 14 Mar 2012 01:29:43 +0000 (01:29 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 14 Mar 2012 01:29:43 +0000 (01:29 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@456 180e2498-e6e9-4542-8430-84ac67f01cd8

android/AndroidManifest.xml
android/res/values/actionbar_colors.xml
android/res/values/actionbar_styles.xml

index c0d28a011d4170c4d9f4ee41e859397438487c8e..061149414bc7c5b6390084450890d51697842544 100644 (file)
@@ -19,7 +19,8 @@
         android:label="@string/app_name"\r
         android:theme="@style/AppTheme" >\r
         <activity\r
-            android:name=".android.Main">\r
+            android:name=".android.Main"\r
+            android:theme="@style/AppTheme.Clean" >\r
             <intent-filter>\r
                 <action android:name="android.intent.action.MAIN" />\r
 \r
             </intent-filter>\r
         </activity>\r
         <activity\r
-            android:name=".android.rocket.OpenRocketLoaderActivity">\r
+            android:name=".android.rocket.OpenRocketLoaderActivity"\r
+            android:theme="@style/AppTheme.Clean" >\r
 \r
             <!--\r
                  I don't understand why I need to have two different intent filters. \r
                                Combining the <data> elements into a single field did not result in a working \r
                                application. The first intent-filter (with mimeType wildcard) convinces the \r
                                file browser to associate the correct launcher icon. the second intent-filter \r
-                               is actually invoked when a file is selected.\r\r
+                               is actually invoked when a file is selected.\r\r\r
             -->\r
             <!-- this intent filter convinces the file browser to display icons -->\r
             <intent-filter>\r
index 57488174489d180520a4d7e111ff38810648eb03..8939b91fc586d84d37a5681636b9a19921db4e63 100644 (file)
@@ -3,6 +3,6 @@
 <resources>
 
     <color name="actionbar_title_color">#FFFFFF</color>
-    <color name="actionbar_background_color">#ff000000</color>
+    <color name="actionbar_background_color">#00000000</color>
     
 </resources>
index 3de9965be51f7303a3cccec9579946f4dceaedf6..b09b7169285530f72e1eb0a0603a90217a234507 100644 (file)
   distributed under the License is distributed on an "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
   See the License for the specific language governing permissions and\r
-  limitations under the License.\r
-  -->\r
+  limitations under the License.\r\r
+-->\r
 \r
 <resources>\r
 \r
+    <style name="AppTheme.Clean" parent="AppTheme">\r
+        <item name="android:windowActionBarOverlay">true</item>\r
+    </style>\r
+\r
     <style name="AppTheme" parent="android:style/Theme">\r
         <item name="android:windowTitleSize">@dimen/actionbar_compat_height</item>\r
         <item name="android:windowTitleBackgroundStyle">@style/ActionBarCompat</item>\r
@@ -36,8 +40,9 @@
     <style name="ActionBarCompatHomeAsUp">\r
         <item name="android:background">@drawable/ic_home_carat</item>\r
     </style>\r
-    \r
+\r
     <style name="ActionBarCompatItemBase">\r
+\r
         <!-- layout_width/height must be set in code -->\r
         <item name="android:scaleType">center</item>\r
         <item name="android:background">@drawable/actionbar_compat_item</item>\r
         <item name="android:textColor">@color/actionbar_title_color</item>\r
     </style>\r
 \r
-    <style name="ActionBarCompatItem" parent="style/ActionBarCompatItemBase">\r
-    </style>\r
+    <style name="ActionBarCompatItem" parent="style/ActionBarCompatItemBase"></style>\r
 \r
-    <style name="ActionBarCompatHomeItem" parent="style/ActionBarCompatItemBase">\r
-    </style>\r
+    <style name="ActionBarCompatHomeItem" parent="style/ActionBarCompatItemBase"></style>\r
 \r
-</resources>\r
+</resources>
\ No newline at end of file