1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2016 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<RelativeLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:tools="http://schemas.android.com/tools"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    tools:context=".MainActivity">
23
24    <ImageView
25        android:id="@+id/imageView"
26        android:layout_width="match_parent"
27        android:layout_height="match_parent"
28        android:contentDescription="@null"
29        android:scaleType="centerCrop"
30        android:src="@drawable/data"/>
31
32    <android.support.v7.widget.Toolbar
33        android:id="@+id/toolbar"
34        android:layout_width="match_parent"
35        android:layout_height="?attr/actionBarSize"
36        android:background="@color/primary_translucent"
37        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"/>
38
39    <RadioGroup
40        android:id="@+id/radioGroup1"
41        android:layout_width="wrap_content"
42        android:layout_height="wrap_content"
43        android:layout_above="@+id/seekBar1"
44        android:layout_centerHorizontal="true"
45        android:layout_marginBottom="8dp"
46        android:orientation="horizontal">
47
48        <com.example.android.renderscriptintrinsic.ThumbnailRadioButton
49            android:id="@+id/radio0"
50            android:layout_width="wrap_content"
51            android:layout_height="wrap_content"
52            android:checked="true"
53            android:text="@string/blur"/>
54
55        <com.example.android.renderscriptintrinsic.ThumbnailRadioButton
56            android:id="@+id/radio1"
57            android:layout_width="wrap_content"
58            android:layout_height="wrap_content"
59            android:text="@string/emboss"/>
60
61        <com.example.android.renderscriptintrinsic.ThumbnailRadioButton
62            android:id="@+id/radio2"
63            android:layout_width="wrap_content"
64            android:layout_height="wrap_content"
65            android:text="@string/hue"/>
66
67    </RadioGroup>
68
69    <SeekBar
70        android:id="@+id/seekBar1"
71        android:layout_width="match_parent"
72        android:layout_height="wrap_content"
73        android:layout_alignParentBottom="true"
74        android:layout_margin="16dp"/>
75
76</RelativeLayout>
77