maxwen | 6206ccd | 2017-05-25 15:38:34 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 The OmniROM Project |
| 3 | |
| 4 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by |
| 6 | the Free Software Foundation, either version 2 of the License, or |
| 7 | (at your option) any later version. |
| 8 | |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | --> |
| 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
| 20 | android:orientation="vertical" > |
| 21 | |
| 22 | <RelativeLayout |
| 23 | android:id="@+id/idle_config" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:orientation="horizontal"> |
| 27 | |
| 28 | <ImageView |
| 29 | android:id="@+id/idle_config_image" |
| 30 | android:layout_width="wrap_content" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:src="@drawable/ic_info" |
| 33 | android:layout_alignParentLeft="true" |
| 34 | android:layout_centerVertical="true"/> |
| 35 | |
| 36 | <TextView |
| 37 | android:id="@+id/idle_config_text" |
| 38 | android:layout_width="wrap_content" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:layout_toRightOf="@id/idle_config_image" |
| 41 | android:paddingLeft="5dp" |
maxwen | 0e3bc7b | 2017-08-18 01:47:41 +0200 | [diff] [blame] | 42 | android:layout_centerVertical="true" |
| 43 | android:textColor="?android:attr/textColorPrimary" /> |
maxwen | 6206ccd | 2017-05-25 15:38:34 +0200 | [diff] [blame] | 44 | |
| 45 | <EditText |
| 46 | android:id="@+id/idle_config_edit" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:layout_alignParentRight="true" |
| 50 | android:inputType="number" |
| 51 | android:layout_centerVertical="true"/> |
| 52 | |
| 53 | </RelativeLayout> |
| 54 | </LinearLayout> |