Updated README and added icons for each buildType (#40)
* Renamed the emulator buildType and the suffix so it's different from the one pre-installed on the emulator * Added different icons for each buildType * Update README file and added screenshots * Added Google Play badge to link to the app from Play Store
31
README.md
|
@ -1,25 +1,51 @@
|
||||||
# Dual Screen Experience Example
|
# Dual Screen Experience Example
|
||||||
|
|
||||||
This repo contains a sample Android application for Microsoft Surface Duo. It demonstrates [dual-screen controls](https://docs.microsoft.com/dual-screen/android/api-reference/dualscreen-library/) and [user interface patterns](https://docs.microsoft.com/dual-screen/introduction#dual-screen-app-patterns).
|
The application provides developers and designers with real world, working examples of how to make
|
||||||
|
use of the dual-screen/foldable form factor in different ways. It enables an end-to-end experience
|
||||||
|
using a prescribed user scenario, centered around the needs of a travelling salesperson who visits
|
||||||
|
various fictitious stores which are interested in buying the salesperson’s fictitious products.
|
||||||
|
It helps the salesperson select and navigate to multiple predetermined customer locations in a city,
|
||||||
|
assist the salesperson's tasks in various ways during the visit to each potential client, and create
|
||||||
|
a report of each visit.
|
||||||
|
|
||||||
|
When spanned across the folding feature, a Developer Mode option appears in the toolbar which shows
|
||||||
|
more details regarding each screen - the code behind it, the [user interface patterns](https://docs.microsoft.com/dual-screen/introduction#dual-screen-app-patterns)
|
||||||
|
it implements and the [dual-screen controls](https://docs.microsoft.com/dual-screen/android/api-reference/dualscreen-library/) it uses.
|
||||||
|
|
||||||
![Dual Screen Experience Example build](https://github.com/microsoft/surface-duo-dual-screen-experience-example/workflows/Dual%20Screen%20Experience%20Example%20build/badge.svg)
|
![Dual Screen Experience Example build](https://github.com/microsoft/surface-duo-dual-screen-experience-example/workflows/Dual%20Screen%20Experience%20Example%20build/badge.svg)
|
||||||
|
|
||||||
|
## Install from Google Play Store
|
||||||
|
|
||||||
|
If you want to try out the released version, you can find it here:
|
||||||
|
|
||||||
|
[![Google Play Badge](google_play_badge.png)](https://aka.ms/DualScreenExperiencePlayStore)
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
To learn how to load your app on the Surface Duo emulator, see the [documentation](https://docs.microsoft.com/dual-screen/android), and follow [the blog](https://devblogs.microsoft.com/surface-duo).
|
To learn how to load your app on the Surface Duo emulator, see the [documentation](https://docs.microsoft.com/dual-screen/android), and follow [the blog](https://devblogs.microsoft.com/surface-duo).
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|
![Catalog dual portrait](screenshots/dual_portrait_catalog.png)
|
||||||
|
|
||||||
|
![Product Customize dual portrait](screenshots/dual_portrait_product_customize.png)
|
||||||
|
|
||||||
|
![Order dual portrait](screenshots/dual_portrait_order.png)
|
||||||
|
|
||||||
|
![Developer Mode dual portrait](screenshots/dual_portrait_dev_mode.png)
|
||||||
|
|
||||||
## Related links
|
## Related links
|
||||||
|
|
||||||
- [SDK open-source code](https://github.com/microsoft/surface-duo-sdk)
|
- [SDK open-source code](https://github.com/microsoft/surface-duo-sdk)
|
||||||
- [SDK samples (Kotlin)](https://github.com/microsoft/surface-duo-sdk-samples-kotlin)
|
- [SDK samples (Kotlin)](https://github.com/microsoft/surface-duo-sdk-samples-kotlin)
|
||||||
- [SDK samples (Java)](https://github.com/microsoft/surface-duo-sdk-samples)
|
- [SDK samples (Java)](https://github.com/microsoft/surface-duo-sdk-samples)
|
||||||
- [App samples](https://github.com/microsoft/surface-duo-app-samples)
|
- [App samples](https://github.com/microsoft/surface-duo-app-samples)
|
||||||
|
- [Jetpack Window Manager samples](https://github.com/microsoft/surface-duo-window-manager-samples)
|
||||||
- [Jetpack Compose samples](https://github.com/microsoft/surface-duo-compose-samples)
|
- [Jetpack Compose samples](https://github.com/microsoft/surface-duo-compose-samples)
|
||||||
- [Unity samples](https://github.com/microsoft/surface-duo-sdk-unity-samples)
|
- [Unity samples](https://github.com/microsoft/surface-duo-sdk-unity-samples)
|
||||||
- [Xamarin samples](https://github.com/microsoft/surface-duo-sdk-xamarin-samples)
|
- [Xamarin samples](https://github.com/microsoft/surface-duo-sdk-xamarin-samples)
|
||||||
- [Flutter samples](https://github.com/microsoft/surface-duo-sdk-samples-flutter)
|
- [Flutter samples](https://github.com/microsoft/surface-duo-sdk-samples-flutter)
|
||||||
- [React Native samples](https://github.com/microsoft/react-native-dualscreen)
|
- [React Native samples](https://github.com/microsoft/react-native-dualscreen)
|
||||||
- Web samples are coming soon
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
@ -40,6 +66,7 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio
|
||||||
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft’s Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
|
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft’s Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
|
|
|
@ -51,8 +51,8 @@ android {
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
|
|
||||||
releaseEmulator {
|
emulator {
|
||||||
applicationIdSuffix ".emulator"
|
applicationIdSuffix ".appEmulator"
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
debuggable false
|
debuggable false
|
||||||
|
@ -117,7 +117,7 @@ dependencies {
|
||||||
debugImplementation googleDependencies.mapsKtx
|
debugImplementation googleDependencies.mapsKtx
|
||||||
releaseImplementation googleDependencies.maps
|
releaseImplementation googleDependencies.maps
|
||||||
releaseImplementation googleDependencies.mapsKtx
|
releaseImplementation googleDependencies.mapsKtx
|
||||||
releaseEmulatorImplementation microsoftDependencies.bingMaps
|
emulatorImplementation microsoftDependencies.bingMaps
|
||||||
|
|
||||||
implementation microsoftDependencies.bottomNavBar
|
implementation microsoftDependencies.bottomNavBar
|
||||||
implementation microsoftDependencies.recyclerView
|
implementation microsoftDependencies.recyclerView
|
||||||
|
|
После Ширина: | Высота: | Размер: 1.8 KiB |
После Ширина: | Высота: | Размер: 2.6 KiB |
После Ширина: | Высота: | Размер: 866 B |
После Ширина: | Высота: | Размер: 1.2 KiB |
После Ширина: | Высота: | Размер: 1.2 KiB |
После Ширина: | Высота: | Размер: 1.6 KiB |
После Ширина: | Высота: | Размер: 2.6 KiB |
После Ширина: | Высота: | Размер: 3.6 KiB |
После Ширина: | Высота: | Размер: 4.0 KiB |
После Ширина: | Высота: | Размер: 5.5 KiB |
После Ширина: | Высота: | Размер: 5.6 KiB |
После Ширина: | Высота: | Размер: 7.6 KiB |
После Ширина: | Высота: | Размер: 2.0 KiB |
После Ширина: | Высота: | Размер: 2.9 KiB |
После Ширина: | Высота: | Размер: 911 B |
После Ширина: | Высота: | Размер: 1.4 KiB |
После Ширина: | Высота: | Размер: 1.2 KiB |
После Ширина: | Высота: | Размер: 1.9 KiB |
После Ширина: | Высота: | Размер: 2.8 KiB |
После Ширина: | Высота: | Размер: 4.1 KiB |
После Ширина: | Высота: | Размер: 4.3 KiB |
После Ширина: | Высота: | Размер: 6.2 KiB |
После Ширина: | Высота: | Размер: 6.0 KiB |
После Ширина: | Высота: | Размер: 8.6 KiB |
До Ширина: | Высота: | Размер: 1.6 KiB После Ширина: | Высота: | Размер: 1.6 KiB |
До Ширина: | Высота: | Размер: 2.2 KiB После Ширина: | Высота: | Размер: 2.2 KiB |
До Ширина: | Высота: | Размер: 813 B После Ширина: | Высота: | Размер: 813 B |
До Ширина: | Высота: | Размер: 1.1 KiB После Ширина: | Высота: | Размер: 1.1 KiB |
До Ширина: | Высота: | Размер: 1.0 KiB После Ширина: | Высота: | Размер: 1.0 KiB |
До Ширина: | Высота: | Размер: 1.4 KiB После Ширина: | Высота: | Размер: 1.4 KiB |
До Ширина: | Высота: | Размер: 2.2 KiB После Ширина: | Высота: | Размер: 2.2 KiB |
До Ширина: | Высота: | Размер: 3.0 KiB После Ширина: | Высота: | Размер: 3.0 KiB |
До Ширина: | Высота: | Размер: 3.6 KiB После Ширина: | Высота: | Размер: 3.6 KiB |
До Ширина: | Высота: | Размер: 4.9 KiB После Ширина: | Высота: | Размер: 4.9 KiB |
До Ширина: | Высота: | Размер: 4.9 KiB После Ширина: | Высота: | Размер: 4.9 KiB |
До Ширина: | Высота: | Размер: 6.7 KiB После Ширина: | Высота: | Размер: 6.7 KiB |
После Ширина: | Высота: | Размер: 14 KiB |
После Ширина: | Высота: | Размер: 298 KiB |
После Ширина: | Высота: | Размер: 248 KiB |
После Ширина: | Высота: | Размер: 168 KiB |
После Ширина: | Высота: | Размер: 279 KiB |