@@ -27,9 +27,9 @@ 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/Jetnews /app/src/main/java/com/example/jetnews/ui
31
- [ 2 ] : https://github.com/android/compose-samples/Jetnews /app/src/main/java/com/example/jetnews/ui/JetnewsApp.kt
32
- [ 3 ] : https://github.com/android/compose-samples/Jetnews /app/src/main/java/com/example/jetnews/ui/article
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
33
33
34
34
### Main article list
35
35
@@ -38,15 +38,15 @@ Package [`com.example.jetnews.ui.home`][4]
38
38
This screen shows how to create different custom Composable functions and combine them in a list
39
39
that scrolls vertically and horizontally.
40
40
41
- See how to :
41
+ See how to:
42
42
43
- * use Rows and Columns to arrange the contents of the UI
44
- * add an AppBar
45
- * use Material Typography and opacity to style the text
46
- * use Shape to round the corners of the images
47
- * use Elevation to make the Cards stand out from the background
43
+ * Use ` Row ` s and ` Column ` s to arrange the contents of the UI
44
+ * Add an ` AppBar `
45
+ * Use ` MaterialTypography ` and opacity to style the text
46
+ * Use ` Shape ` to round the corners of the images
47
+ * Use elevation to make the ` Card ` s stand out from the background
48
48
49
- [ 4 ] : https://github.com/android/compose-samples/Jetnews /app/src/main/java/com/example/jetnews/ui/home
49
+ [ 4 ] : https://github.com/android/compose-samples/tree/master/JetNews /app/src/main/java/com/example/jetnews/ui/home
50
50
51
51
### Article detail
52
52
@@ -55,8 +55,8 @@ Package [`com.example.jetnews.ui.article`][5]
55
55
This screen dives into the Text API, showing how to use different fonts than the ones defined in
56
56
[ ` Typograhy ` ] [ 6 ] . It also adds a bottom appbar, with custom actions.
57
57
58
- [ 5 ] : https://github.com/android/compose-samples/Jetnews /app/src/main/java/com/example/jetnews/ui/article
59
- [ 6 ] : https://github.com/android/compose-samples/Jetnews /app/src/main/java/com/example/jetnews/ui/Typography.kt
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
60
60
61
61
### Interests screen
62
62
@@ -69,16 +69,15 @@ the on/off behaviour and semantics, while drawing a custom UI. The UI of the but
69
69
drawn with low-level primitives and partly overlaying images. See also how to visualize
70
70
on and off, light and dark version in the Android Studio Preview.
71
71
72
- [ 7 ] : https://github.com/android/compose-samples/Jetnews /app/src/main/java/com/example/jetnews/ui/interests
73
- [ 8 ] : https://github.com/android/compose-samples/Jetnews /app/src/main/java/com/example/jetnews/ui/interests/SelectTopicButton.kt
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
74
74
75
75
### Data
76
76
77
77
The data in the sample is static, held in the ` com.example.jetnews.data ` package.
78
78
79
79
## License
80
80
81
-
82
81
```
83
82
Copyright 2019 Google, Inc.
84
83
0 commit comments