|
@@ -175,18 +175,14 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/bt_tcpstart"
|
|
android:id="@+id/bt_tcpstart"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginTop="8dp"
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:text="TCP启动"
|
|
android:text="TCP启动"
|
|
- android:textColor="#FFFFf0"
|
|
|
|
android:textAllCaps="false"
|
|
android:textAllCaps="false"
|
|
|
|
+ android:textColor="#FFFFf0"
|
|
android:textSize="30dp"
|
|
android:textSize="30dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
@@ -196,15 +192,10 @@
|
|
app:layout_constraintVertical_bias="0.196" />
|
|
app:layout_constraintVertical_bias="0.196" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
- android:id="@+id/readtext"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:id="@+id/ConfigSetting"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="ConfigSetting"
|
|
android:onClick="ConfigSetting"
|
|
android:text="@string/configsetting"
|
|
android:text="@string/configsetting"
|
|
@@ -220,14 +211,9 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/FWUpdate"
|
|
android:id="@+id/FWUpdate"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="FirmwareUpdate"
|
|
android:onClick="FirmwareUpdate"
|
|
android:text="@string/firmwareupdata"
|
|
android:text="@string/firmwareupdata"
|
|
@@ -243,14 +229,9 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/DataAnalysis"
|
|
android:id="@+id/DataAnalysis"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="DataAnalysis"
|
|
android:onClick="DataAnalysis"
|
|
android:text="@string/dataanalysis"
|
|
android:text="@string/dataanalysis"
|
|
@@ -266,14 +247,9 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/NoiseAnalysis"
|
|
android:id="@+id/NoiseAnalysis"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="NoiseAnalysis"
|
|
android:onClick="NoiseAnalysis"
|
|
android:text="@string/noiseanalysis"
|
|
android:text="@string/noiseanalysis"
|
|
@@ -289,14 +265,9 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/DemoTools"
|
|
android:id="@+id/DemoTools"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="DemoTools"
|
|
android:onClick="DemoTools"
|
|
android:text="@string/demotools"
|
|
android:text="@string/demotools"
|
|
@@ -312,14 +283,9 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/IICOperation"
|
|
android:id="@+id/IICOperation"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="IICOperation"
|
|
android:onClick="IICOperation"
|
|
android:text="@string/ramoperation"
|
|
android:text="@string/ramoperation"
|
|
@@ -335,14 +301,9 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/TestOperation"
|
|
android:id="@+id/TestOperation"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="TestOperation"
|
|
android:onClick="TestOperation"
|
|
android:text="@string/testoperation"
|
|
android:text="@string/testoperation"
|
|
@@ -358,14 +319,9 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/ContactUs"
|
|
android:id="@+id/ContactUs"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:onClick="ContactUs"
|
|
android:onClick="ContactUs"
|
|
android:text="@string/contactus"
|
|
android:text="@string/contactus"
|
|
@@ -381,13 +337,10 @@
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/Exit"
|
|
android:id="@+id/Exit"
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginTop="0dp"
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_marginRight="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:background="@drawable/bg_mainactivity_buttonframe_line"
|
|
android:text="@string/exit"
|
|
android:text="@string/exit"
|