48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge 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="wrap_content"
|
|
android:layout_margin="@dimen/text_margin"
|
|
tools:context=".ui.components.ProficiencyPicker">
|
|
|
|
<TextView
|
|
android:id="@+id/label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_proficiency"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="Proficiency" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/label">
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:id="@+id/none"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/label_proficiency_none" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:id="@+id/proficient"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/label_proficiency_proficient" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:id="@+id/expertise"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/label_proficiency_expertise" />
|
|
</RadioGroup>
|
|
</merge> |