changed font size
This commit is contained in:
@ -2,10 +2,12 @@ package com.dano.test1
|
||||
|
||||
import android.content.Context
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.*
|
||||
import kotlinx.coroutines.*
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.*
|
||||
import android.util.TypedValue
|
||||
|
||||
class HandlerDateSpinner(
|
||||
private val context: Context,
|
||||
@ -186,7 +188,19 @@ class HandlerDateSpinner(
|
||||
}
|
||||
|
||||
private fun <T> setupSpinner(spinner: Spinner, items: List<T>, defaultSelection: T?) {
|
||||
val adapter = ArrayAdapter(context, android.R.layout.simple_spinner_item, items)
|
||||
val adapter = object : ArrayAdapter<T>(context, android.R.layout.simple_spinner_item, items) {
|
||||
override fun getView(position: Int, convertView: View?, parent: ViewGroup): View {
|
||||
val v = super.getView(position, convertView, parent) as TextView
|
||||
v.setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
return v
|
||||
}
|
||||
|
||||
override fun getDropDownView(position: Int, convertView: View?, parent: ViewGroup): View {
|
||||
val v = super.getDropDownView(position, convertView, parent) as TextView
|
||||
v.setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
return v
|
||||
}
|
||||
}
|
||||
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
|
||||
spinner.adapter = adapter
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@ import android.content.Context
|
||||
import android.view.View
|
||||
import android.widget.*
|
||||
import kotlinx.coroutines.*
|
||||
import android.util.TypedValue
|
||||
|
||||
class HandlerMultiCheckboxQuestion(
|
||||
private val context: Context,
|
||||
@ -42,6 +43,10 @@ class HandlerMultiCheckboxQuestion(
|
||||
text = LanguageManager.getText(languageID, option.key)
|
||||
tag = option.key
|
||||
isChecked = selectedKeys.contains(option.key)
|
||||
|
||||
// >>> Textgröße jeder Checkbox auf 30sp setzen <<<
|
||||
setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
|
||||
layoutParams = LinearLayout.LayoutParams(
|
||||
LinearLayout.LayoutParams.MATCH_PARENT,
|
||||
LinearLayout.LayoutParams.WRAP_CONTENT
|
||||
|
||||
@ -5,6 +5,7 @@ import android.view.View
|
||||
import android.text.Html
|
||||
import android.widget.*
|
||||
import kotlinx.coroutines.*
|
||||
import android.util.TypedValue
|
||||
|
||||
class HandlerRadioQuestion(
|
||||
private val context: Context,
|
||||
@ -40,6 +41,10 @@ class HandlerRadioQuestion(
|
||||
val radioButton = RadioButton(context).apply {
|
||||
text = LanguageManager.getText(languageID, option.key)
|
||||
tag = option.key
|
||||
// >>> Schriftgröße 30sp <<<
|
||||
setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
|
||||
// >>> Breite fast so breit wie RadioGroup (MATCH_PARENT) <<<
|
||||
layoutParams = RadioGroup.LayoutParams(
|
||||
RadioGroup.LayoutParams.MATCH_PARENT,
|
||||
RadioGroup.LayoutParams.WRAP_CONTENT
|
||||
@ -48,6 +53,10 @@ class HandlerRadioQuestion(
|
||||
val margin = (16 * scale + 0.5f).toInt()
|
||||
setMargins(0, 0, 0, margin)
|
||||
}
|
||||
|
||||
// >>> Innenabstand (Padding), damit Text nicht direkt am Rand klebt <<<
|
||||
val padding = (12 * resources.displayMetrics.density).toInt()
|
||||
setPadding(padding, padding, padding, padding)
|
||||
}
|
||||
radioGroup.addView(radioButton)
|
||||
}
|
||||
|
||||
@ -2,8 +2,11 @@ package com.dano.test1
|
||||
|
||||
import android.content.Context
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.*
|
||||
import kotlinx.coroutines.*
|
||||
import android.util.TypedValue
|
||||
import android.widget.TextView
|
||||
|
||||
class HandlerStringSpinner(
|
||||
private val context: Context,
|
||||
@ -113,7 +116,20 @@ class HandlerStringSpinner(
|
||||
}
|
||||
|
||||
private fun <T> setupSpinner(spinner: Spinner, items: List<T>, selectedItem: T?) {
|
||||
val adapter = ArrayAdapter(context, android.R.layout.simple_spinner_item, items)
|
||||
// Adapter, der Textgröße für ausgewähltes Element + Dropdown auf 30sp setzt
|
||||
val adapter = object : ArrayAdapter<T>(context, android.R.layout.simple_spinner_item, items) {
|
||||
override fun getView(position: Int, convertView: View?, parent: ViewGroup): View {
|
||||
val v = super.getView(position, convertView, parent) as TextView
|
||||
v.setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
return v
|
||||
}
|
||||
|
||||
override fun getDropDownView(position: Int, convertView: View?, parent: ViewGroup): View {
|
||||
val v = super.getDropDownView(position, convertView, parent) as TextView
|
||||
v.setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
return v
|
||||
}
|
||||
}
|
||||
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
|
||||
spinner.adapter = adapter
|
||||
|
||||
|
||||
@ -2,8 +2,10 @@ package com.dano.test1
|
||||
|
||||
import android.content.Context
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.*
|
||||
import kotlinx.coroutines.*
|
||||
import android.util.TypedValue
|
||||
|
||||
class HandlerValueSpinner(
|
||||
private val context: Context,
|
||||
@ -112,7 +114,19 @@ class HandlerValueSpinner(
|
||||
}
|
||||
|
||||
private fun <T> setupSpinner(spinner: Spinner, items: List<T>, selectedItem: T?) {
|
||||
val adapter = ArrayAdapter(context, android.R.layout.simple_spinner_item, items)
|
||||
val adapter = object : ArrayAdapter<T>(context, android.R.layout.simple_spinner_item, items) {
|
||||
override fun getView(position: Int, convertView: View?, parent: ViewGroup): View {
|
||||
val v = super.getView(position, convertView, parent) as TextView
|
||||
v.setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
return v
|
||||
}
|
||||
|
||||
override fun getDropDownView(position: Int, convertView: View?, parent: ViewGroup): View {
|
||||
val v = super.getDropDownView(position, convertView, parent) as TextView
|
||||
v.setTextSize(TypedValue.COMPLEX_UNIT_SP, 30f)
|
||||
return v
|
||||
}
|
||||
}
|
||||
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
|
||||
spinner.adapter = adapter
|
||||
|
||||
|
||||
@ -12,8 +12,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:tag="previous"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
@ -24,8 +25,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:tag="next"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
@ -38,6 +40,7 @@
|
||||
android:id="@+id/client_code"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="30sp"
|
||||
android:background="@android:drawable/edit_text"
|
||||
android:ems="10"
|
||||
android:inputType="text"
|
||||
@ -53,6 +56,7 @@
|
||||
android:id="@+id/coach_code"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="30sp"
|
||||
android:background="@android:drawable/edit_text"
|
||||
android:ems="10"
|
||||
android:inputType="text"
|
||||
@ -69,6 +73,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -83,6 +88,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
@ -12,8 +12,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:tag="previous"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
@ -24,8 +25,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:tag="next"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
@ -42,6 +44,7 @@
|
||||
android:ems="10"
|
||||
android:inputType="text"
|
||||
android:tag="coach_code"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.495"
|
||||
@ -53,6 +56,7 @@
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="329dp"
|
||||
android:layout_height="55dp"
|
||||
android:textSize="40sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@ -63,6 +67,7 @@
|
||||
android:id="@+id/question"
|
||||
android:layout_width="329dp"
|
||||
android:layout_height="55dp"
|
||||
android:textSize="40sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@ -73,6 +78,7 @@
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="329dp"
|
||||
android:layout_height="55dp"
|
||||
android:textSize="40sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="40sp"
|
||||
android:textAlignment="center"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
@ -24,6 +25,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -34,90 +36,82 @@
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner_value_month"
|
||||
android:layout_width="142dp"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="35dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.453"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.341" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date_spinner_year"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="22dp"
|
||||
android:tag="year"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.877"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.282" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date_spinner_day"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="22dp"
|
||||
android:tag="day"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.099"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.282" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner_value_day"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="35dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.099"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.341" />
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date_spinner_month"
|
||||
android:layout_width="142dp"
|
||||
android:layout_height="22dp"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="40dp"
|
||||
android:tag="month"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.453"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.282" />
|
||||
app:layout_constraintVertical_bias="0.403" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date_spinner_day"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="40dp"
|
||||
android:tag="day"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.108"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.402" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date_spinner_year"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="40dp"
|
||||
android:tag="year"
|
||||
android:textSize="30sp"
|
||||
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"
|
||||
app:layout_constraintVertical_bias="0.402" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner_value_year"
|
||||
android:layout_width="110dp"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="35dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.877"
|
||||
app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.341" />
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:tag="next"
|
||||
<Spinner
|
||||
android:id="@+id/spinner_value_day"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="35dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
app:layout_constraintHorizontal_bias="0.108"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:tag="previous"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
@ -125,4 +119,17 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:tag="next"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@ -26,27 +26,36 @@
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:tag="previous"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:layout_margin="16dp" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:tag="next"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_margin="16dp" />
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -61,6 +70,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
@ -7,22 +7,24 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/question"
|
||||
android:layout_width="389dp"
|
||||
android:layout_height="115dp"
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="200dp"
|
||||
android:tag="finish_data_entry"
|
||||
android:textAlignment="viewStart"
|
||||
android:textSize="24sp"
|
||||
android:textSize="40sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.505"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.376" />
|
||||
app:layout_constraintVertical_bias="0.546" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:tag="previous"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
@ -32,23 +34,24 @@
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qfinish"
|
||||
android:layout_width="231dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="540dp"
|
||||
android:layout_height="60dp"
|
||||
android:tag="finish"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.944"
|
||||
app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="389dp"
|
||||
android:layout_height="115dp"
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="200dp"
|
||||
android:tag="finish_data_entry"
|
||||
android:textAlignment="viewStart"
|
||||
android:textSize="24sp"
|
||||
android:textSize="40sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
@ -12,8 +12,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:tag="previous"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
@ -24,8 +25,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:tag="next"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
@ -38,6 +40,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -52,6 +55,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -63,13 +67,13 @@
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView"
|
||||
android:layout_width="360dp"
|
||||
android:layout_height="417dp"
|
||||
android:layout_height="650dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.489"
|
||||
app:layout_constraintHorizontal_bias="0.49"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.658">
|
||||
app:layout_constraintVertical_bias="0.604">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/CheckboxContainer"
|
||||
|
||||
@ -12,8 +12,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:tag="previous"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
@ -24,8 +25,9 @@
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:tag="next"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
@ -35,19 +37,21 @@
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/RadioGroup"
|
||||
android:layout_width="323dp"
|
||||
android:layout_height="419dp"
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="900dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.501"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.675" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/question"
|
||||
app:layout_constraintVertical_bias="0.0" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -61,14 +65,17 @@
|
||||
android:id="@+id/question"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
android:textAlignment="center"
|
||||
android:textSize="40sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.188" />
|
||||
app:layout_constraintVertical_bias="0.233" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@ -7,8 +7,8 @@
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/string_spinner"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="50dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.498"
|
||||
@ -17,25 +17,27 @@
|
||||
app:layout_constraintVertical_bias="0.38" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:tag="next"
|
||||
android:id="@+id/Qprev"
|
||||
android:tag="previous"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:tag="previous"
|
||||
android:id="@+id/Qnext"
|
||||
android:tag="next"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
@ -45,6 +47,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -59,6 +62,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/value_spinner"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="50dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.498"
|
||||
@ -17,25 +17,27 @@
|
||||
app:layout_constraintVertical_bias="0.38" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qnext"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:tag="next"
|
||||
android:id="@+id/Qprev"
|
||||
android:tag="previous"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Qprev"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="42dp"
|
||||
android:tag="previous"
|
||||
android:id="@+id/Qnext"
|
||||
android:tag="next"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.056"
|
||||
app:layout_constraintHorizontal_bias="0.943"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.976" />
|
||||
@ -45,6 +47,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -59,6 +62,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:textSize="40sp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
Reference in New Issue
Block a user