This repository was archived by the owner on Dec 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed
src/main/java/com/example/android/compose/motion/ui/home Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ android {
62
62
dependencies {
63
63
implementation ' androidx.core:core-ktx:1.7.0'
64
64
implementation " androidx.compose.ui:ui:$compose_version "
65
- implementation ' androidx.compose.material3:material3:1.0.0-alpha01 '
65
+ implementation ' androidx.compose.material3:material3:1.0.0-alpha02 '
66
66
implementation " androidx.compose.ui:ui-tooling-preview:$compose_version "
67
67
implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
68
68
implementation ' androidx.activity:activity-compose:1.4.0'
69
69
implementation ' androidx.constraintlayout:constraintlayout-compose:1.0.0-rc02'
70
70
71
- def accompanist_version = ' 0.21.3-beta '
71
+ def accompanist_version = ' 0.22.0-rc '
72
72
implementation " com.google.accompanist:accompanist-flowlayout:$accompanist_version "
73
73
implementation " com.google.accompanist:accompanist-insets-ui:$accompanist_version "
74
74
implementation " com.google.accompanist:accompanist-placeholder:$accompanist_version "
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import androidx.compose.foundation.layout.padding
25
25
import androidx.compose.foundation.lazy.LazyColumn
26
26
import androidx.compose.foundation.lazy.items
27
27
import androidx.compose.foundation.shape.RoundedCornerShape
28
+ import androidx.compose.material.ripple.rememberRipple
28
29
import androidx.compose.material3.ExperimentalMaterial3Api
29
30
import androidx.compose.material3.MaterialTheme
30
31
import androidx.compose.material3.Scaffold
@@ -107,7 +108,8 @@ private fun DemoCard(
107
108
modifier = modifier,
108
109
tonalElevation = 2 .dp,
109
110
shape = RoundedCornerShape (16 .dp),
110
- onClick = onClick
111
+ onClick = onClick,
112
+ indication = rememberRipple()
111
113
) {
112
114
Column (
113
115
modifier = Modifier .padding(16 .dp),
Original file line number Diff line number Diff line change 16
16
17
17
buildscript {
18
18
ext {
19
- compose_version = ' 1.1.0-beta03 '
19
+ compose_version = ' 1.1.0-rc01 '
20
20
}
21
21
}
22
22
23
23
plugins {
24
- id ' com.android.application' version ' 7.2 .0-alpha04 ' apply false
25
- id ' com.android.library' version ' 7.2 .0-alpha04 ' apply false
26
- id ' org.jetbrains.kotlin.android' version ' 1.5.31 ' apply false
24
+ id ' com.android.application' version ' 7.1 .0-rc01 ' apply false
25
+ id ' com.android.library' version ' 7.1 .0-rc01 ' apply false
26
+ id ' org.jetbrains.kotlin.android' version ' 1.6.0 ' apply false
27
27
}
28
28
29
29
task clean (type : Delete ) {
Original file line number Diff line number Diff line change 1
1
# Wed Nov 10 13:04:57 JST 2021
2
2
distributionBase =GRADLE_USER_HOME
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3-rc-1- bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.3-bin.zip
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
6
6
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments