blob: 24b08bb2615d9345bb561de3a0f228b3ad0b9aa5 [file] [log] [blame]
Antony Sargent09955c32017-03-08 14:34:10 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2017 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
18<LinearLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/instant_app_button_container"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
tmfang787cfb32018-11-19 13:45:16 +080023 android:paddingStart="8dp"
24 android:paddingEnd="8dp">
Doris Lingf9ab8ea2018-02-20 13:36:40 -080025
26 <FrameLayout
Antony Sargent09955c32017-03-08 14:34:10 -080027 android:layout_width="0dp"
28 android:layout_weight="1"
Doris Lingf9ab8ea2018-02-20 13:36:40 -080029 android:layout_height="wrap_content">
tmfang787cfb32018-11-19 13:45:16 +080030
Doris Lingf9ab8ea2018-02-20 13:36:40 -080031 <Button
32 android:id="@+id/install"
tmfang787cfb32018-11-19 13:45:16 +080033 style="@style/SettingsActionButton"
Doris Lingf9ab8ea2018-02-20 13:36:40 -080034 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
tmfang787cfb32018-11-19 13:45:16 +080036 android:paddingTop="20dp"
37 android:paddingBottom="20dp"
38 android:text="@string/install_text"
39 android:drawableTop="@drawable/ic_settings_install"/>
40
Doris Lingf9ab8ea2018-02-20 13:36:40 -080041 <Button
42 android:id="@+id/launch"
tmfang787cfb32018-11-19 13:45:16 +080043 style="@style/SettingsActionButton"
Doris Lingf9ab8ea2018-02-20 13:36:40 -080044 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
tmfang787cfb32018-11-19 13:45:16 +080046 android:paddingTop="20dp"
47 android:paddingBottom="20dp"
48 android:text="@string/launch_instant_app"
49 android:drawableTop="@drawable/ic_settings_open"/>
Doris Lingf9ab8ea2018-02-20 13:36:40 -080050 </FrameLayout>
tmfang787cfb32018-11-19 13:45:16 +080051
Doris Lingf9ab8ea2018-02-20 13:36:40 -080052 <Space
tmfang787cfb32018-11-19 13:45:16 +080053 android:layout_width="8dp"
Doris Lingf9ab8ea2018-02-20 13:36:40 -080054 android:layout_height="wrap_content" />
tmfang787cfb32018-11-19 13:45:16 +080055
56 <Button
57 android:id="@+id/clear_data"
58 style="@style/SettingsActionButton"
Antony Sargent09955c32017-03-08 14:34:10 -080059 android:layout_width="0dp"
tmfang787cfb32018-11-19 13:45:16 +080060 android:layout_height="wrap_content"
Antony Sargent09955c32017-03-08 14:34:10 -080061 android:layout_weight="1"
tmfang787cfb32018-11-19 13:45:16 +080062 android:paddingTop="20dp"
63 android:paddingBottom="20dp"
64 android:text="@string/clear_instant_app_data"
65 android:drawableTop="@drawable/ic_settings_delete"/>
66
Antony Sargent09955c32017-03-08 14:34:10 -080067</LinearLayout>