1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2019 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<com.android.systemui.screenshot.ScreenshotActionChip
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@+id/global_screenshot_action_chip"
20    android:layout_width="wrap_content"
21    android:layout_height="wrap_content"
22    android:layout_marginStart="@dimen/screenshot_action_chip_margin_start"
23    android:paddingVertical="@dimen/screenshot_action_chip_margin_vertical"
24    android:layout_gravity="center"
25    android:gravity="center"
26    android:alpha="0.0">
27    <LinearLayout
28        android:layout_width="wrap_content"
29        android:layout_height="wrap_content"
30        android:paddingVertical="@dimen/screenshot_action_chip_padding_vertical"
31        android:background="@drawable/action_chip_background"
32        android:gravity="center">
33        <ImageView
34            android:id="@+id/screenshot_action_chip_icon"
35            android:tint="?android:attr/textColorPrimary"
36            android:layout_width="@dimen/screenshot_action_chip_icon_size"
37            android:layout_height="@dimen/screenshot_action_chip_icon_size"/>
38        <TextView
39            android:id="@+id/screenshot_action_chip_text"
40            android:layout_width="wrap_content"
41            android:layout_height="wrap_content"
42            android:fontFamily="@*android:string/config_headlineFontFamilyMedium"
43            android:textSize="@dimen/screenshot_action_chip_text_size"
44            android:textColor="?android:attr/textColorPrimary"/>
45    </LinearLayout>
46</com.android.systemui.screenshot.ScreenshotActionChip>
47