Antony Sargent | 09955c3 | 2017-03-08 14:34:10 -0800 | [diff] [blame] | 1 | <?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" |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 23 | android:paddingStart="8dp" |
| 24 | android:paddingEnd="8dp"> |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 25 | |
| 26 | <FrameLayout |
Antony Sargent | 09955c3 | 2017-03-08 14:34:10 -0800 | [diff] [blame] | 27 | android:layout_width="0dp" |
| 28 | android:layout_weight="1" |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 29 | android:layout_height="wrap_content"> |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 30 | |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 31 | <Button |
| 32 | android:id="@+id/install" |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 33 | style="@style/SettingsActionButton" |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="wrap_content" |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 36 | android:paddingTop="20dp" |
| 37 | android:paddingBottom="20dp" |
| 38 | android:text="@string/install_text" |
| 39 | android:drawableTop="@drawable/ic_settings_install"/> |
| 40 | |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 41 | <Button |
| 42 | android:id="@+id/launch" |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 43 | style="@style/SettingsActionButton" |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="wrap_content" |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 46 | android:paddingTop="20dp" |
| 47 | android:paddingBottom="20dp" |
| 48 | android:text="@string/launch_instant_app" |
| 49 | android:drawableTop="@drawable/ic_settings_open"/> |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 50 | </FrameLayout> |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 51 | |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 52 | <Space |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 53 | android:layout_width="8dp" |
Doris Ling | f9ab8ea | 2018-02-20 13:36:40 -0800 | [diff] [blame] | 54 | android:layout_height="wrap_content" /> |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 55 | |
| 56 | <Button |
| 57 | android:id="@+id/clear_data" |
| 58 | style="@style/SettingsActionButton" |
Antony Sargent | 09955c3 | 2017-03-08 14:34:10 -0800 | [diff] [blame] | 59 | android:layout_width="0dp" |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 60 | android:layout_height="wrap_content" |
Antony Sargent | 09955c3 | 2017-03-08 14:34:10 -0800 | [diff] [blame] | 61 | android:layout_weight="1" |
tmfang | 787cfb3 | 2018-11-19 13:45:16 +0800 | [diff] [blame] | 62 | android:paddingTop="20dp" |
| 63 | android:paddingBottom="20dp" |
| 64 | android:text="@string/clear_instant_app_data" |
| 65 | android:drawableTop="@drawable/ic_settings_delete"/> |
| 66 | |
Antony Sargent | 09955c3 | 2017-03-08 14:34:10 -0800 | [diff] [blame] | 67 | </LinearLayout> |