Skip to main content
added 86 characters in body
Source Link
Alin
  • 556
  • 2
  • 7

Why not use fragments/ viewPager with a tab layout that will do that for you.

Have your two fragments : today and pick date, the tab layour automatically uses your colorAccent to underline the active fragment, the Today fragment is loaded as default.

Upon swiping or tapping on pick date, the second fragment comes into play and you can select a date, after date is selected a new activity with that date as the title is created and all info are given.

enter image description here

Why not use fragments/ viewPager with a tab layout that will do that for you.

Have your two fragments : today and pick date, the tab layour automatically uses your colorAccent to underline the active fragment, the Today fragment is loaded as default.

Upon swiping or tapping on pick date, the second fragment comes into play and you can select a date, after date is selected a new activity with that date as the title is created and all info are given.

Why not use fragments/ viewPager with a tab layout that will do that for you.

Have your two fragments : today and pick date, the tab layour automatically uses your colorAccent to underline the active fragment, the Today fragment is loaded as default.

Upon swiping or tapping on pick date, the second fragment comes into play and you can select a date, after date is selected a new activity with that date as the title is created and all info are given.

enter image description here

Source Link
Alin
  • 556
  • 2
  • 7

Why not use fragments/ viewPager with a tab layout that will do that for you.

Have your two fragments : today and pick date, the tab layour automatically uses your colorAccent to underline the active fragment, the Today fragment is loaded as default.

Upon swiping or tapping on pick date, the second fragment comes into play and you can select a date, after date is selected a new activity with that date as the title is created and all info are given.