1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2023 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 xmlns:android="http://schemas.android.com/apk/res/android"
18    android:id="@+id/main_layout"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    xmlns:tools="http://schemas.android.com/tools"
21    android:layout_width="match_parent"
22    android:keepScreenOn="true"
23    android:layout_height="match_parent"
24    tools:context=".WallpaperEffectsDebugActivity">
25
26    <FrameLayout
27        android:id="@+id/wallpaper_layout"
28        android:layout_width="match_parent"
29        android:layout_height="match_parent"/>
30
31    <androidx.constraintlayout.widget.ConstraintLayout
32        android:id="@+id/buttons"
33        android:layout_width="match_parent"
34        android:layout_height="match_parent">
35
36        <TextView
37            android:id="@+id/output"
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            android:layout_margin="20dp"
41            android:padding="10dp"
42            android:background="#37000000"
43            android:textColor="#ffffff"
44            app:layout_constraintStart_toStartOf="parent"
45            app:layout_constraintEnd_toEndOf="parent"
46            app:layout_constraintTop_toTopOf="parent" />
47
48        <Button
49            android:id="@+id/rain"
50            android:text="@string/button_rain"
51            android:layout_width="wrap_content"
52            android:layout_height="wrap_content"
53            app:layout_constraintBottom_toTopOf="@id/fog"
54            app:layout_constraintEnd_toEndOf="parent"
55            android:layout_marginBottom="10dp"
56            android:layout_marginEnd="20dp" />
57
58        <Button
59            android:id="@+id/fog"
60            android:text="@string/button_fog"
61            android:layout_width="wrap_content"
62            android:layout_height="wrap_content"
63            app:layout_constraintBottom_toTopOf="@id/snow"
64            app:layout_constraintEnd_toEndOf="parent"
65            android:layout_marginBottom="10dp"
66            android:layout_marginEnd="20dp" />
67
68        <Button
69            android:id="@+id/snow"
70            android:text="@string/button_snow"
71            android:layout_width="wrap_content"
72            android:layout_height="wrap_content"
73            app:layout_constraintBottom_toTopOf="@id/clear"
74            app:layout_constraintEnd_toEndOf="parent"
75            android:layout_marginBottom="10dp"
76            android:layout_marginEnd="20dp" />
77
78        <Button
79            android:id="@+id/clear"
80            android:text="@string/button_clear"
81            android:layout_width="wrap_content"
82            android:layout_height="wrap_content"
83            app:layout_constraintBottom_toTopOf="@id/change_asset"
84            app:layout_constraintEnd_toEndOf="parent"
85            android:layout_marginBottom="10dp"
86            android:layout_marginEnd="20dp" />
87
88        <Button
89            android:id="@+id/change_asset"
90            android:text="@string/change_asset"
91            android:layout_width="wrap_content"
92            android:layout_height="wrap_content"
93            app:layout_constraintBottom_toTopOf="@id/set_wallpaper"
94            app:layout_constraintEnd_toEndOf="parent"
95            android:layout_marginBottom="30dp"
96            android:layout_marginEnd="20dp" />
97
98        <Button
99            android:id="@+id/set_wallpaper"
100            android:text="@string/set_wallpaper"
101            android:layout_width="wrap_content"
102            android:layout_height="wrap_content"
103            app:layout_constraintBottom_toBottomOf="parent"
104            app:layout_constraintEnd_toEndOf="parent"
105            android:layout_marginBottom="30dp"
106            android:layout_marginEnd="20dp" />
107    </androidx.constraintlayout.widget.ConstraintLayout>
108
109</FrameLayout>
110