1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2019 The Chromium Authors. All rights reserved.
3     Use of this source code is governed by a BSD-style license that can be
4     found in the LICENSE file.
5-->
6
7<LinearLayout
8    xmlns:android="http://schemas.android.com/apk/res/android"
9    android:layout_width="match_parent"
10    android:layout_height="match_parent"
11    android:orientation="vertical">
12    <LinearLayout
13        android:layout_width="match_parent"
14        android:layout_height="wrap_content">
15        <Button
16            android:id="@+id/translate"
17            android:layout_width="wrap_content"
18            android:layout_height="wrap_content"
19            android:text="@string/translate_button" />
20        <Button
21            android:id="@+id/scale"
22            android:layout_width="wrap_content"
23            android:layout_height="wrap_content"
24            android:text="@string/scale_button" />
25        <Button
26            android:id="@+id/rotate"
27            android:layout_width="wrap_content"
28            android:layout_height="wrap_content"
29            android:text="@string/rotate_button" />
30        <CheckBox
31            android:id="@+id/use_layer"
32            android:layout_width="wrap_content"
33            android:layout_height="wrap_content"
34            android:checked="false"
35            android:text="@string/layer_button" />
36    </LinearLayout>
37    <LinearLayout
38        android:layout_width="match_parent"
39        android:layout_height="wrap_content">
40        <TextView
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:text="@string/alpha_button"
44            android:layout_gravity="center_vertical" />
45        <SeekBar
46            android:id="@+id/view_alpha"
47            android:layout_width="0dp"
48            android:layout_height="wrap_content"
49            android:layout_weight="1"
50            android:max="100"
51            android:progress="100"
52            android:layout_marginStart="4dp"
53            android:layout_marginEnd="8dp" />
54    </LinearLayout>
55    <FrameLayout
56        android:layout_width="match_parent"
57        android:layout_height="0dip"
58        android:layout_weight="1">
59        <WebView
60            android:id="@+id/webview"
61            android:layout_width="300dp"
62            android:layout_height="300dp"
63            android:layout_gravity="center" />
64    </FrameLayout>
65</LinearLayout>
66