summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTina Zhou <tinazh@google.com>2017-02-15 03:10:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-02-15 03:10:26 +0000
commita4f35823778d16d905732e6b75b305537a43a33d (patch)
tree73e6a1a6e97130226994fcfa4116f5e70bc0e123
parentbaa6894eebba130cf990c2cadd267a4725969340 (diff)
parent9a551d71651061ae9759ea189100cba2b55bf918 (diff)
downloadplatform_cts-a4f35823778d16d905732e6b75b305537a43a33d.tar.gz
platform_cts-a4f35823778d16d905732e6b75b305537a43a33d.tar.bz2
platform_cts-a4f35823778d16d905732e6b75b305537a43a33d.zip
Merge "Expanding the list view to be scrollable on watch." into nougat-mr1-cts-dev
-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>