| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright (C) 2011 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| <ImageView |
| android:id="@+id/global_screenshot_background" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:src="@android:color/black" |
| android:visibility="gone"/> |
| <ImageView |
| android:id="@+id/global_screenshot_actions_background" |
| android:layout_height="400dp" |
| android:layout_width="match_parent" |
| android:layout_gravity="bottom|center" |
| android:src="@drawable/screenshot_actions_background_protection" |
| android:alpha="0"/> |
| <HorizontalScrollView |
| android:id="@+id/global_screenshot_actions_container" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="bottom|center" |
| android:elevation="3dp" |
| android:fillViewport="true" |
| android:layout_marginHorizontal="@dimen/screenshot_action_container_margin_horizontal" |
| android:gravity="center" |
| android:paddingLeft="@dimen/screenshot_action_container_padding_left" |
| android:paddingRight="@dimen/screenshot_action_container_padding_right" |
| android:paddingVertical="@dimen/screenshot_action_container_padding_vertical" |
| android:visibility="gone" |
| android:scrollbars="none" |
| android:background="@drawable/action_chip_container_background"> |
| <LinearLayout |
| android:id="@+id/global_screenshot_actions" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content"/> |
| </HorizontalScrollView> |
| <ImageView |
| android:id="@+id/global_screenshot" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:elevation="@dimen/screenshot_preview_elevation" |
| android:visibility="gone" |
| android:background="@drawable/screenshot_rounded_corners" |
| android:adjustViewBounds="true"/> |
| <FrameLayout |
| android:id="@+id/global_screenshot_dismiss_button" |
| android:layout_width="@dimen/screenshot_dismiss_button_tappable_size" |
| android:layout_height="@dimen/screenshot_dismiss_button_tappable_size" |
| android:elevation="9dp" |
| android:visibility="gone"> |
| <ImageView |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_margin="@dimen/screenshot_dismiss_button_margin" |
| android:src="@drawable/screenshot_cancel"/> |
| </FrameLayout> |
| <ImageView |
| android:id="@+id/global_screenshot_flash" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:src="@android:color/white" |
| android:visibility="gone"/> |
| <com.android.systemui.screenshot.ScreenshotSelectorView |
| android:id="@+id/global_screenshot_selector" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:visibility="gone" |
| android:pointerIcon="crosshair"/> |
| |
| </FrameLayout> |