surface-duo-compose-sdk
This repo contains components built with Jetpack Compose for the Microsoft Surface Duo.
File Explorer
Download Latest Version (.zip)- bug_report.md
- feature_request.md
- build_test_check.yml
- publish_composetesting_ado.yml
- publish_composetesting_mavencentral.yml
- publish_draganddrop_ado.yml
- publish_draganddrop_mavencentral.yml
- publish_twopanelayout_ado.yml
- publish_twopanelayout_mavencentral.yml
- publish_windowstate_ado.yml
- publish_windowstate_mavencentral.yml
- pull_request_template.md
- gradle-wrapper.jar
- gradle-wrapper.properties
- FoldingFeatureHelper.kt
- StringHelper.kt
- TestRules.kt
- AndroidManifest.xml
- .gitignore
- build.gradle
- consumer-rules.pro
- proguard-rules.pro
- AnnotationTest.kt
- FoldingFeatureTest.kt
- StringTest.kt
- SwipeTest.kt
- Color.kt
- Shape.kt
- Theme.kt
- Type.kt
- MainActivity.kt
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- themes.xml
- themes.xml
- AndroidManifest.xml
- .gitignore
- build.gradle
- .gitignore
- build.gradle
- dependencies.gradle
- gradle.properties
- gradlew
- gradlew.bat
- ktlint.gradle
- publishing.gradle
- README.md
- settings.gradle
- gradle-wrapper.jar
- gradle-wrapper.properties
- DragContainer.kt
- DragData.kt
- DropContainer.kt
- MimeType.kt
- AndroidManifest.xml
- .gitignore
- build.gradle
- consumer-rules.pro
- proguard-rules.pro
- Color.kt
- Shape.kt
- Theme.kt
- Type.kt
- DragPane.kt
- DropPane.kt
- MainActivity.kt
- drag_and_drop_image.png
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- themes.xml
- backup_rules.xml
- data_extraction_rules.xml
- AndroidManifest.xml
- .gitignore
- build.gradle
- proguard-rules.pro
- dual_screen.gif
- single_screen.gif
- .gitignore
- build.gradle
- dependencies.gradle
- gradle.properties
- gradlew
- gradlew.bat
- ktlint.gradle
- publishing.gradle
- README.md
- settings.gradle
- gradle-wrapper.jar
- gradle-wrapper.properties
- LayoutTest.kt
- NavigateUpToTest.kt
- NavigationTest.kt
- TestActivity.kt
- TwoPaneTest.kt
- AndroidManifest.xml
- PaneSizeUtils.kt
- TwoPaneLayoutMeasure.kt
- TwoPaneLayoutCore.kt
- TwoPaneScopeInstance.kt
- TwoPaneScopeTest.kt
- TwoPaneBackStackEntry.kt
- TwoPaneLayoutNavCore.kt
- TwoPaneNavScopeInstance.kt
- TwoPaneNavScopeTest.kt
- Screen.kt
- TwoPaneLayout.kt
- TwoPaneMode.kt
- TwoPaneScope.kt
- AndroidManifest.xml
- .gitignore
- build.gradle
- BasicDestinationTest.kt
- NavSampleTest.kt
- Color.kt
- Shape.kt
- Theme.kt
- Type.kt
- BasicDestination.kt
- MainActivity.kt
- SampleDestination.kt
- ic_launcher_background.xml
- pane_1_red.png
- pane_1_yellow.png
- pane_2_green.png
- pane_2_purple.png
- ic_launcher_foreground.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- themes.xml
- AndroidManifest.xml
- .gitignore
- build.gradle
- SampleTest.kt
- TopBarTest.kt
- Color.kt
- Shape.kt
- Theme.kt
- Type.kt
- MainActivity.kt
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- themes.xml
- AndroidManifest.xml
- .gitignore
- build.gradle
- foldable.png
- single-horizontal.png
- single-vertical.png
- surfaceduo.png
- tablet.png
- twopanelayoutnav.gif
- .gitignore
- build.gradle
- dependencies.gradle
- gradle.properties
- gradlew
- gradlew.bat
- ktlint.gradle
- publishing.gradle
- README.md
- settings.gradle
- gradle-wrapper.jar
- gradle-wrapper.properties
- WindowStateComposeTest.kt
- WindowStateTest.kt
- Dimension.kt
- FoldState.kt
- WindowMode.kt
- WindowState.kt
- WindowStateHelper.kt
- strings.xml
- AndroidManifest.xml
- WindowModeTest.kt
- .gitignore
- build.gradle
- consumer-rules.pro
- proguard-rules.pro
- Color.kt
- Shape.kt
- Theme.kt
- Type.kt
- MainActivity.kt
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- themes.xml
- themes.xml
- AndroidManifest.xml
- .gitignore
- build.gradle
- proguard-rules.pro
- postures-overview.png
- sample_6.7.png
- sample_7.6.png
- sample_8.png
- sample_pixelc.png
- sample_surfaceduo2_spanned.png
- sample_surfaceduo2_unspanned.png
- .gitignore
- build.gradle
- dependencies.gradle
- gradle.properties
- gradlew
- gradlew.bat
- ktlint.gradle
- publishing.gradle
- README.md
- settings.gradle
- .gitignore
- CODE_OF_CONDUCT.md
- LICENSE
- README.md
- SECURITY.md
- SUPPORT.md
# Installation Guide
1. Get the code
git clone https://github.com/microsoft/surface-duo-compose-sdk
Downloads the entire project code from GitHub to your computer.
cd surface-duo-compose-sdk
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd ComposeTesting
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation
Was this content helpful?
(0 ratings)
