diff options
Diffstat (limited to 'res/layout/browser_subwindow.xml')
-rw-r--r-- | res/layout/browser_subwindow.xml | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/res/layout/browser_subwindow.xml b/res/layout/browser_subwindow.xml index a3868cd..fb6fa37 100644 --- a/res/layout/browser_subwindow.xml +++ b/res/layout/browser_subwindow.xml @@ -14,34 +14,28 @@ limitations under the License. --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/subwindow_container" + android:orientation="vertical" + android:background="@android:drawable/dialog_frame" android:layout_width="match_parent" android:layout_height="match_parent" > - <FrameLayout - 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> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" + android:background="@color/black" android:layout_gravity="right" android:gravity="right" > <ImageButton android:id="@+id/subwindow_close" + style="@style/HoloButton" 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" /> + android:src="@drawable/ic_close_window_holo_dark" /> </LinearLayout> -</RelativeLayout> + <LinearLayout + android:id="@+id/inner_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" /> +</LinearLayout> |