|
|
|
@ -9,50 +9,61 @@
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="@dimen/_80dp"
|
|
|
|
|
android:textColor="@color/color_error"
|
|
|
|
|
android:layout_marginTop="@dimen/_23dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/calibration_tip"
|
|
|
|
|
android:textSize="@dimen/_40dp"/>
|
|
|
|
|
android:textColor="@color/color_error"
|
|
|
|
|
android:textSize="@dimen/_40dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/current_value"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="@dimen/_80dp"
|
|
|
|
|
android:layout_marginTop="@dimen/_23dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_40dp"
|
|
|
|
|
android:text="当前气体浓度:" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/layout_input"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:layout_marginTop="@dimen/_23dp">
|
|
|
|
|
android:layout_marginTop="@dimen/_23dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/et_name"
|
|
|
|
|
android:layout_width="@dimen/_600dp"
|
|
|
|
|
android:layout_height="@dimen/_100dp"
|
|
|
|
|
android:textSize="@dimen/_30dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textColorHint="@color/white"
|
|
|
|
|
android:background="@drawable/cloud_sync_btn_bg"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:hint="@string/calibration_value"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
android:paddingStart="@dimen/_30dp"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:nextFocusDown="@id/et_name"
|
|
|
|
|
android:background="@drawable/cloud_sync_btn_bg"/>
|
|
|
|
|
android:paddingStart="@dimen/_30dp"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textColorHint="@color/white"
|
|
|
|
|
android:textSize="@dimen/_30dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_unit"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/_6dp"
|
|
|
|
|
android:textSize="@dimen/_30dp"
|
|
|
|
|
android:textColor="@color/white"/>
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_30dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_save"
|
|
|
|
|
android:layout_width="@dimen/_600dp"
|
|
|
|
|
android:layout_height="@dimen/_80dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:layout_marginTop="@dimen/_23dp"
|
|
|
|
|
android:background="@drawable/save_btn_bg"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/calibration_txt"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:textSize="@dimen/_30dp"
|
|
|
|
|
android:background="@drawable/save_btn_bg"/>
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_30dp" />
|
|
|
|
|
</LinearLayout>
|