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 {
6262dependencies {
6363 implementation ' androidx.core:core-ktx:1.7.0'
6464 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 '
6666 implementation " androidx.compose.ui:ui-tooling-preview:$compose_version "
6767 implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
6868 implementation ' androidx.activity:activity-compose:1.4.0'
6969 implementation ' androidx.constraintlayout:constraintlayout-compose:1.0.0-rc02'
7070
71- def accompanist_version = ' 0.21.3-beta '
71+ def accompanist_version = ' 0.22.0-rc '
7272 implementation " com.google.accompanist:accompanist-flowlayout:$accompanist_version "
7373 implementation " com.google.accompanist:accompanist-insets-ui:$accompanist_version "
7474 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
2525import androidx.compose.foundation.lazy.LazyColumn
2626import androidx.compose.foundation.lazy.items
2727import androidx.compose.foundation.shape.RoundedCornerShape
28+ import androidx.compose.material.ripple.rememberRipple
2829import androidx.compose.material3.ExperimentalMaterial3Api
2930import androidx.compose.material3.MaterialTheme
3031import androidx.compose.material3.Scaffold
@@ -107,7 +108,8 @@ private fun DemoCard(
107108 modifier = modifier,
108109 tonalElevation = 2 .dp,
109110 shape = RoundedCornerShape (16 .dp),
110- onClick = onClick
111+ onClick = onClick,
112+ indication = rememberRipple()
111113 ) {
112114 Column (
113115 modifier = Modifier .padding(16 .dp),
Original file line number Diff line number Diff line change 1616
1717buildscript {
1818 ext {
19- compose_version = ' 1.1.0-beta03 '
19+ compose_version = ' 1.1.0-rc01 '
2020 }
2121}
2222
2323plugins {
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
2727}
2828
2929task clean (type : Delete ) {
Original file line number Diff line number Diff line change 11# Wed Nov 10 13:04:57 JST 2021
22distributionBase =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
44distributionPath =wrapper/dists
55zipStorePath =wrapper/dists
66zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments