Have the star field visible under the actionbar in ICS and Honeycomb devices.
This commit is contained in:
parent
ac51ec6b5a
commit
a5d982aa4e
@ -19,7 +19,8 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/AppTheme" >
|
android:theme="@style/AppTheme" >
|
||||||
<activity
|
<activity
|
||||||
android:name=".android.Main">
|
android:name=".android.Main"
|
||||||
|
android:theme="@style/AppTheme.Clean" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
@ -27,14 +28,15 @@
|
|||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".android.rocket.OpenRocketLoaderActivity">
|
android:name=".android.rocket.OpenRocketLoaderActivity"
|
||||||
|
android:theme="@style/AppTheme.Clean" >
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
I don't understand why I need to have two different intent filters.
|
I don't understand why I need to have two different intent filters.
|
||||||
Combining the <data> elements into a single field did not result in a working
|
Combining the <data> elements into a single field did not result in a working
|
||||||
application. The first intent-filter (with mimeType wildcard) convinces the
|
application. The first intent-filter (with mimeType wildcard) convinces the
|
||||||
file browser to associate the correct launcher icon. the second intent-filter
|
file browser to associate the correct launcher icon. the second intent-filter
|
||||||
is actually invoked when a file is selected.
|
is actually invoked when a file is selected.
|
||||||
-->
|
-->
|
||||||
<!-- this intent filter convinces the file browser to display icons -->
|
<!-- this intent filter convinces the file browser to display icons -->
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<color name="actionbar_title_color">#FFFFFF</color>
|
<color name="actionbar_title_color">#FFFFFF</color>
|
||||||
<color name="actionbar_background_color">#ff000000</color>
|
<color name="actionbar_background_color">#00000000</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -11,11 +11,15 @@
|
|||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
|
<style name="AppTheme.Clean" parent="AppTheme">
|
||||||
|
<item name="android:windowActionBarOverlay">true</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="AppTheme" parent="android:style/Theme">
|
<style name="AppTheme" parent="android:style/Theme">
|
||||||
<item name="android:windowTitleSize">@dimen/actionbar_compat_height</item>
|
<item name="android:windowTitleSize">@dimen/actionbar_compat_height</item>
|
||||||
<item name="android:windowTitleBackgroundStyle">@style/ActionBarCompat</item>
|
<item name="android:windowTitleBackgroundStyle">@style/ActionBarCompat</item>
|
||||||
@ -36,8 +40,9 @@
|
|||||||
<style name="ActionBarCompatHomeAsUp">
|
<style name="ActionBarCompatHomeAsUp">
|
||||||
<item name="android:background">@drawable/ic_home_carat</item>
|
<item name="android:background">@drawable/ic_home_carat</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ActionBarCompatItemBase">
|
<style name="ActionBarCompatItemBase">
|
||||||
|
|
||||||
<!-- layout_width/height must be set in code -->
|
<!-- layout_width/height must be set in code -->
|
||||||
<item name="android:scaleType">center</item>
|
<item name="android:scaleType">center</item>
|
||||||
<item name="android:background">@drawable/actionbar_compat_item</item>
|
<item name="android:background">@drawable/actionbar_compat_item</item>
|
||||||
@ -62,10 +67,8 @@
|
|||||||
<item name="android:textColor">@color/actionbar_title_color</item>
|
<item name="android:textColor">@color/actionbar_title_color</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ActionBarCompatItem" parent="style/ActionBarCompatItemBase">
|
<style name="ActionBarCompatItem" parent="style/ActionBarCompatItemBase"></style>
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="ActionBarCompatHomeItem" parent="style/ActionBarCompatItemBase">
|
<style name="ActionBarCompatHomeItem" parent="style/ActionBarCompatItemBase"></style>
|
||||||
</style>
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user