Bug: 147423001 Test: tested behavior both in old and new flows (no change to notifications flow; visual changes to new flow) Change-Id: If3a170c73609edb4f74db81b9109d83cc160b206
76 lines
3.2 KiB
XML
76 lines
3.2 KiB
XML
<?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="8dp"
|
|
android:visibility="gone"
|
|
android:background="@drawable/screenshot_rounded_corners"
|
|
android:adjustViewBounds="true"/>
|
|
<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>
|