You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SZXBGJ/app/src/main/res/layout/activity_tyresearch.xml

310 lines
12 KiB
XML

2 months ago
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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"
1 week ago
2 months ago
tools:context=".TestActivity">
<TextView
android:id="@+id/textView2"
style="@style/tablebarStyleTwo"
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="轮胎信息"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/linearLayout2"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_marginStart="8dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="18dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView2">
<TextView
style="@style/alltext"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="2"
android:text="EPC:" />
<TextView
android:id="@+id/in_santext"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
android:textSize="15sp"
android:textColor="@color/black"
android:background="@drawable/bg_santex_coppy"
android:gravity="center" />
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="520dp"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="20dp"
android:background="@drawable/bg_santex_coppy"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout2">
1 week ago
2 months ago
<Button
android:id="@+id/basemessage"
android:layout_width="match_parent"
1 week ago
android:layout_height="45dp"
2 months ago
android:background="@color/xuebai"
android:textSize="18sp"
1 week ago
android:text="基本信息"/>
2 months ago
<LinearLayout
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_marginTop="50dp"
android:orientation="vertical">
<!--<LinearLayout-->
<!--android:id="@+id/linearLayout1"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="40dp"-->
<!--android:layout_marginEnd="8dp"-->
<!--android:layout_marginStart="8dp"-->
<!--android:orientation="horizontal"-->
<!--app:layout_constraintEnd_toEndOf="parent"-->
<!--app:layout_constraintStart_toStartOf="parent"-->
<!--app:layout_constraintTop_toBottomOf="@+id/linearLayout3">-->
<!--<TextView-->
<!--style="@style/alltext"-->
<!--android:layout_width="105dp"-->
<!--android:layout_height="match_parent"-->
<!--android:text="外胎码:" />-->
<!--<TextView-->
<!--android:id="@+id/wtbm"-->
<!--style="@style/infotext"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent" />-->
<!--</LinearLayout>-->
<LinearLayout
android:id="@+id/linearLayout4"
android:layout_width="match_parent"
android:layout_height="80dp"
2 months ago
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout3">
<TextView
style="@style/alltext"
android:layout_width="105dp"
android:layout_height="match_parent"
android:textSize="23sp"
android:text="品 牌:" />
<TextView
android:id="@+id/pinpai"
style="@style/infotext"
android:textSize="23sp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayout9"
android:layout_width="match_parent"
android:layout_height="80dp"
2 months ago
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout3">
<TextView
style="@style/alltext"
android:layout_width="105dp"
android:layout_height="match_parent"
android:textSize="23sp"
android:text="型 号:" />
<TextView
android:id="@+id/xinghao"
style="@style/infotext"
android:textSize="23sp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayout5"
android:layout_width="match_parent"
android:layout_height="80dp"
2 months ago
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout3">
<TextView
style="@style/alltext"
android:layout_width="105dp"
android:layout_height="match_parent"
android:textSize="23sp"
android:text="层 级:" />
<TextView
android:id="@+id/cengji"
style="@style/infotext"
android:textSize="23sp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayout6"
android:layout_width="match_parent"
android:layout_height="80dp"
2 months ago
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout3">
<TextView
style="@style/alltext"
android:layout_width="105dp"
android:layout_height="match_parent"
android:textSize="23sp"
android:text="花 纹:" />
<TextView
android:textSize="23sp"
android:id="@+id/huawen"
style="@style/infotext"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<!--<LinearLayout-->
<!--android:id="@+id/linearLayout7"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="40dp"-->
<!--android:layout_marginStart="8dp"-->
<!--android:layout_marginEnd="8dp"-->
<!--android:orientation="horizontal"-->
<!--app:layout_constraintEnd_toEndOf="parent"-->
<!--app:layout_constraintStart_toStartOf="parent"-->
<!--app:layout_constraintTop_toBottomOf="@+id/linearLayout3">-->
<!--<TextView-->
<!--style="@style/alltext"-->
<!--android:layout_width="105dp"-->
<!--android:layout_height="match_parent"-->
<!--android:text="状 态:" />-->
<!--<TextView-->
<!--android:id="@+id/zhuangtai"-->
<!--style="@style/infotext"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent"-->
<!--/>-->
<!--</LinearLayout>-->
<!--<LinearLayout-->
<!--android:id="@+id/linearLayout8"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="40dp"-->
<!--android:layout_marginStart="8dp"-->
<!--android:layout_marginEnd="8dp"-->
<!--android:orientation="horizontal"-->
<!--app:layout_constraintEnd_toEndOf="parent"-->
<!--app:layout_constraintStart_toStartOf="parent"-->
<!--app:layout_constraintTop_toBottomOf="@+id/linearLayout3">-->
<!--<TextView-->
<!--style="@style/alltext"-->
<!--android:layout_width="105dp"-->
<!--android:layout_height="match_parent"-->
<!--android:text="总里程:" />-->
<!--<TextView-->
<!--android:id="@+id/zonglicheng"-->
<!--style="@style/infotext"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent"-->
<!--/>-->
<!--</LinearLayout>-->
<!--<FrameLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent"-->
<!--android:id="@+id/framelayout_base"-->
<!--android:background="@color/xuebai"-->
<!--&gt;-->
<!--</FrameLayout>-->
</LinearLayout>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="55dp"
android:layout_marginStart="20dp"
android:layout_marginTop="600dp"
android:layout_marginEnd="20dp"
android:background="@drawable/bg_santex_coppy"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout2">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center">
<Button
android:id="@+id/scan_button"
android:layout_width="0dp"
android:layout_height="55dp"
android:layout_weight="1"
android:layout_margin="18dp"
style="@style/buttonStyle"
android:letterSpacing="1"
android:text="扫描" />
2 months ago
<Button
android:id="@+id/button"
android:layout_width="0dp"
android:layout_height="55dp"
android:layout_weight="1"
android:layout_margin="18dp"
style="@style/buttonStyle"
android:letterSpacing="1"
android:text="返回" />
2 months ago
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>