summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTina Zhou <tinazh@google.com>2017-02-15 03:14:06 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-02-15 03:14:06 +0000
commit5007a93fe7a8ec27ca38c3611e7d12490ce9b790 (patch)
tree043c413aca74d1bc23727bec5d33a2b43f8af130
parent8c6fde5c85699d956d5d7469ffa949200abe151d (diff)
parenta4f35823778d16d905732e6b75b305537a43a33d (diff)
downloadplatform_cts-5007a93fe7a8ec27ca38c3611e7d12490ce9b790.tar.gz
platform_cts-5007a93fe7a8ec27ca38c3611e7d12490ce9b790.tar.bz2
platform_cts-5007a93fe7a8ec27ca38c3611e7d12490ce9b790.zip
Merge "Expanding the list view to be scrollable on watch." into nougat-mr1-cts-dev
am: a4f3582377 Change-Id: I2e082f79d69b33ffbad869a7ea3f225687365df3
-rw-r--r--apps/CtsVerifier/res/layout-watch/provisioning_byod.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/apps/CtsVerifier/res/layout-watch/provisioning_byod.xml b/apps/CtsVerifier/res/layout-watch/provisioning_byod.xml
new file mode 100644
index 00000000000..75cc90a6e19
--- /dev/null
+++ b/apps/CtsVerifier/res/layout-watch/provisioning_byod.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+<android.support.v4.widget.NestedScrollView 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="match_parent"
+ android:orientation="vertical">
+ <TextView
+ android:id="@+id/test_instructions"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="10dip"
+ android:textSize="18dip"/>
+
+ <Button
+ android:id="@+id/prepare_test_button"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ <ListView
+ android:id="@+id/android:list"
+ android:layout_width="match_parent"
+ android:layout_height="200dip"/>
+
+ <include layout="@layout/pass_fail_buttons"/>
+ </LinearLayout>
+</android.support.v4.widget.NestedScrollView>