blob: ef5664efb2b55dbcc4e77feea150da1a8f2c1ba5 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 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.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/RootLayoutPadding"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- Install test app -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/fs_test_app_install_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="10dip"
android:padding="10dip"/>
<TextView
android:id="@+id/fs_test_app_install_instructions"
style="@style/InstructionsSmallFont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_toRightOf="@id/fs_test_app_install_status"
android:layout_marginTop="10dip"
android:text="@string/fs_test_app_install_instructions"/>
</RelativeLayout>
<!-- Launch test activity -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/fs_test_app_launch_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="10dip"
android:padding="10dip"/>
<TextView
android:id="@+id/fs_test_app_launch_instructions"
style="@style/InstructionsSmallFont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_toRightOf="@id/fs_test_app_launch_status"
android:layout_marginTop="10dip"
android:text="@string/fs_test_app_launch_instructions"/>
<Button
android:id="@+id/fs_launch_test_app_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@id/fs_test_app_launch_instructions"
android:layout_marginTop="10dip"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
android:layout_toRightOf="@id/fs_test_app_launch_status"
android:text="@string/fs_launch_test_app_button_text"/>
</RelativeLayout>
<!-- Remove test activity task from recents -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/fs_test_app_recents_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="10dip"
android:padding="10dip"
android:visibility="visible"/>
<TextView
android:id="@+id/fs_test_app_recents_instructions"
style="@style/InstructionsSmallFont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_toRightOf="@id/fs_test_app_recents_status"
android:layout_marginTop="10dip"
android:visibility="visible"
android:text="@string/fs_test_app_recents_instructions"/>
</RelativeLayout>
<!-- Verify that app wasn't force-stopped -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/fs_force_stop_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="10dip"
android:visibility="gone"
android:padding="10dip"/>
<TextView
android:id="@+id/fs_force_stop_verification"
style="@style/InstructionsSmallFont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_toRightOf="@id/fs_force_stop_status"
android:layout_marginTop="10dip"
android:visibility="gone"
android:text="@string/fs_force_stop_verification_pending"/>
</RelativeLayout>
</LinearLayout>
<include android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
layout="@layout/pass_fail_buttons"/>
</RelativeLayout>