gecko-dev/mobile/android/base/resources/layout/menu_popup.xml
Sriram Ramasubramanian 0151d596c1 Bug 831402: Ability to show custom menu's PopupWindow above anchor. [r=mfinkle]
--HG--
rename : mobile/android/base/resources/drawable-hdpi/menu_popup_arrow.png => mobile/android/base/resources/drawable-hdpi/menu_popup_arrow_top.png
rename : mobile/android/base/resources/drawable-xhdpi/menu_popup_arrow.png => mobile/android/base/resources/drawable-xhdpi/menu_popup_arrow_top.png
rename : mobile/android/base/resources/drawable/menu_popup_arrow.png => mobile/android/base/resources/drawable/menu_popup_arrow_top.png
extra : rebase_source : 245a5e929b8318b334ca2461020a202442c74e39
2013-01-16 11:29:20 -08:00

38 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout android:id="@+id/menu_panel"
android:layout_width="@dimen/menu_popup_width"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:background="@drawable/menu_popup_bg">
<!-- MenuPanel will be added here dynamically -->
</RelativeLayout>
<ImageView android:id="@+id/menu_arrow_top"
android:layout_width="@dimen/menu_popup_arrow_width"
android:layout_height="12dip"
android:layout_marginRight="@dimen/menu_popup_arrow_margin"
android:layout_alignRight="@id/menu_panel"
android:src="@drawable/menu_popup_arrow_top"
android:scaleType="fitXY"/>
<ImageView android:id="@+id/menu_arrow_bottom"
android:layout_width="@dimen/menu_popup_arrow_width"
android:layout_height="12dip"
android:layout_marginRight="@dimen/menu_popup_arrow_margin"
android:layout_alignRight="@id/menu_panel"
android:layout_alignBottom="@id/menu_panel"
android:src="@drawable/menu_popup_arrow_bottom"
android:scaleType="fitXY"/>
</RelativeLayout>