summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-16 18:50:34 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-16 18:50:34 -0400
commit45e1e540a0d180cbe2724688b43ad6d8df26cb65 (patch)
tree0143286513b395c0f5f2a915beafe90e4b4c1ec1
parent1382b490adc3971916ca14978f8bd2d9f5f2a344 (diff)
parent4ec2c4ba95cbff009ef9a219db6c673bad092a5b (diff)
downloadpackages_apps_browser-45e1e540a0d180cbe2724688b43ad6d8df26cb65.zip
packages_apps_browser-45e1e540a0d180cbe2724688b43ad6d8df26cb65.tar.gz
packages_apps_browser-45e1e540a0d180cbe2724688b43ad6d8df26cb65.tar.bz2
Merge change 25371 into eclair
* changes: Remove the shadow in the Browser. Use xml to indicate windowNoTitle.
-rw-r--r--res/values/styles.xml6
-rw-r--r--src/com/android/browser/BrowserActivity.java1
2 files changed, 3 insertions, 4 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 40fdd14..c9ee56b 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -21,7 +21,9 @@
<style name="BrowserTheme" parent="@android:Theme.Black">
<item name="android:windowBackground">@color/white</item>
<item name="android:colorBackground">#FFFFFFFF</item>
- <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextView</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextView</item>
</style>
<style name="AutoCompleteTextView">
@@ -39,7 +41,5 @@
<item name="android:windowEnterAnimation">@anim/find_dialog_enter</item>
<item name="android:windowExitAnimation">@anim/find_dialog_exit</item>
</style>
-
-
</resources>
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index aa2b2cc..bee8175 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -297,7 +297,6 @@ public class BrowserActivity extends Activity
Log.v(LOGTAG, this + " onStart");
}
super.onCreate(icicle);
- this.requestWindowFeature(Window.FEATURE_NO_TITLE);
// test the browser in OpenGL
// requestWindowFeature(Window.FEATURE_OPENGL);