Add Power Manager test fragment
Bug: 32061842
Test: Kitchen Sink has test fragment
Change-Id: If29397d9a74ff92ae651e0f5fb0107c9a5270a06
diff --git a/tests/EmbeddedKitchenSinkApp/res/layout/power_test.xml b/tests/EmbeddedKitchenSinkApp/res/layout/power_test.xml
new file mode 100644
index 0000000..6ad14d4
--- /dev/null
+++ b/tests/EmbeddedKitchenSinkApp/res/layout/power_test.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:gravity="center"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ android:orientation="vertical">
+
+ <Button
+ android:clickable="true"
+ android:id="@+id/btnPwrShutdown"
+ android:layout_height="@dimen/powerBtnHeight"
+ android:layout_width ="250dp"
+ android:text="@string/power_shutdown"
+ android:textSize="@dimen/powerTextSize"/>
+
+ <Button
+ android:clickable="true"
+ android:id="@+id/btnPwrSleep"
+ android:layout_height="@dimen/powerBtnHeight"
+ android:layout_width ="250dp"
+ android:text="@string/power_sleep"
+ android:textSize="@dimen/powerTextSize"/>
+</LinearLayout>