gecko-dev/mobile/android/base/resources/layout/arrow_popup.xml

32 lines
1.3 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/. -->
<view class="org.mozilla.gecko.widget.ArrowPopup$ArrowPopupLayout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ScrollView android:layout_width="?attr/arrowPopupWidth"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="@drawable/arrow_popup_bg">
<LinearLayout android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"/>
</ScrollView>
<ImageView android:id="@+id/arrow"
android:layout_width="@dimen/arrow_popup_arrow_width"
android:layout_height="12dip"
android:layout_marginLeft="20dip"
android:layout_alignParentTop="true"
android:src="@drawable/menu_popup_arrow_top"
android:scaleType="fitXY"/>
</view>