|
@@ -33,5 +33,145 @@
|
|
|
android:layout_marginEnd="10dp"
|
|
|
android:textStyle="bold"/>
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
-
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_label_display_duration"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="數字顯示時常"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/display_duration"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:inputType="number"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:text="2000"
|
|
|
+ android:hint="ms"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/view_label_display_duration"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/view_label_display_duration"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_label_interval_duration"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="數字交換間隔"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/view_label_display_duration"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/view_label_display_duration"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/interval_duration"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:inputType="number"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:text="2000"
|
|
|
+ android:hint="ms"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/view_label_interval_duration"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/view_label_interval_duration"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_label_right_number"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="正確數字出現次數"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/view_label_interval_duration"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/view_label_display_duration"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/right_number"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:inputType="number"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:text="2"
|
|
|
+ android:hint="個"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/view_label_right_number"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/view_label_right_number"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_label_random_number"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="隨機數字出現次數"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/view_label_right_number"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/view_label_display_duration"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/random_number"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:inputType="number"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:text="5"
|
|
|
+ android:hint="個"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/view_label_random_number"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/view_label_random_number"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_label_practise_duration"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="用戶熱身時長"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/view_label_random_number"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/view_label_display_duration"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/practise_duration"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:inputType="number"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:text="5000"
|
|
|
+ android:hint="ms"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/view_label_practise_duration"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/view_label_practise_duration"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_label_practise_number"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="練習數字出現的次數"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/view_label_practise_duration"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/view_label_display_duration"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/practise_number"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:inputType="number"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:text="5"
|
|
|
+ android:hint="個"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/view_label_practise_number"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/view_label_practise_number"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|