102 lines
4.3 KiB
XML
102 lines
4.3 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
|
||
|
|
<!-- Copyright (C) 2010 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:layout_width="fill_parent"
|
||
|
|
android:layout_height="fill_parent"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ListView android:id="@+id/listview"
|
||
|
|
android:layout_width="fill_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
</ListView>
|
||
|
|
|
||
|
|
<EditText android:id="@+id/edittext"
|
||
|
|
android:text="@string/text_input_blah"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:accessibilityHeading="true"
|
||
|
|
android:layout_width="fill_parent"
|
||
|
|
android:accessibilityTraversalAfter="@+id/buttonWithTooltip">
|
||
|
|
</EditText>
|
||
|
|
|
||
|
|
<LinearLayout android:id="@+id/containerView"
|
||
|
|
android:contentDescription="@string/container_desc"
|
||
|
|
android:layout_width="fill_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center">
|
||
|
|
<LinearLayout android:id="@+id/adsView"
|
||
|
|
android:contentDescription="@string/ads_desc"
|
||
|
|
android:accessibilityDataSensitive="yes"
|
||
|
|
android:layout_width="fill_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center">
|
||
|
|
<LinearLayout android:id="@+id/innerContainerView"
|
||
|
|
android:contentDescription="@string/inner_container_desc"
|
||
|
|
android:layout_width="fill_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center">
|
||
|
|
<Button android:id="@+id/innerView"
|
||
|
|
android:contentDescription="@string/inner_desc"
|
||
|
|
android:text="@string/inner_title"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginRight="60dp"
|
||
|
|
android:bufferType="normal">
|
||
|
|
</Button>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout android:id="@+id/buttonLayout"
|
||
|
|
android:layout_width="fill_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center">
|
||
|
|
<Button android:id="@+id/button"
|
||
|
|
android:text="@string/button_title"
|
||
|
|
android:accessibilityPaneTitle="@string/paneTitle"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginRight="60dp"
|
||
|
|
android:bufferType="normal">
|
||
|
|
</Button>
|
||
|
|
<Button android:id="@id/buttonWithTooltip"
|
||
|
|
android:text="@string/button_title"
|
||
|
|
android:tooltipText="@string/button_tooltip"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:bufferType="normal"
|
||
|
|
android:accessibilityTraversalBefore="@id/edittext">
|
||
|
|
</Button>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout android:layout_width="fill_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center">
|
||
|
|
<TextView android:id="@+id/delegateText"
|
||
|
|
android:text="@string/text_input_blah"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
</TextView>
|
||
|
|
<Button android:id="@+id/buttonDelegated"
|
||
|
|
android:text="@string/button_title"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
</Button>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|