| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/activity_equipment_configuration"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".ui.configuration.ArcherySetupConfigurationActivity">
-
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
-
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- <TextView
- android:id="@+id/configArcherySetupLbl"
- style="@style/Widget.AppCompat.TextView"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="16dp"
- android:background="@color/purple_700"
- android:padding="4dp"
- android:text="@string/asTitleArcherySetupConfig"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- android:textColor="@color/white"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="1.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
-
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
- android:id="@+id/asArcherySetupSelectionLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/configArcherySetupLbl">
-
- <AutoCompleteTextView
- android:id="@+id/asArcherySetupSelectionTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:editable="false"
- android:hint="@string/asArcherySetupLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asLabelLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asArcherySetupSelectionLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asLabelTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/asLabel"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
- android:id="@+id/asRiserSelectionLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asLabelLayout">
-
- <AutoCompleteTextView
- android:id="@+id/asRiserSelectionTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:editable="false"
- android:hint="@string/rcRiserLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
- android:id="@+id/asSightSelectionLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asRiserSelectionLayout">
-
- <AutoCompleteTextView
- android:id="@+id/asSightSelectionTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:editable="false"
- android:hint="@string/rcSightLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asArrowDiameterLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asSightSelectionLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asArrowDiameterTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/arrowDiameterLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asArrowCWLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asArrowDiameterLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asArrowCWTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/arrowCwLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asArrowWeightLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asArrowCWLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asArrowWeightTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/arrowWeightLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asArrowV0Layout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asArrowWeightLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asArrowV0Txt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/arrowV0Lbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asBowPulloutLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asArrowV0Layout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asBowPulloutTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/bowPulloutLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asArrowNockHeightLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asBowPulloutLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asArrowNockHeightTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/arrowNockHeightLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asHNALayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asArrowNockHeightLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asHNATxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/bowParamhNALbl"
- android:nextFocusDown="@id/nockRaisingTxt"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asNockRaisingLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asHNALayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asNockRaisingTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/bowParamNockRaisingLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asBraceHeightLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asNockRaisingLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asBraceHeightTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/bowParamBraceHeightLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asTargetCenterHeightLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asBraceHeightLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asTargetCenterHeightTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/targetCenterHeightLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asDeltaTimeLayoutLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asTargetCenterHeightLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asDeltaTimeTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/deltaTimeLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asCalcPrecisionLayoutLayout"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asDeltaTimeLayoutLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asCalcPrecisionTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/calcPrecisionLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asSightVertScaleMiddle"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asCalcPrecisionLayoutLayout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asSightVertScaleMiddleTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/scVertSkalaMiddleLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/asSightHorzSetting"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asSightVertScaleMiddle">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/asSightHorzSettingTxt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/scHeVSLbl"
- android:singleLine="true" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="24dp"
- android:orientation="horizontal"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/asSightHorzSetting">
-
- <Button
- android:id="@+id/archerystpcfg_button_new"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="8dp"
- android:layout_weight="1"
- android:text="@string/caption_New"
- app:icon="@drawable/ic_icon_add"
- app:iconPadding="-8dp" />
-
- <Button
- android:id="@+id/archerystpcfg_button_delete"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="8dp"
- android:layout_weight="1"
- android:paddingLeft="4dp"
- android:paddingRight="4dp"
- android:text="@string/caption_Delete"
- app:icon="@drawable/ic_icon_delete"
- app:iconPadding="-8dp" />
-
- <Button
- android:id="@+id/archerystpcfg_button_save"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="8dp"
- android:layout_weight="1"
- android:paddingLeft="4dp"
- android:paddingRight="4dp"
- android:text="@string/caption_Save"
- app:icon="@drawable/ic_icon_save"
- app:iconPadding="0dp" />
-
- </LinearLayout>
-
-
- </androidx.constraintlayout.widget.ConstraintLayout>
- </ScrollView>
-
- </androidx.constraintlayout.widget.ConstraintLayout>
|