126 lines
5.6 KiB
XML
126 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 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.
|
|
-->
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView android:id="@+id/full_screenshot"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="invisible"/>
|
|
|
|
<com.android.test.voiceinteraction.AssistVisualizer android:id="@+id/assist_visualizer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<FrameLayout android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:orientation="vertical"
|
|
android:background="#ffffffff"
|
|
android:elevation="8dp"
|
|
>
|
|
<LinearLayout android:id="@+id/top_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
>
|
|
<ImageView android:id="@+id/screenshot"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="46dp"
|
|
android:adjustViewBounds="true" />
|
|
<View android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
<CheckBox android:id="@+id/show_options"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
<Button android:id="@+id/do_tree"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/tree" />
|
|
<Button android:id="@+id/do_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/text" />
|
|
<Button android:id="@+id/start"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/start" />
|
|
</LinearLayout>
|
|
<LinearLayout android:id="@+id/options"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
>
|
|
<CheckBox android:id="@+id/disallow_structure"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Disallow context" />
|
|
<CheckBox android:id="@+id/disallow_screenshot"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Disallow screenshot" />
|
|
<TextView android:id="@+id/options_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout android:id="@+id/bottom_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="vertical"
|
|
android:background="#ffffffff"
|
|
android:elevation="8dp"
|
|
>
|
|
|
|
<TextView android:id="@+id/text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<Button android:id="@+id/confirm"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/confirm" />
|
|
<Button android:id="@+id/complete"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/complete" />
|
|
<Button android:id="@+id/abort"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/abort" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
</FrameLayout>
|