Skip to content

Commit 7a889de

Browse files
authored
Update to XR alpha04 dependencies and include the android.software.xr.api.spatial <uses-feature> manifest element
1 parent 44edf01 commit 7a889de

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

xr-fundamentals/part1/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
1818

19+
<uses-feature android:name="android.software.xr.api.spatial" android:required="false"/>
20+
1921
<application
2022
android:allowBackup="true"
2123
android:icon="@mipmap/ic_launcher"

xr-fundamentals/part1/app/src/main/java/com/example/android/xrfundamentals/XRFundamentalsApp.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import androidx.compose.ui.unit.dp
3030
import androidx.window.core.layout.WindowSizeClass
3131
import androidx.window.core.layout.WindowWidthSizeClass
3232
import androidx.xr.compose.spatial.Subspace
33+
import androidx.xr.compose.subspace.SpatialCurvedRow
3334
import androidx.xr.compose.subspace.SpatialPanel
34-
import androidx.xr.compose.subspace.SpatialRow
3535
import androidx.xr.compose.subspace.layout.SubspaceModifier
3636
import androidx.xr.compose.subspace.layout.height
3737
import androidx.xr.compose.subspace.layout.movable
@@ -81,7 +81,7 @@ fun XRFundamentalsApp(
8181
}
8282
}
8383
Subspace {
84-
SpatialRow(
84+
SpatialCurvedRow(
8585
curveRadius = 825.dp
8686
) {
8787
SpatialPanel(

xr-fundamentals/part1/gradle/libs.versions.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[versions]
2-
agp = "8.10.0-alpha02"
3-
kotlin = "2.0.0"
4-
coreKtx = "1.15.0"
2+
agp = "8.11.0-alpha09"
3+
kotlin = "2.1.20"
4+
coreKtx = "1.16.0"
55
junit = "4.13.2"
66
junitVersion = "1.2.1"
77
espressoCore = "3.6.1"
8-
lifecycleRuntimeKtx = "2.8.7"
9-
activityCompose = "1.10.0"
10-
composeBom = "2025.01.00"
11-
composeMaterialAdaptive = "1.0.0"
12-
xrCompose = "1.0.0-alpha01"
8+
lifecycleRuntimeKtx = "2.9.0"
9+
activityCompose = "1.10.1"
10+
composeBom = "2025.05.00"
11+
composeMaterialAdaptive = "1.1.0"
12+
xrCompose = "1.0.0-alpha04"
1313

1414
[libraries]
1515
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Nov 21 11:45:08 EST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

xr-fundamentals/start/gradle/libs.versions.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[versions]
2-
agp = "8.10.0-alpha02"
3-
kotlin = "2.0.0"
4-
coreKtx = "1.15.0"
2+
agp = "8.11.0-alpha09"
3+
kotlin = "2.1.20"
4+
coreKtx = "1.16.0"
55
junit = "4.13.2"
66
junitVersion = "1.2.1"
77
espressoCore = "3.6.1"
8-
lifecycleRuntimeKtx = "2.8.7"
9-
activityCompose = "1.10.0"
10-
composeBom = "2025.01.00"
11-
composeMaterialAdaptive = "1.0.0"
8+
lifecycleRuntimeKtx = "2.9.0"
9+
activityCompose = "1.10.1"
10+
composeBom = "2025.05.00"
11+
composeMaterialAdaptive = "1.1.0"
1212

1313
[libraries]
1414
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Nov 21 11:45:08 EST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)