1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ~ Copyright (C) 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 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 21 <include android:id="@+id/pass_fail_buttons" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:layout_alignParentBottom="true" 25 layout="@layout/pass_fail_buttons" /> 26 27 <TextView android:id="@+id/sensor_value" 28 android:background="@drawable/gray_bubble" 29 android:drawablePadding="10dip" 30 android:layout_above="@+id/sensor_accuracy_value" 31 android:layout_centerInParent="true" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:layout_marginBottom="10dip" 35 android:paddingLeft="10dip" 36 android:paddingRight="10dip" 37 android:paddingTop="5dip" 38 android:paddingBottom="5dip" 39 android:textSize="28dip" 40 /> 41 42 <TextView android:id="@+id/sensor_accuracy_value" 43 android:background="@drawable/gray_bubble" 44 android:drawablePadding="10dip" 45 android:layout_above="@+id/pass_fail_buttons" 46 android:layout_centerInParent="true" 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:layout_marginBottom="10dip" 50 android:paddingLeft="10dip" 51 android:paddingRight="10dip" 52 android:paddingTop="5dip" 53 android:paddingBottom="5dip" 54 android:textSize="28dip" 55 /> 56 57 </RelativeLayout> 58