123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#778899"
- tools:context=".UsbSetting">
- <LinearLayout
- android:id="@+id/LinearLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="1.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.0"
- tools:context=".UsbSetting">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:background="#FFFFFF">
- <TextView
- android:id="@+id/tvusbsetting"
- android:layout_width="match_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1.0"
- android:gravity="center"
- android:text="Usb Setting"
- android:textColor="#000000" />
- </LinearLayout>
- <ImageView
- android:id="@+id/img_cursor"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:scaleType="matrix"
- android:src="@mipmap/line" />
- <android.support.v4.view.ViewPager
- android:id="@+id/vpagercfg"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:flipInterval="30"
- android:persistentDrawingCache="animation" />
- <LinearLayout
- android:id="@+id/buttonLinearLayout"
- android:layout_width="match_parent"
- android:layout_height="150dp"
- android:layout_marginTop="1dp"
- android:background="@android:color/white"
- android:baselineAligned="false"
- android:orientation="vertical"
- tools:context=".UsbSetting">
- <LinearLayout
- android:id="@+id/LinearLayout2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- tools:context=".UsbSetting">
- <TextView
- android:id="@+id/show"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="8dp"
- android:ems="10"
- android:inputType="textMultiLine"
- android:text=""
- android:textColor="@color/back_red" />
- <LinearLayout xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/SaveCfgLinearLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- tools:context=".UsbSetting">
- </LinearLayout>
- </LinearLayout>
- <LinearLayout xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/LinearLayout3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- tools:context=".UsbSetting">
- <TextView
- android:id="@+id/venderid"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="0dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="0dp"
- android:layout_marginBottom="8dp"
- android:layout_weight="1"
- android:ems="10"
- android:gravity="center"
- android:inputType="textMultiLine"
- android:text="VenderID"
- android:textColor="@color/back_red"
- android:textSize="18dp" />
- <Button
- android:id="@+id/readcfg"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="0dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="0dp"
- android:layout_marginBottom="8dp"
- android:layout_weight="1"
- android:text="@string/read"
- android:textAllCaps="false"
- android:textSize="22dp" />
- <Button
- android:id="@+id/sendcfg"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="0dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="0dp"
- android:layout_marginBottom="8dp"
- android:layout_weight="1"
- android:text="@string/send"
- android:textAllCaps="false"
- android:textSize="22dp" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </android.support.constraint.ConstraintLayout>
|