diff options
author | John Reck <jreck@google.com> | 2011-09-16 14:36:39 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-09-16 15:12:17 -0700 |
commit | aae029c3166b0f6e0179a5973c885aea118fb31b (patch) | |
tree | 8347a62c577f152c13c345dbf1189f9e40c71b21 /res/values | |
parent | b68db35d469fae510c35ef9ab0da7fe25fc88836 (diff) | |
download | packages_apps_Browser-aae029c3166b0f6e0179a5973c885aea118fb31b.zip packages_apps_Browser-aae029c3166b0f6e0179a5973c885aea118fb31b.tar.gz packages_apps_Browser-aae029c3166b0f6e0179a5973c885aea118fb31b.tar.bz2 |
Use overlay action mode
Bug: 5327408
By using actionBar: false with actionModeOverlay: true the
action mode callbacks happen before the action mode animation.
This allows us to animate down the URL bar at the same time if
needed (when the URL is being edited).
Overlay mode fixes the issue with webview being translated, which
was what caused the selection handles to move. Only the selection
handles were affected thanks to b/4982054
Change-Id: I8153de63124eb4e4d02e88637f0cf01658054a14
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/styles.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index c9cb170..361702e 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -21,9 +21,9 @@ <style name="BrowserTheme" parent="@android:Theme.Holo"> <item name="android:windowBackground">@color/white</item> <item name="android:colorBackground">#FFFFFFFF</item> - <item name="android:windowActionBar">true</item> - <item name="android:windowNoTitle">false</item> - <item name="android:windowActionBarOverlay">false</item> + <item name="android:windowActionBar">false</item> + <item name="android:windowNoTitle">true</item> + <item name="android:windowActionModeOverlay">true</item> <item name="android:actionBarStyle">@style/ActionBarStyle</item> </style> <style name="DialogWhenLarge" parent="@android:style/Theme.Holo.DialogWhenLarge" > |