1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2011 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17<FrameLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/global_screenshot_frame" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent"> 22 <ImageView 23 android:id="@+id/global_screenshot_actions_background" 24 android:layout_height="@dimen/screenshot_bg_protection_height" 25 android:layout_width="match_parent" 26 android:layout_gravity="bottom" 27 android:alpha="0.0" 28 android:src="@drawable/screenshot_actions_background_protection"/> 29 <ImageView 30 android:id="@+id/global_screenshot_animated_view" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:layout_gravity="top|start" 34 android:visibility="gone" 35 android:elevation="@dimen/screenshot_preview_elevation" 36 android:background="@drawable/screenshot_rounded_corners" /> 37 <ImageView 38 android:id="@+id/global_screenshot_flash" 39 android:layout_width="match_parent" 40 android:layout_height="match_parent" 41 android:visibility="gone" 42 android:elevation="@dimen/screenshot_preview_elevation" 43 android:src="@android:color/white"/> 44 <com.android.systemui.screenshot.ScreenshotSelectorView 45 android:id="@+id/global_screenshot_selector" 46 android:layout_width="match_parent" 47 android:layout_height="match_parent" 48 android:visibility="gone" 49 android:pointerIcon="crosshair"/> 50 <include layout="@layout/global_screenshot_static"/> 51 <FrameLayout 52 android:id="@+id/global_screenshot_dismiss_button" 53 android:layout_width="@dimen/screenshot_dismiss_button_tappable_size" 54 android:layout_height="@dimen/screenshot_dismiss_button_tappable_size" 55 android:elevation="7dp" 56 android:visibility="gone" 57 android:contentDescription="@string/screenshot_dismiss_ui_description"> 58 <ImageView 59 android:id="@+id/global_screenshot_dismiss_image" 60 android:layout_width="match_parent" 61 android:layout_height="match_parent" 62 android:layout_margin="@dimen/screenshot_dismiss_button_margin" 63 android:src="@drawable/screenshot_cancel"/> 64 </FrameLayout> 65</FrameLayout> 66