1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2019 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 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical" 23 android:padding="12dp"> 24 25 <SeekBar 26 android:id="@+id/back_sensitivity_seekbar" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:layout_gravity="center" 30 android:min="0" 31 android:max="3" 32 style="@android:style/Widget.Material.SeekBar.Discrete" 33 android:theme="@*android:style/ThemeOverlay.DeviceDefault.Accent" /> 34 35 <LinearLayout 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:orientation="horizontal" 39 android:layout_marginTop="2dp" 40 android:layout_marginBottom="8dp"> 41 42 <TextView android:id="@+id/low_tick" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:layout_weight="1" 46 android:layout_marginBottom="2dp" 47 android:layout_marginStart="12dp" 48 android:gravity="start" 49 android:text="@string/low_label" 50 android:textAppearance="?android:attr/textAppearance" 51 android:singleLine="true" 52 android:ellipsize="marquee" /> 53 54 <TextView android:id="@+id/high_tick" 55 android:layout_width="match_parent" 56 android:layout_height="wrap_content" 57 android:layout_weight="1" 58 android:layout_marginBottom="2dp" 59 android:layout_marginEnd="12dp" 60 android:gravity="end" 61 android:text="@string/high_label" 62 android:textAppearance="?android:attr/textAppearance" 63 android:singleLine="true" 64 android:ellipsize="marquee" /> 65 66 </LinearLayout> 67</LinearLayout>