From 58d0c45d85dd35f9bb8b4d5c9b4b6bd35161071d Mon Sep 17 00:00:00 2001 From: kruland2607 Date: Tue, 5 Jun 2012 13:57:37 +0000 Subject: [PATCH] Tweak the style for the main and loader activities so the action bar is transparent expect for the overflow button. This looks much nicer on ICS. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@754 180e2498-e6e9-4542-8430-84ac67f01cd8 --- android/res/values-v11/styles.xml | 15 ++++++++++++++- android/res/values/styles.xml | 1 - android/src/net/sf/openrocket/android/Main.java | 1 - .../android/rocket/OpenRocketLoaderActivity.java | 1 - 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/android/res/values-v11/styles.xml b/android/res/values-v11/styles.xml index 84fd2cc2..3d5f4937 100644 --- a/android/res/values-v11/styles.xml +++ b/android/res/values-v11/styles.xml @@ -1,8 +1,21 @@ - + + + + \ No newline at end of file diff --git a/android/res/values/styles.xml b/android/res/values/styles.xml index a2e78f5d..91b509ea 100644 --- a/android/res/values/styles.xml +++ b/android/res/values/styles.xml @@ -12,7 +12,6 @@ diff --git a/android/src/net/sf/openrocket/android/Main.java b/android/src/net/sf/openrocket/android/Main.java index 62d912f9..74503794 100644 --- a/android/src/net/sf/openrocket/android/Main.java +++ b/android/src/net/sf/openrocket/android/Main.java @@ -25,7 +25,6 @@ public class Main extends SherlockFragmentActivity { @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); - setTitle(""); setContentView(R.layout.main); ((Button) findViewById(R.id.main_open)).setOnClickListener( new View.OnClickListener() { diff --git a/android/src/net/sf/openrocket/android/rocket/OpenRocketLoaderActivity.java b/android/src/net/sf/openrocket/android/rocket/OpenRocketLoaderActivity.java index d3ef5086..35d3701c 100644 --- a/android/src/net/sf/openrocket/android/rocket/OpenRocketLoaderActivity.java +++ b/android/src/net/sf/openrocket/android/rocket/OpenRocketLoaderActivity.java @@ -30,7 +30,6 @@ implements TCQueryAction.OnTCQueryCompleteListener, OpenRocketLoaderFragment.OnO @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setTitle(""); setContentView(R.layout.main); if ( savedInstanceState == null || savedInstanceState.getBoolean("isLoading", false) == false ) { Intent i = getIntent(); -- 2.47.2