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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" android:layout_height="match_parent"> 19 <LinearLayout 20 android:layout_width="match_parent" 21 android:layout_height="50dp" 22 android:layout_gravity="bottom" 23 android:layout_marginBottom="50dp" 24 android:orientation="horizontal"> 25 <LinearLayout 26 android:layout_width="100dp" 27 android:layout_height="match_parent" 28 android:gravity="center_horizontal" 29 android:orientation="vertical"> 30 <TextView 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:text="Damping Ratio:"/> 34 <TextView 35 android:id="@+id/damping_ratio_txt" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:layout_gravity="center_horizontal"/> 39 </LinearLayout> 40 <SeekBar 41 android:id="@+id/damping_ratio" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:layout_gravity="center_vertical"/> 45 </LinearLayout> 46 <LinearLayout 47 android:layout_width="match_parent" 48 android:layout_height="50dp" 49 android:layout_gravity="bottom" 50 android:orientation="horizontal"> 51 <LinearLayout 52 android:layout_width="100dp" 53 android:layout_height="match_parent" 54 android:gravity="center_horizontal" 55 android:orientation="vertical"> 56 <TextView 57 android:layout_width="wrap_content" 58 android:layout_height="wrap_content" 59 android:text="Stiffness:"/> 60 <TextView 61 android:id="@+id/stiffness_txt" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:layout_gravity="center_horizontal"/> 65 </LinearLayout> 66 <SeekBar 67 android:id="@+id/stiffness" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 android:layout_gravity="center_vertical"/> 71 </LinearLayout> 72 <LinearLayout 73 android:id="@+id/container" 74 android:layout_width="match_parent" 75 android:layout_height="match_parent" 76 android:gravity="center_horizontal" 77 android:orientation="vertical"> 78 <TextView 79 android:id="@+id/lead" 80 android:layout_width="60dp" 81 android:layout_height="60dp" 82 android:layout_margin="20dp" 83 android:background="@drawable/circle" 84 android:gravity="center" 85 android:text="Drag\n Me" 86 android:textColor="#FFFFAD"/> 87 <ImageView 88 android:id="@+id/follow1" 89 android:layout_width="60dp" 90 android:layout_height="60dp" 91 android:layout_margin="20dp" 92 android:src="@drawable/green_circle"/> 93 <ImageView 94 android:id="@+id/follow2" 95 android:layout_width="60dp" 96 android:layout_height="60dp" 97 android:layout_margin="20dp" 98 android:src="@drawable/light_green_circle"/> 99 </LinearLayout> 100</FrameLayout>