| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
<FrameLayout |
| 18 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 |
android:id="@+id/background" |
| 20 |
android:layout_width="match_parent" |
| 21 |
android:layout_height="match_parent"> |
| 22 |
|
| 23 |
|
| 24 |
<FrameLayout |
| 25 |
android:id="@+id/menu_container" |
| 26 |
android:layout_width="match_parent" |
| 27 |
android:layout_height="match_parent" |
| 28 |
android:forceHasOverlappingRendering="false" |
| 29 |
android:accessibilityTraversalAfter="@id/dismiss"> |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
<FrameLayout |
| 34 |
android:id="@+id/expand_container" |
| 35 |
android:layout_width="match_parent" |
| 36 |
android:layout_height="match_parent"> |
| 37 |
<ImageButton |
| 38 |
android:id="@+id/expand_button" |
| 39 |
android:layout_width="@dimen/pip_expand_action_size" |
| 40 |
android:layout_height="@dimen/pip_expand_action_size" |
| 41 |
android:layout_gravity="center" |
| 42 |
android:contentDescription="@string/pip_phone_expand" |
| 43 |
android:gravity="center" |
| 44 |
android:src="@drawable/pip_expand" |
| 45 |
android:background="?android:selectableItemBackgroundBorderless" /> |
| 46 |
</FrameLayout> |
| 47 |
|
| 48 |
<FrameLayout |
| 49 |
android:id="@+id/actions_container" |
| 50 |
android:layout_width="match_parent" |
| 51 |
android:layout_height="@dimen/pip_action_size" |
| 52 |
android:layout_gravity="bottom" |
| 53 |
android:visibility="invisible"> |
| 54 |
<LinearLayout |
| 55 |
android:id="@+id/actions_group" |
| 56 |
android:layout_width="wrap_content" |
| 57 |
android:layout_height="match_parent" |
| 58 |
android:layout_gravity="center_horizontal" |
| 59 |
android:orientation="horizontal" |
| 60 |
android:divider="@android:color/transparent" |
| 61 |
android:showDividers="middle" /> |
| 62 |
</FrameLayout> |
| 63 |
</FrameLayout> |
| 64 |
|
| 65 |
<LinearLayout |
| 66 |
android:id="@+id/top_end_container" |
| 67 |
android:layout_gravity="top|end" |
| 68 |
android:layout_width="match_parent" |
| 69 |
android:layout_height="wrap_content" |
| 70 |
android:orientation="horizontal"> |
| 71 |
|
| 72 |
<ImageButton |
| 73 |
android:id="@+id/settings" |
| 74 |
android:layout_width="@dimen/pip_action_size" |
| 75 |
android:layout_height="@dimen/pip_action_size" |
| 76 |
android:contentDescription="@string/pip_phone_settings" |
| 77 |
android:layout_gravity="top|start" |
| 78 |
android:gravity="center" |
| 79 |
android:src="@drawable/pip_ic_settings" |
| 80 |
android:background="?android:selectableItemBackgroundBorderless" /> |
| 81 |
|
| 82 |
<ImageButton |
| 83 |
android:id="@+id/enter_split" |
| 84 |
android:layout_width="@dimen/pip_split_icon_size" |
| 85 |
android:layout_height="@dimen/pip_split_icon_size" |
| 86 |
android:layout_gravity="top|start" |
| 87 |
android:layout_margin="@dimen/pip_split_icon_margin" |
| 88 |
android:gravity="center" |
| 89 |
android:contentDescription="@string/pip_phone_enter_split" |
| 90 |
android:src="@drawable/pip_split" |
| 91 |
android:background="?android:selectableItemBackgroundBorderless" /> |
| 92 |
</LinearLayout> |
| 93 |
|
| 94 |
|
| 95 |
<ImageButton |
| 96 |
android:id="@+id/resize_handle" |
| 97 |
android:layout_width="@dimen/pip_resize_handle_size" |
| 98 |
android:layout_height="@dimen/pip_resize_handle_size" |
| 99 |
android:layout_gravity="top|start" |
| 100 |
android:layout_margin="@dimen/pip_resize_handle_margin" |
| 101 |
android:padding="@dimen/pip_resize_handle_padding" |
| 102 |
android:src="@drawable/pip_resize_handle" |
| 103 |
android:background="?android:selectableItemBackgroundBorderless" /> |
| 104 |
|
| 105 |
<ImageButton |
| 106 |
android:id="@+id/dismiss" |
| 107 |
android:layout_width="@dimen/pip_action_size" |
| 108 |
android:layout_height="@dimen/pip_action_size" |
| 109 |
android:contentDescription="@string/pip_phone_close" |
| 110 |
android:layout_gravity="top|end" |
| 111 |
android:gravity="center" |
| 112 |
android:src="@drawable/pip_ic_close_white" |
| 113 |
android:background="?android:selectableItemBackgroundBorderless" /> |
| 114 |
</FrameLayout> |