170 lines
6.0 KiB
XML
170 lines
6.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2019 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.
|
|
-->
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/vehicle_ctrl_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top" />
|
|
|
|
<LinearLayout
|
|
android:tag="Doors/windows"
|
|
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">
|
|
|
|
<TextView
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="Front left window:" />
|
|
|
|
<Button android:id="@+id/winFLOpen"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Open" />
|
|
|
|
<Button android:id="@+id/winFLClose"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Close" />
|
|
|
|
<TextView android:id="@+id/winFLPos"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="Front right window:" />
|
|
|
|
<Button android:id="@+id/winFROpen"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Open" />
|
|
|
|
<Button android:id="@+id/winFRClose"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Close" />
|
|
|
|
<TextView android:id="@+id/winFRPos"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="Rear left window:" />
|
|
|
|
<Button android:id="@+id/winRLOpen"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Open" />
|
|
|
|
<Button android:id="@+id/winRLClose"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Close" />
|
|
|
|
<TextView android:id="@+id/winRLPos"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="Rear right window:" />
|
|
|
|
<Button android:id="@+id/winRROpen"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Open" />
|
|
|
|
<Button android:id="@+id/winRRClose"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Close" />
|
|
|
|
<TextView android:id="@+id/winRRPos"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:tag="Prop test"
|
|
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">
|
|
|
|
<TextView
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="PROTOCAN_TEST" />
|
|
|
|
<Button android:id="@+id/protocan_test_on"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="ON" />
|
|
|
|
<Button android:id="@+id/protocan_test_off"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="OFF" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.viewpager.widget.ViewPager>
|