Steve Paik | 83a8b7a | 2017-10-06 17:10:14 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | android:gravity="center" |
| 18 | android:layout_height="match_parent" |
| 19 | android:layout_width="match_parent" |
| 20 | android:orientation="vertical"> |
| 21 | |
Steve Paik | 388d777 | 2018-02-12 10:54:51 -0800 | [diff] [blame^] | 22 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | android:layout_height="wrap_content" |
| 24 | android:layout_width="match_parent" |
| 25 | android:orientation="horizontal"> |
| 26 | <Button |
| 27 | android:clickable="true" |
| 28 | android:id="@+id/btnPwrShutdown" |
| 29 | android:layout_height="@dimen/powerBtnHeight" |
| 30 | android:layout_width ="@dimen/powerBtnWidth" |
| 31 | android:text="@string/power_shutdown" |
| 32 | android:textSize="@dimen/powerTextSize"/> |
Steve Paik | 83a8b7a | 2017-10-06 17:10:14 -0700 | [diff] [blame] | 33 | |
Steve Paik | 388d777 | 2018-02-12 10:54:51 -0800 | [diff] [blame^] | 34 | <Button |
| 35 | android:clickable="true" |
| 36 | android:id="@+id/btnPwrSleep" |
| 37 | android:layout_height="@dimen/powerBtnHeight" |
| 38 | android:layout_width ="@dimen/powerBtnWidth" |
| 39 | android:text="@string/power_sleep" |
| 40 | android:textSize="@dimen/powerTextSize"/> |
| 41 | </LinearLayout> |
| 42 | |
| 43 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 44 | android:layout_height="wrap_content" |
| 45 | android:layout_width="match_parent" |
| 46 | android:orientation="horizontal"> |
| 47 | |
| 48 | <Button |
| 49 | android:clickable="true" |
| 50 | android:id="@+id/btnPwrRequestShutdown" |
| 51 | android:layout_height="@dimen/powerBtnHeight" |
| 52 | android:layout_width ="@dimen/powerBtnWidth" |
| 53 | android:text="@string/power_request_shutdown" |
| 54 | android:textSize="@dimen/powerTextSize"/> |
| 55 | |
| 56 | <Button |
| 57 | android:clickable="true" |
| 58 | android:id="@+id/btnPwrGetBootReason" |
| 59 | android:layout_height="@dimen/powerBtnHeight" |
| 60 | android:layout_width ="@dimen/powerBtnWidth" |
| 61 | android:text="@string/power_get_boot_reason" |
| 62 | android:textSize="@dimen/powerTextSize"/> |
| 63 | |
| 64 | <TextView |
| 65 | android:id="@+id/tvPowerBootReason" |
| 66 | android:layout_height="@dimen/powerBtnHeight" |
| 67 | android:layout_width ="@dimen/powerBtnWidth" |
| 68 | android:layout_weight="1" |
| 69 | android:textSize="@dimen/powerTextSize"/> |
| 70 | </LinearLayout> |
Steve Paik | 83a8b7a | 2017-10-06 17:10:14 -0700 | [diff] [blame] | 71 | </LinearLayout> |