123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?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=".FirmwareUpdate">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/LinearLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="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"
- tools:context=".FirmwareUpdate">
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/LinearLayout1"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="8dp"
- android:orientation="horizontal"
- tools:context=".FirmwareUpdate">
- <TextView
- android:id="@+id/show"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="5dp"
- android:layout_weight="1"
- android:ems="10"
- android:gravity="center"
- android:inputType="textPersonName"
- android:text="PID_VID"
- android:textSize="25dp"
- android:textColor="@color/text_white"/>
- <Button
- android:id="@+id/version"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="0dp"
- android:layout_marginTop="5dp"
- android:layout_marginEnd="5dp"
- android:layout_marginBottom="5dp"
- android:layout_weight="2"
- android:text="@string/readversion"
- android:textAllCaps="false"
- android:textSize="16dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </LinearLayout>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/LinearLayout2"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="8dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="8dp"
- android:orientation="horizontal"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.724"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.0"
- tools:context=".FirmwareUpdate">
- <demo.com.jay.buttondemo.DelEditText
- android:id="@+id/editsearch"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="5dp"
- android:layout_weight="20"
- android:background="@drawable/bg_frame_search"
- android:hint="@string/choosefile"
- android:maxLength="100"
- android:padding="5dp"
- android:singleLine="true" />
- <Button
- android:id="@+id/searchbutton"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="5dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="5dp"
- android:layout_weight="70"
- android:text="…"
- android:textSize="25dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </LinearLayout>
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/LinearLayout3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="8dp"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.724"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.0"
- tools:context=".FirmwareUpdate">
- <Button
- android:id="@+id/btnUpdate"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="0dp"
- android:text="@string/update"
- android:textAllCaps="false"
- android:textSize="25dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.428" />
- <Button
- android:id="@+id/btnAutoUpdate"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="8dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="8dp"
- android:text="@string/autoupdate"
- android:textAllCaps="false"
- android:textSize="25dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.428" />
- <LinearLayout
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/TextViewLinearLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="8dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="8dp"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.724"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.0"
- tools:context=".FirmwareUpdate">
- <EditText
- android:id="@+id/error"
- android:layout_width="match_parent"
- android:layout_height="240dp"
- android:layout_marginStart="0dp"
- android:layout_marginTop="0dp"
- android:background="@drawable/bg_frame_search"
- android:text=""
- android:textSize="20dp" />
- <TextView
- android:id="@+id/updataresult"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:text=""
- android:textSize="25dp"
- android:textColor="@color/back_red"/>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </android.support.constraint.ConstraintLayout>
|