longpress_cling.xml 940 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:launcher="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/longpress_cling"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. launcher:layout_ignoreInsets="true"
  8. android:background="@color/cling_scrim_background"
  9. android:orientation="vertical" >
  10. <Space
  11. android:layout_width="match_parent"
  12. android:layout_height="0dp"
  13. android:layout_weight="1" />
  14. <FrameLayout
  15. android:id="@+id/cling_content"
  16. android:layout_width="360dp"
  17. android:layout_height="wrap_content"
  18. android:layout_gravity="center_horizontal"
  19. android:background="@drawable/cling_bg" />
  20. <Space
  21. android:layout_width="match_parent"
  22. android:layout_height="0dp"
  23. android:layout_weight="2" />
  24. </LinearLayout>