abc_cascading_menu_item_layout.xml 1.8 KB

1234567891011
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.appcompat.view.menu.ListMenuItemView android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minWidth="196.0dip"
  3. xmlns:android="http://schemas.android.com/apk/res/android">
  4. <ImageView android:id="@id/group_divider" android:background="@drawable/abc_list_divider_material" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="4.0dip" android:layout_marginBottom="4.0dip" />
  5. <LinearLayout android:id="@id/content" android:duplicateParentState="true" android:layout_width="fill_parent" android:layout_height="?dropdownListPreferredItemHeight" style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem">
  6. <TextView android:textAppearance="?textAppearanceLargePopupMenu" android:layout_gravity="center_vertical" android:id="@id/title" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.Title" />
  7. <Space android:layout_width="0.0dip" android:layout_height="1.0dip" android:layout_weight="1.0" />
  8. <TextView android:textAppearance="?textAppearanceSmallPopupMenu" android:layout_gravity="center_vertical" android:id="@id/shortcut" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.Shortcut" />
  9. <ImageView android:layout_gravity="center" android:id="@id/submenuarrow" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.SubmenuArrow" />
  10. </LinearLayout>
  11. </androidx.appcompat.view.menu.ListMenuItemView>