mirror of
https://github.com/Team4388/RidgeScout.git
synced 2026-06-09 08:38:03 -06:00
Field selector, Field back button, TBA popup
This commit is contained in:
@@ -49,5 +49,35 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/fieldsButton" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fieldsButtons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="1dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/fieldsButton"
|
||||
tools:visibility="visible">
|
||||
|
||||
<Button
|
||||
android:id="@+id/fieldsPitsButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:text="Pits"
|
||||
android:textSize="34sp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/fieldsMatchesButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:text="Matches"
|
||||
android:textSize="34sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -15,21 +15,21 @@
|
||||
app:destination="@id/navigation_match_scouting"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim"/>
|
||||
<action
|
||||
android:id="@+id/action_navigation_scouting_to_navigation_team_selector"
|
||||
app:destination="@id/navigation_team_selector"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_scouting_to_navigation_scouting_event"
|
||||
app:destination="@id/navigation_scouting_status"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim"/>
|
||||
</fragment>
|
||||
|
||||
@@ -48,14 +48,14 @@
|
||||
app:destination="@id/navigation_pit_scouting"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_team_selector_to_navigation_data_teams"
|
||||
app:destination="@id/navigation_data_teams"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
@@ -79,14 +79,14 @@
|
||||
app:destination="@id/navigation_team_selector"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_data_to_navigation_data_fields_chooser"
|
||||
app:destination="@id/navigation_data_fields_chooser"
|
||||
android:id="@+id/action_navigation_data_to_navigation_data_fields"
|
||||
app:destination="@id/navigation_data_fields"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
@@ -102,29 +102,16 @@
|
||||
tools:layout="@layout/fragment_data_teams">
|
||||
</fragment>
|
||||
|
||||
<fragment
|
||||
android:id="@+id/navigation_data_fields_chooser"
|
||||
android:name="com.ridgebotics.ridgescout.ui.data.FieldsChooserFragment"
|
||||
tools:layout="@layout/fragment_data_fields_chooser">
|
||||
<action
|
||||
android:id="@+id/action_navigation_data_fields_chooser_to_navigation_data_fields"
|
||||
app:destination="@id/navigation_data_fields"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
<fragment
|
||||
android:id="@+id/navigation_data_fields"
|
||||
android:name="com.ridgebotics.ridgescout.ui.data.FieldsFragment"
|
||||
tools:layout="@layout/fragment_data_fields">
|
||||
<action
|
||||
android:id="@+id/action_navigation_data_fields_to_navigation_data_fields_chooser"
|
||||
app:destination="@id/navigation_data_fields_chooser"
|
||||
android:id="@+id/action_navigation_data_fields_to_navigation_data"
|
||||
app:destination="@id/navigation_data"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
@@ -142,21 +129,21 @@
|
||||
app:destination="@id/navigation_tba"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_transfer_to_navigation_file_selector"
|
||||
app:destination="@id/navigation_file_selector"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_transfer_to_navigation_transfer_selector"
|
||||
app:destination="@id/navigation_transfer_selector"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
@@ -169,7 +156,7 @@
|
||||
app:destination="@id/navigation_transfer_selector"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
@@ -182,28 +169,28 @@
|
||||
app:destination="@id/navigation_code_generator"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_transfer_selector_to_navigation_bluetooth_sender"
|
||||
app:destination="@id/navigation_bluetooth_sender"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_transfer_selector_to_navigation_code_scanner"
|
||||
app:destination="@id/navigation_code_scanner"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_transfer_selector_to_navigation_bluetooth_receiver"
|
||||
app:destination="@id/navigation_bluetooth_receiver"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popEnterAnim="@anim/pop_enter_anim"
|
||||
app:popExitAnim="@anim/pop_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user