Steve Kondik | 4ecd7e5 | 2016-09-08 14:47:47 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2015 The CyanogenMod 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 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent"> |
| 20 | |
| 21 | <RelativeLayout |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent" |
| 24 | android:gravity="center_horizontal" |
| 25 | android:paddingStart="20dip" |
| 26 | android:paddingEnd="20dip" |
| 27 | android:paddingBottom="20dip"> |
| 28 | |
| 29 | <TextView android:id="@+id/day_temperature_text" |
| 30 | android:layout_width="wrap_content" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:text="@string/live_display_day" |
| 33 | android:paddingTop="10dip" /> |
| 34 | <TextView android:id="@+id/day_temperature_value" |
| 35 | android:layout_width="wrap_content" |
| 36 | android:layout_height="wrap_content" |
| 37 | android:layout_alignParentRight="true" |
| 38 | android:paddingTop="10dip" /> |
| 39 | <SeekBar android:id="@+id/day_temperature_seekbar" |
| 40 | android:layout_width="match_parent" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_below="@id/day_temperature_text" |
| 43 | android:paddingTop="2dip" /> |
| 44 | |
| 45 | <TextView android:id="@+id/night_temperature_text" |
| 46 | android:layout_width="wrap_content" |
| 47 | android:layout_height="wrap_content" |
| 48 | android:layout_below="@id/day_temperature_seekbar" |
| 49 | android:text="@string/live_display_night" |
| 50 | android:paddingTop="10dip" /> |
| 51 | <TextView android:id="@+id/night_temperature_value" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_below="@id/day_temperature_seekbar" |
| 55 | android:layout_alignParentRight="true" |
| 56 | android:paddingTop="10dip" /> |
| 57 | <SeekBar android:id="@+id/night_temperature_seekbar" |
| 58 | android:layout_width="match_parent" |
| 59 | android:layout_height="wrap_content" |
| 60 | android:layout_below="@id/night_temperature_text" |
| 61 | android:paddingTop="2dip" /> |
| 62 | |
| 63 | <ImageView android:id="@+id/black_scale_picture_color" |
| 64 | android:src="@drawable/color_temperature_preview" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="40dip" |
| 67 | android:layout_below="@id/night_temperature_seekbar" |
| 68 | android:paddingTop="20dip" /> |
| 69 | |
| 70 | </RelativeLayout> |
| 71 | </ScrollView> |