Skip to content

Commit 062a350

Browse files
committed
Initial commit for readme and gitignore
1 parent 38e6c56 commit 062a350

File tree

6 files changed

+48
-22
lines changed

6 files changed

+48
-22
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

AdaptiveNavigationSample/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Navigation Suite Scaffold with icons vertical alignment
2+
3+
This sample showcases how to leverage the new version of the `NavigationSuiteScaffold` to align the
4+
icons vertically to the top, center or bottom of the `NavRail`.
5+
6+
The core changes to an existing codebase are:
7+
- Use the `navigationItems` parameter to provide the entries, together with the constructor `NavigationSuiteItem` rather than the `item()` helper function
8+
- Pass the `Arrangement.Vertical` value to the `navigationItemVerticalArrangement` parameter in the `NavigationSuiteScaffold` declaration.
9+
10+
## Screenshot
11+
![Animation of the Navigation Suite Scaffold changing arrangement based on user's choice](/resources/scaffold_animated.gif)
881 KB
Loading

CanonicalLayouts/list-detail-compose/app/build.gradle

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
plugins {
1717
id 'com.android.application'
1818
id 'org.jetbrains.kotlin.android'
19-
id("org.jetbrains.kotlin.plugin.compose") version "2.0.20"
19+
id("org.jetbrains.kotlin.plugin.compose") version "2.2.20"
2020
}
2121

2222
android {
2323
namespace 'com.example.listdetailcompose'
24-
compileSdk 35
24+
compileSdk 36
2525

2626
defaultConfig {
2727
applicationId "com.example.listdetailcompose"
28-
minSdk 21
29-
targetSdk 35
28+
minSdk 23
29+
targetSdk 36
3030
versionCode 1
3131
versionName "1.0"
3232

@@ -66,22 +66,22 @@ composeCompiler {
6666
}
6767

6868
dependencies {
69-
def composeBom = platform('androidx.compose:compose-bom:2024.11.00')
69+
def composeBom = platform('androidx.compose:compose-bom:2025.09.00')
7070
implementation(composeBom)
7171

72-
implementation "com.google.accompanist:accompanist-adaptive:0.32.0"
73-
implementation 'androidx.core:core-ktx:1.15.0'
74-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7'
75-
implementation 'androidx.activity:activity-compose:1.9.3'
76-
implementation "androidx.compose.foundation:foundation:1.7.5"
77-
implementation "androidx.compose.ui:ui:1.7.5"
72+
implementation "com.google.accompanist:accompanist-adaptive:0.37.3"
73+
implementation 'androidx.core:core-ktx:1.17.0'
74+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.9.4'
75+
implementation 'androidx.activity:activity-compose:1.11.0'
76+
implementation "androidx.compose.foundation:foundation:1.9.1"
77+
implementation "androidx.compose.ui:ui:1.9.1"
7878
implementation "androidx.compose.ui:ui-tooling-preview"
79-
implementation "androidx.window:window:1.3.0"
80-
implementation 'androidx.compose.material3:material3:1.4.0-alpha04'
81-
implementation 'androidx.compose.material3.adaptive:adaptive:1.1.0-alpha07'
82-
implementation 'androidx.compose.material3.adaptive:adaptive-layout:1.1.0-alpha07'
83-
implementation 'androidx.compose.material3.adaptive:adaptive-navigation:1.1.0-alpha07'
84-
implementation "androidx.compose.material3:material3-window-size-class:1.3.1"
85-
implementation "androidx.compose.animation:animation:1.7.5"
79+
implementation "androidx.window:window:1.4.0"
80+
implementation 'androidx.compose.material3:material3:1.4.0-rc01'
81+
implementation 'androidx.compose.material3.adaptive:adaptive:1.2.0-beta02'
82+
implementation 'androidx.compose.material3.adaptive:adaptive-layout:1.2.0-beta02'
83+
implementation 'androidx.compose.material3.adaptive:adaptive-navigation:1.2.0-beta02'
84+
implementation "androidx.compose.material3:material3-window-size-class:1.5.0-alpha04"
85+
implementation "androidx.compose.animation:animation:1.9.1"
8686
testImplementation 'junit:junit:4.13.2'
8787
}

CanonicalLayouts/list-detail-compose/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616
plugins {
17-
id 'com.android.application' version '8.7.3' apply false
18-
id 'com.android.library' version '8.7.3' apply false
19-
id 'org.jetbrains.kotlin.android' version '2.0.20' apply false
17+
id 'com.android.application' version '8.11.2' apply false
18+
id 'com.android.library' version '8.11.2' apply false
19+
id 'org.jetbrains.kotlin.android' version '2.2.20' apply false
2020
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed May 25 14:11:15 UTC 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)