Update TwoPaneLayout to Compose 1.0.2 (#52)
This commit is contained in:
Родитель
3c87d3d013
Коммит
20c593adf0
|
@ -41,7 +41,7 @@ About some common use case for the two panes, please check out [user interface p
|
|||
|
||||
2. Add dependencies to the module-level **build.gradle** file (current version may be different from what's shown here).
|
||||
```gradle
|
||||
implementation "com.microsoft.device.dualscreen:twopanelayout:1.0.0-alpha07"
|
||||
implementation "com.microsoft.device.dualscreen:twopanelayout:1.0.0-alpha08"
|
||||
```
|
||||
3. Also ensure the compileSdkVersion and targetSdkVersion are set to API 31 or newer in the module-level build.gradle file.
|
||||
|
||||
|
@ -62,7 +62,7 @@ About some common use case for the two panes, please check out [user interface p
|
|||
|
||||
![surfaceduo](screenshots/surfaceduo.png)
|
||||
|
||||
- Foldabe device(1:1)
|
||||
- Foldable device(1:1)
|
||||
|
||||
![foldable](screenshots/foldable.png)
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ buildscript {
|
|||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
apply from: "$rootDir/ktlint.gradle"
|
||||
}
|
||||
|
|
|
@ -14,11 +14,11 @@ ext {
|
|||
|
||||
// TwoPaneLayout library version code:
|
||||
// If you want to publish a new version, bump in one (1) the specific line(s)
|
||||
twoPaneLayoutVersionCode = 7
|
||||
twoPaneLayoutVersionCode = 8
|
||||
|
||||
// TwoPaneLayout library version name:
|
||||
// If you want to publish a new version, bump the specific line
|
||||
twoPaneLayoutVersionName = '1.0.0-alpha07'
|
||||
twoPaneLayoutVersionName = '1.0.0-alpha08'
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
|
@ -49,9 +49,9 @@ ext {
|
|||
window : "androidx.window:window:$windowVersion"
|
||||
]
|
||||
|
||||
composeVersion = "1.0.1"
|
||||
activityComposeVersion = "1.3.0"
|
||||
navigationComposeVersion = "2.4.0-alpha07"
|
||||
composeVersion = "1.0.2"
|
||||
activityComposeVersion = "1.3.1"
|
||||
navigationComposeVersion = "2.4.0-alpha09"
|
||||
|
||||
composeDependencies = [
|
||||
composeMaterial : "androidx.compose.material:material:$composeVersion",
|
||||
|
|
Загрузка…
Ссылка в новой задаче