diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-07-10 01:30:42 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-07-10 01:30:42 +0000 |
commit | bdbf66ece04700137cf989faba7abcb7adf5bd8e (patch) | |
tree | fae62ecfa5496d0e4b91d76eb0ad9a95cafdc077 /tests/EmbeddedKitchenSinkApp/res | |
parent | f7482de1ce502e824828aeb1bf465bd4f7e165f7 (diff) | |
parent | 9b783b02980bfabdfa618045defb9033f901a8ae (diff) | |
download | Car-bdbf66ece04700137cf989faba7abcb7adf5bd8e.tar.gz |
Merge "Add connectivity test fragment to KitchenSink" into pi-dev
Diffstat (limited to 'tests/EmbeddedKitchenSinkApp/res')
-rw-r--r-- | tests/EmbeddedKitchenSinkApp/res/layout/connectivity_fragment.xml | 55 | ||||
-rw-r--r-- | tests/EmbeddedKitchenSinkApp/res/layout/list_item.xml | 22 |
2 files changed, 77 insertions, 0 deletions
diff --git a/tests/EmbeddedKitchenSinkApp/res/layout/connectivity_fragment.xml b/tests/EmbeddedKitchenSinkApp/res/layout/connectivity_fragment.xml new file mode 100644 index 0000000000..15422b1116 --- /dev/null +++ b/tests/EmbeddedKitchenSinkApp/res/layout/connectivity_fragment.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2018 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:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <ListView + android:id="@+id/networks" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + </ListView> + </LinearLayout> + <LinearLayout + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="4dp"> + <Button android:id="@+id/networksRefresh" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Refresh"/> + <Button android:id="@+id/networkRequestOemPaid" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Request OEM-paid"/> + <Button android:id="@+id/networkRequestEth1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Request eth1"/> + <Button android:id="@+id/networkReleaseNetwork" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Release Request"/> + </LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/tests/EmbeddedKitchenSinkApp/res/layout/list_item.xml b/tests/EmbeddedKitchenSinkApp/res/layout/list_item.xml new file mode 100644 index 0000000000..f517913acb --- /dev/null +++ b/tests/EmbeddedKitchenSinkApp/res/layout/list_item.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2018 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. +--> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@android:id/text1" + android:paddingTop="2dip" + android:paddingBottom="3dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textSize="24sp" />
\ No newline at end of file |