@@ -27,13 +27,12 @@ Package [`com.example.jetnews.ui`][1]
27
27
[ ` JetnewsApp.kt ` ] [ 2 ] arranges the different screens in the ` NavDrawerLayout ` . It also implements a simple
28
28
navigation pattern.
29
29
30
- [ 1 ] : https://github.com/android/compose-samples/tree/master/JetNews/app/src/main/java/com/example/jetnews/ui
31
- [ 2 ] : https://github.com/android/compose-samples/tree/master/JetNews/app/src/main/java/com/example/jetnews/ui/JetnewsApp.kt
32
- [ 3 ] : https://github.com/android/compose-samples/tree/master/JetNews/app/src/main/java/com/example/jetnews/ui/article
30
+ [ 1 ] : app/src/main/java/com/example/jetnews/ui
31
+ [ 2 ] : app/src/main/java/com/example/jetnews/ui/JetnewsApp.kt
33
32
34
33
### Main article list
35
34
36
- Package [ ` com.example.jetnews.ui.home ` ] [ 4 ]
35
+ Package [ ` com.example.jetnews.ui.home ` ] [ 3 ]
37
36
38
37
This screen shows how to create different custom Composable functions and combine them in a list
39
38
that scrolls vertically and horizontally.
@@ -46,31 +45,31 @@ See how to:
46
45
* Use ` Shape ` to round the corners of the images
47
46
* Use elevation to make the ` Card ` s stand out from the background
48
47
49
- [ 4 ] : https://github.com/android/compose-samples/tree/master/JetNews/ app/src/main/java/com/example/jetnews/ui/home
48
+ [ 3 ] : app/src/main/java/com/example/jetnews/ui/home
50
49
51
50
### Article detail
52
51
53
- Package [ ` com.example.jetnews.ui.article ` ] [ 5 ]
52
+ Package [ ` com.example.jetnews.ui.article ` ] [ 4 ]
54
53
55
54
This screen dives into the Text API, showing how to use different fonts than the ones defined in
56
- [ ` Typograhy ` ] [ 6 ] . It also adds a bottom appbar, with custom actions.
55
+ [ ` Typograhy ` ] [ 5 ] . It also adds a bottom appbar, with custom actions.
57
56
58
- [ 5 ] : https://github.com/android/compose-samples/tree/master/JetNews/ app/src/main/java/com/example/jetnews/ui/article
59
- [ 6 ] : https://github.com/android/compose-samples/tree/master/JetNews/ app/src/main/java/com/example/jetnews/ui/Typography.kt
57
+ [ 4 ] : app/src/main/java/com/example/jetnews/ui/article
58
+ [ 5 ] : app/src/main/java/com/example/jetnews/ui/Typography.kt
60
59
61
60
### Interests screen
62
61
63
- Package [ ` com.example.jetnews.ui.interests ` ] [ 7 ]
62
+ Package [ ` com.example.jetnews.ui.interests ` ] [ 6 ]
64
63
65
64
This screens shows how to use Tabs and switch content depending on the selected tab. It
66
- also includes a custom checkbox button, [ SelectTopicButton] [ 8 ]
65
+ also includes a custom checkbox button, [ SelectTopicButton] [ 7 ]
67
66
that uses a ` Toggleable ` composable function to provide
68
67
the on/off behaviour and semantics, while drawing a custom UI. The UI of the button is partly
69
68
drawn with low-level primitives and partly overlaying images. See also how to visualize
70
69
on and off, light and dark version in the Android Studio Preview.
71
70
72
- [ 7 ] : https://github.com/android/compose-samples/tree/master/JetNews/ app/src/main/java/com/example/jetnews/ui/interests
73
- [ 8 ] : https://github.com/android/compose-samples/tree/master/JetNews/ app/src/main/java/com/example/jetnews/ui/interests/SelectTopicButton.kt
71
+ [ 6 ] : app/src/main/java/com/example/jetnews/ui/interests
72
+ [ 7 ] : app/src/main/java/com/example/jetnews/ui/interests/SelectTopicButton.kt
74
73
75
74
### Data
76
75
0 commit comments