summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-11-10 14:39:07 -0800
committerMichael Kolb <kolby@google.com>2011-11-10 14:39:07 -0800
commit4e29b3db13ca69c5fa92a146c02aa22d5730343c (patch)
tree11d1a64b89a2bdf6eeaaceaa71c031f34e4a9a95 /res/layout
parent50c04abe67ac1eebd5a07777b5395b244d90b9ac (diff)
downloadpackages_apps_Browser-4e29b3db13ca69c5fa92a146c02aa22d5730343c.zip
packages_apps_Browser-4e29b3db13ca69c5fa92a146c02aa22d5730343c.tar.gz
packages_apps_Browser-4e29b3db13ca69c5fa92a146c02aa22d5730343c.tar.bz2
Fix assets and layout for popup window
Bug: 5541275 Change-Id: If502eb17dc41d2c67806fbe66ee59c2b57a88008
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/browser_subwindow.xml27
1 files changed, 11 insertions, 16 deletions
diff --git a/res/layout/browser_subwindow.xml b/res/layout/browser_subwindow.xml
index a3868cd..a731f8d 100644
--- a/res/layout/browser_subwindow.xml
+++ b/res/layout/browser_subwindow.xml
@@ -14,34 +14,29 @@
limitations under the License.
-->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/subwindow_container"
android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <FrameLayout
+ android:layout_height="match_parent"
+ android:background="@android:drawable/dialog_frame" >
+ <LinearLayout
+ android:id="@+id/inner_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="10dip" >
- <LinearLayout
- android:id="@+id/inner_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:background="@android:drawable/dialog_frame" >
- </LinearLayout>
- </FrameLayout>
+ android:orientation="vertical" >
+ </LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="right"
+ android:background="@color/black"
android:gravity="right" >
<ImageButton android:id="@+id/subwindow_close"
android:focusable="true"
- android:padding="0dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="@android:drawable/btn_default"
- android:src="@android:drawable/ic_menu_close_clear_cancel" />
+ style="@style/HoloButton"
+ android:src="@drawable/ic_close_window_holo_dark" />
</LinearLayout>
-</RelativeLayout>
+</FrameLayout>