1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2014 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:tools="http://schemas.android.com/tools"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical"
22    android:paddingBottom="@dimen/activity_vertical_margin"
23    android:paddingLeft="@dimen/activity_horizontal_margin"
24    android:paddingRight="@dimen/activity_horizontal_margin"
25    android:paddingTop="@dimen/activity_vertical_margin"
26    tools:context="com.example.android.basictransition.BasicTransitionFragment">
27
28    <RadioGroup
29        android:id="@+id/select_scene"
30        android:layout_width="match_parent"
31        android:layout_height="wrap_content"
32        android:layout_gravity="center_horizontal"
33        android:orientation="horizontal">
34
35        <TextView
36            android:layout_width="wrap_content"
37            android:layout_height="wrap_content"
38            android:layout_weight="1"
39            android:text="@string/scene"/>
40
41        <RadioButton
42            android:id="@+id/select_scene_1"
43            android:layout_width="wrap_content"
44            android:layout_height="wrap_content"
45            android:layout_weight="1"
46            android:checked="true"
47            android:text="@string/scene_1"/>
48
49        <RadioButton
50            android:id="@+id/select_scene_2"
51            android:layout_width="wrap_content"
52            android:layout_height="wrap_content"
53            android:layout_weight="1"
54            android:text="@string/scene_2"/>
55
56        <RadioButton
57            android:id="@+id/select_scene_3"
58            android:layout_width="wrap_content"
59            android:layout_height="wrap_content"
60            android:layout_weight="1"
61            android:text="@string/scene_3"/>
62
63        <RadioButton
64            android:id="@+id/select_scene_4"
65            android:layout_width="wrap_content"
66            android:layout_height="wrap_content"
67            android:layout_weight="1"
68            android:text="@string/scene_4"/>
69
70    </RadioGroup>
71
72    <FrameLayout
73        android:id="@+id/scene_root"
74        android:layout_width="match_parent"
75        android:layout_height="0dp"
76        android:layout_weight="1">
77
78        <include layout="@layout/scene1"/>
79
80    </FrameLayout>
81
82</LinearLayout>