Android App zur Berechnung der Visiereinstellung eines Recurvebogens.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

fragment_calcsight.xml 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".ui.calcsight.CalculateSightFragment">
  8. <com.google.android.material.tabs.TabLayout
  9. android:id="@+id/calcSight_tabLayout"
  10. android:layout_width="0dp"
  11. android:layout_height="wrap_content"
  12. android:background="@drawable/side_nav_bar"
  13. app:layout_constraintEnd_toEndOf="parent"
  14. app:layout_constraintHorizontal_bias="0.0"
  15. app:layout_constraintStart_toStartOf="parent"
  16. app:layout_constraintTop_toTopOf="parent"
  17. app:tabIconTint="@color/fita_tabs_icon_color_selector"
  18. app:tabIndicatorColor="@color/fita_red"
  19. app:tabTextColor="@color/fita_tabs_icon_color_selector">
  20. <com.google.android.material.tabs.TabItem
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent"
  23. android:icon="@drawable/ic_calcsight_parameter"
  24. android:text="@string/viewParams" />
  25. <com.google.android.material.tabs.TabItem
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:icon="@drawable/ic_calcsight_trajectory"
  29. android:text="@string/viewResults" />
  30. <com.google.android.material.tabs.TabItem
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:icon="@drawable/ic_menu_calcsight"
  34. android:text="@string/viewSight" />
  35. </com.google.android.material.tabs.TabLayout>
  36. <androidx.viewpager2.widget.ViewPager2
  37. android:id="@+id/calcSight_viewPager"
  38. android:layout_width="match_parent"
  39. android:layout_height="0dp"
  40. android:layout_weight="1"
  41. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  42. app:layout_constraintBottom_toBottomOf="parent"
  43. app:layout_constraintEnd_toEndOf="parent"
  44. app:layout_constraintStart_toStartOf="parent"
  45. app:layout_constraintTop_toBottomOf="@+id/calcSight_tabLayout" />
  46. </androidx.constraintlayout.widget.ConstraintLayout>