Hi guys,
I'm pretty new and need your help.
Even though I made some progress (creating buttons with functions, designing etc.), I'm stuck with the topic:
Multiple pages on Android Wear.
To explain it as simple as possible, I just created a draft:
Basically when I start the App, I only want to see a number and a color.
Those two values should get changed by using the second and third sheet.
(By pressing the specific buttons.)
By using left swipe/right swipe I would like to switch between those screens.
Like on this example, but without the vertical swipe and without these points which show the current page.
Can this be achieved by using:
- 2 java classes (MainActivity.java, SectionFragment.java)
- 2 layouts (activity_main.xml, fragment_section.xml)
?
Or do I need in this case 3 java classes and 3 layouts?
For example:
- MainActivity.java, ColorsActivity.java, ValuesActivity.java
- activity_main.xml, activity_colors.xml, activity_values.xml
?
Regards
I'm pretty new and need your help.
Even though I made some progress (creating buttons with functions, designing etc.), I'm stuck with the topic:
Multiple pages on Android Wear.
To explain it as simple as possible, I just created a draft:
Basically when I start the App, I only want to see a number and a color.
Those two values should get changed by using the second and third sheet.
(By pressing the specific buttons.)
By using left swipe/right swipe I would like to switch between those screens.
Like on this example, but without the vertical swipe and without these points which show the current page.
Can this be achieved by using:
- 2 java classes (MainActivity.java, SectionFragment.java)
- 2 layouts (activity_main.xml, fragment_section.xml)
?
Or do I need in this case 3 java classes and 3 layouts?
For example:
- MainActivity.java, ColorsActivity.java, ValuesActivity.java
- activity_main.xml, activity_colors.xml, activity_values.xml
?
Regards