summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2009-09-16 15:43:22 -0700
committerGrace Kloba <klobag@google.com>2009-09-16 15:43:22 -0700
commit4ec2c4ba95cbff009ef9a219db6c673bad092a5b (patch)
tree90e42379f8c8296007379cc42a8444fea29d9a2b
parent06d352c85ef4394062fb77fd627013ae3155922c (diff)
downloadpackages_apps_browser-4ec2c4ba95cbff009ef9a219db6c673bad092a5b.zip
packages_apps_browser-4ec2c4ba95cbff009ef9a219db6c673bad092a5b.tar.gz
packages_apps_browser-4ec2c4ba95cbff009ef9a219db6c673bad092a5b.tar.bz2
Remove the shadow in the Browser. Use xml to indicate windowNoTitle.
http://b/issue?id=2125456
-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);