├── .github ├── scripts │ ├── checksum.sh │ └── gradlew_recursive.sh └── workflows │ ├── android.yml │ └── copy-branch.yml ├── .gitignore ├── ActivityEmbeddingWithPredictiveBack ├── app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── sample │ │ │ └── ae │ │ │ └── pb │ │ │ ├── MainActivity.kt │ │ │ ├── PlaceholderActivity.kt │ │ │ ├── WindowInitializer.kt │ │ │ └── ui │ │ │ └── theme │ │ │ ├── Color.kt │ │ │ ├── Theme.kt │ │ │ └── Type.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ ├── data_extraction_rules.xml │ │ └── main_split_config.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── guestapp │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── sample │ │ │ └── ae │ │ │ └── guestapp │ │ │ ├── MainGuestActivity.kt │ │ │ └── ui │ │ │ └── theme │ │ │ ├── Color.kt │ │ │ ├── Theme.kt │ │ │ └── Type.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml └── settings.gradle ├── AppWidget ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── appwidget │ │ │ ├── AppWidgetPinnedReceiver.kt │ │ │ ├── MainActivity.kt │ │ │ ├── glance │ │ │ ├── GlanceKtx.kt │ │ │ ├── GlanceTheme.kt │ │ │ ├── buttons │ │ │ │ └── ButtonsGlanceWidget.kt │ │ │ ├── image │ │ │ │ ├── ImageGlanceWidget.kt │ │ │ │ └── ImageWorker.kt │ │ │ ├── list │ │ │ │ └── ListGlanceWidget.kt │ │ │ └── weather │ │ │ │ ├── WeatherGlanceWidget.kt │ │ │ │ ├── WeatherGlanceWidgetReceiver.kt │ │ │ │ ├── WeatherInfo.kt │ │ │ │ ├── WeatherInfoStateDefinition.kt │ │ │ │ ├── WeatherRepo.kt │ │ │ │ └── WeatherWorker.kt │ │ │ └── rv │ │ │ ├── buttons │ │ │ └── ButtonsAppWidget.kt │ │ │ ├── list │ │ │ ├── ListAppWidget.kt │ │ │ ├── ListSharedPrefsUtil.kt │ │ │ └── ListWidgetConfigureActivity.kt │ │ │ └── weather │ │ │ └── WeatherForecastAppWidget.kt │ │ └── res │ │ ├── drawable-nodpi │ │ ├── buttons_widget_preview.png │ │ ├── grocery_list_widget_preview.png │ │ ├── ic_cloudy.xml │ │ ├── ic_partly_cloudy.xml │ │ ├── ic_rainy.xml │ │ ├── ic_sunny.xml │ │ ├── image_widget_preview.png │ │ ├── todo_list_glance_widget_preview.png │ │ └── weather_forecast_widget_preview.png │ │ ├── drawable-v21 │ │ ├── app_widget_background.xml │ │ └── app_widget_inner_view_background.xml │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── configure_activity_list_background.xml │ │ ├── configure_activity_list_background_with_ripple.xml │ │ ├── ic_add_24.xml │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_widget_configure.xml │ │ ├── item_buttons.xml │ │ ├── item_checkboxes.xml │ │ ├── item_radio_buttons.xml │ │ ├── item_switches.xml │ │ ├── widget_buttons.xml │ │ ├── widget_buttons_preview.xml │ │ ├── widget_checkbox_list_title_region.xml │ │ ├── widget_grocery_grid.xml │ │ ├── widget_grocery_list.xml │ │ ├── widget_grocery_list_left_items.xml │ │ ├── widget_image_preview.xml │ │ ├── widget_loading.xml │ │ ├── widget_todo_list.xml │ │ ├── widget_todo_list_glance_preview.xml │ │ ├── widget_weather_forecast_large.xml │ │ ├── widget_weather_forecast_medium.xml │ │ ├── widget_weather_forecast_region_temperature_coming_hours.xml │ │ └── widget_weather_forecast_small.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night-v31 │ │ └── glance_colors.xml │ │ ├── values-night │ │ └── glance_colors.xml │ │ ├── values-v31 │ │ ├── glance_colors.xml │ │ ├── styles.xml │ │ └── themes.xml │ │ ├── values │ │ ├── attrs.xml │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── glance_colors.xml │ │ ├── strings.xml │ │ ├── styles.xml │ │ └── themes.xml │ │ └── xml │ │ ├── app_widget_buttons_glance.xml │ │ ├── app_widget_buttons_rv.xml │ │ ├── app_widget_image_glance.xml │ │ ├── app_widget_list_glance.xml │ │ ├── app_widget_list_rv.xml │ │ ├── app_widget_weather_forecast.xml │ │ ├── app_widget_weather_forecast_glance.xml │ │ └── image_paths.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── dynamic_coloring_dark_theme.png │ ├── dynamic_coloring_light_theme.png │ ├── image-gif.gif │ ├── run-widget-config.png │ ├── todo-gif.gif │ ├── weather-gif.gif │ ├── widget_grocery_grid.png │ ├── widget_grocery_list.png │ ├── widget_items_collection.png │ ├── widget_preview.png │ ├── widget_reconfigure.png │ ├── widget_resizing.png │ ├── widget_rounded_corners.png │ └── widget_smooth_transition.gif └── settings.gradle ├── CONTRIBUTING.md ├── CanonicalLayouts ├── .gitignore ├── README.md ├── feed-compose │ ├── .gitignore │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── feedcompose │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── data │ │ │ │ ├── DataProvider.kt │ │ │ │ └── Sweets.kt │ │ │ │ └── ui │ │ │ │ ├── FeedSampleApp.kt │ │ │ │ ├── components │ │ │ │ ├── TopAppBar.kt │ │ │ │ └── feed │ │ │ │ │ ├── Feed.kt │ │ │ │ │ └── FeedScopeImpl.kt │ │ │ │ ├── screen │ │ │ │ ├── SweetsDetails.kt │ │ │ │ └── SweetsFeed.kt │ │ │ │ └── theme │ │ │ │ ├── Color.kt │ │ │ │ ├── FeedComposeTheme.kt │ │ │ │ └── Type.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── ic_baseline_arrow_back_24.xml │ │ │ ├── ic_baseline_arrow_upward_24.xml │ │ │ ├── ic_baseline_check_24.xml │ │ │ ├── ic_launcher_background.xml │ │ │ └── placeholder_sweets.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── feed-view │ ├── .gitignore │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── viewbasedfeedlayoutsample │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── data │ │ │ │ ├── DataProvider.kt │ │ │ │ └── Sweets.kt │ │ │ │ ├── ui │ │ │ │ ├── MySweetsRecyclerViewAdapter.kt │ │ │ │ ├── SweetsDetailsFragment.kt │ │ │ │ ├── SweetsFeedFragment.kt │ │ │ │ ├── SweetsFeedItemDecoration.kt │ │ │ │ └── SweetsFeedItemDecorationInGrid.kt │ │ │ │ └── viewModel │ │ │ │ └── SweetsFeedState.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── ic_launcher_background.xml │ │ │ └── thumbnail.xml │ │ │ ├── layout-w600dp │ │ │ └── fragment_sweets_feed_item.xml │ │ │ ├── layout-w840dp │ │ │ └── fragment_sweets_details.xml │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── content_main.xml │ │ │ ├── fragment_sweets_details.xml │ │ │ ├── fragment_sweets_feed.xml │ │ │ └── fragment_sweets_feed_item.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── navigation │ │ │ └── nav_graph.xml │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ ├── values-v29 │ │ │ └── themes.xml │ │ │ ├── values-w600dp │ │ │ ├── dimens.xml │ │ │ └── integers.xml │ │ │ ├── values-w840dp │ │ │ └── integers.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── integers.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── list-detail-activity-embedding │ ├── .gitignore │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── activityembedding │ │ │ │ └── MainActivityTest.kt │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── activityembedding │ │ │ │ ├── Data.kt │ │ │ │ ├── DetailActivity.kt │ │ │ │ ├── ListAdapter.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── PlaceholderActivity.kt │ │ │ │ └── WindowInitializer.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ ├── activity_detail.xml │ │ │ ├── activity_main.xml │ │ │ ├── activity_placeholder.xml │ │ │ └── list_item.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-land │ │ │ └── dimens.xml │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ ├── values-w1240dp │ │ │ └── dimens.xml │ │ │ ├── values-w600dp │ │ │ └── dimens.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ ├── data_extraction_rules.xml │ │ │ └── split_configuration.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── list-detail-compose │ ├── .gitignore │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── listdetailcompose │ │ │ │ ├── MainActivity.kt │ │ │ │ └── ui │ │ │ │ ├── ListDetailSample.kt │ │ │ │ └── theme │ │ │ │ ├── Color.kt │ │ │ │ ├── Theme.kt │ │ │ │ └── Type.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── ic_food.xml │ │ │ ├── ic_launcher_background.xml │ │ │ └── ic_no_food.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── list-detail-sliding-pane │ ├── .gitignore │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── listdetail │ │ │ │ └── slidingpane │ │ │ │ ├── Data.kt │ │ │ │ ├── DetailFragment.kt │ │ │ │ ├── ListFragment.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── RecyclerView.kt │ │ │ │ └── SlidingPaneBackManager.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── ic_launcher_background.xml │ │ │ ├── list_item_background.xml │ │ │ ├── list_item_selected.xml │ │ │ └── list_item_selector.xml │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── fragment_detail.xml │ │ │ ├── fragment_list.xml │ │ │ └── list_item.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── navigation │ │ │ └── item_navigation.xml │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── supporting-pane-compose │ ├── .gitignore │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── supportingpanecompose │ │ │ │ ├── MainActivity.kt │ │ │ │ └── ui │ │ │ │ ├── SupportingPaneSample.kt │ │ │ │ └── theme │ │ │ │ ├── Color.kt │ │ │ │ ├── Theme.kt │ │ │ │ └── Type.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── supporting-pane-fragments │ ├── .gitignore │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── google │ │ │ │ └── supporting │ │ │ │ └── pane │ │ │ │ └── fragments │ │ │ │ ├── ContentViewModel.kt │ │ │ │ ├── Data.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── MainFragment.kt │ │ │ │ ├── SupportAdapter.kt │ │ │ │ └── SupportFragment.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout-w840dp │ │ │ └── activity_main.xml │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── fragment_main.xml │ │ │ ├── fragment_support.xml │ │ │ └── item_support.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle └── supporting-pane-views │ ├── .gitignore │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── supporting │ │ │ └── pane │ │ │ └── views │ │ │ ├── ContentViewModel.kt │ │ │ ├── Data.kt │ │ │ ├── MainActivity.kt │ │ │ ├── MainContentView.kt │ │ │ ├── SupportAdapter.kt │ │ │ └── SupportingContentView.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout-w840dp │ │ └── activity_main.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── item_support.xml │ │ ├── main_content.xml │ │ └── supporting_content.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── scripts │ ├── copyright │ └── greclipse.properties │ └── settings.gradle ├── DownloadableFonts ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── build.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── downloadablefonts │ │ │ ├── Constants.kt │ │ │ ├── MainActivity.kt │ │ │ └── QueryBuilder.kt │ │ └── res │ │ ├── font │ │ └── lobster_two.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ └── bottom_sheet_font_query.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── family_names.xml │ │ ├── font_certs.xml │ │ ├── preloaded_fonts.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── icon-web.png │ ├── screenshot-1.png │ ├── screenshot-2.png │ └── screenshot-3.png └── settings.gradle ├── DragAndDrop ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── dev │ │ │ └── hadrosaur │ │ │ └── draganddropsample │ │ │ ├── BitmapUtil.kt │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-nodpi │ │ └── earth.png │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── bg_drag_normal.xml │ │ ├── bg_target_normal.xml │ │ ├── ic_clear.xml │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ └── filepaths.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ └── drag-n-drop.gif └── settings.gradle ├── EmojiCompat ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── emojicompat │ │ │ └── MainActivityTest.kt │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── emojicompat │ │ │ ├── CustomTextView.kt │ │ │ ├── EmojiCompatApplication.kt │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── font_certs.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── 1-main.png │ └── icon-web.png └── settings.gradle ├── Haptics ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── haptics │ │ │ └── samples │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── ic_launcher-playstore.png │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── android │ │ │ │ └── haptics │ │ │ │ └── samples │ │ │ │ └── ui │ │ │ │ ├── AppDrawer.kt │ │ │ │ ├── HapticSamplerApp.kt │ │ │ │ ├── HapticSamplerNavigation.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── bounce │ │ │ │ ├── BounceRoute.kt │ │ │ │ └── BounceViewModel.kt │ │ │ │ ├── components │ │ │ │ └── Screen.kt │ │ │ │ ├── expand │ │ │ │ ├── ExpandRoute.kt │ │ │ │ ├── ExpandShape.kt │ │ │ │ └── ExpandViewModel.kt │ │ │ │ ├── home │ │ │ │ ├── HomeRoute.kt │ │ │ │ └── HomeViewModel.kt │ │ │ │ ├── modifiers │ │ │ │ └── Modifiers.kt │ │ │ │ ├── resist │ │ │ │ ├── ResistRoute.kt │ │ │ │ └── ResistViewModel.kt │ │ │ │ ├── shapes │ │ │ │ └── ElasticTopShape.kt │ │ │ │ ├── theme │ │ │ │ ├── Color.kt │ │ │ │ ├── Shape.kt │ │ │ │ ├── Theme.kt │ │ │ │ └── Type.kt │ │ │ │ ├── utils │ │ │ │ └── MathUtils.kt │ │ │ │ └── wobble │ │ │ │ ├── WobbleRoute.kt │ │ │ │ └── WobbleViewModel.kt │ │ └── res │ │ │ ├── drawable │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── ic_launcher_background.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── android │ │ └── haptics │ │ └── samples │ │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── bounce.gif │ ├── expand.gif │ ├── resist.gif │ └── wobble.gif ├── settings.gradle └── spotless │ └── license.kt ├── ImmersiveMode ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── immersivemode │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ └── main_activity.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── icon-web.png │ └── main.png └── settings.gradle ├── LICENSE ├── People ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── people │ │ │ ├── BubbleActivityTest.kt │ │ │ └── MainActivityTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ │ ├── cat.jpg │ │ │ ├── dog.jpg │ │ │ ├── parrot.jpg │ │ │ ├── sheep.jpg │ │ │ └── sheep_full.jpg │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── android │ │ │ │ └── people │ │ │ │ ├── AssetFileProvider.kt │ │ │ │ ├── BubbleActivity.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── NavigationController.kt │ │ │ │ ├── ReplyReceiver.kt │ │ │ │ ├── VoiceCallActivity.kt │ │ │ │ ├── data │ │ │ │ ├── Chat.kt │ │ │ │ ├── ChatRepository.kt │ │ │ │ ├── Contact.kt │ │ │ │ ├── Message.kt │ │ │ │ └── NotificationHelper.kt │ │ │ │ └── ui │ │ │ │ ├── ViewBindingDelegates.kt │ │ │ │ ├── chat │ │ │ │ ├── ChatEditText.kt │ │ │ │ ├── ChatFragment.kt │ │ │ │ ├── ChatViewModel.kt │ │ │ │ ├── MessageAdapter.kt │ │ │ │ └── PermissionRequest.kt │ │ │ │ ├── main │ │ │ │ ├── ContactAdapter.kt │ │ │ │ ├── HeaderAdapter.kt │ │ │ │ ├── MainFragment.kt │ │ │ │ └── MainViewModel.kt │ │ │ │ └── photo │ │ │ │ └── PhotoFragment.kt │ │ └── res │ │ │ ├── drawable │ │ │ ├── ic_launcher_foreground.xml │ │ │ ├── ic_message.xml │ │ │ ├── ic_open_in_new.xml │ │ │ ├── ic_send.xml │ │ │ ├── ic_voice_call.xml │ │ │ ├── message_incoming.xml │ │ │ └── message_outgoing.xml │ │ │ ├── layout │ │ │ ├── bubble_activity.xml │ │ │ ├── chat_fragment.xml │ │ │ ├── chat_item.xml │ │ │ ├── contact_header.xml │ │ │ ├── main_activity.xml │ │ │ ├── main_fragment.xml │ │ │ ├── message_item.xml │ │ │ ├── photo_fragment.xml │ │ │ └── voice_call_activity.xml │ │ │ ├── menu │ │ │ └── chat.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── transition │ │ │ ├── app_bar.xml │ │ │ ├── slide_bottom.xml │ │ │ └── slide_top.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── ic_launcher_background.xml │ │ │ ├── ids.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ │ └── xml │ │ │ └── shortcuts.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── android │ │ └── people │ │ ├── LiveDataTestUtils.kt │ │ ├── data │ │ └── TestChatRepository.kt │ │ └── ui │ │ ├── chat │ │ └── ChatViewModelTest.kt │ │ └── main │ │ └── MainViewModelTest.kt ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── bubble.png │ ├── chat.png │ ├── derivative-channel.png │ ├── icon-web.png │ └── main.png └── settings.gradle ├── PerAppLanguages ├── .gitignore ├── compose_app │ ├── README.md │ ├── app │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── perapplanguages │ │ │ │ ├── MainActivity.kt │ │ │ │ └── ui │ │ │ │ └── theme │ │ │ │ ├── Color.kt │ │ │ │ ├── Shape.kt │ │ │ │ ├── Theme.kt │ │ │ │ └── Type.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-fr │ │ │ └── strings.xml │ │ │ ├── values-hi │ │ │ └── strings.xml │ │ │ ├── values-ja │ │ │ └── strings.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ ├── data_extraction_rules.xml │ │ │ └── locales_config.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── screenshots │ │ ├── in_app_language_picker.gif │ │ └── settings_app_languages.jpg │ └── settings.gradle └── views_app │ ├── LICENSE │ ├── README.md │ ├── app │ ├── build.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── views_app │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-ar-rAE │ │ └── strings.xml │ │ ├── values-b+zh+Hant+TW │ │ └── strings.xml │ │ ├── values-es-rES │ │ └── strings.xml │ │ ├── values-hi-rIN │ │ └── strings.xml │ │ ├── values-ja-rJP │ │ └── strings.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ └── locale_configs.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── screenshots │ ├── SampleAppWalkThrough.gif │ └── SystemSettings.gif │ └── settings.gradle ├── Preferences ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── build.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── androidx │ │ │ └── preference │ │ │ └── sample │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_android.xml │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values │ │ ├── arrays.xml │ │ ├── strings.xml │ │ └── styles.xml │ │ └── xml │ │ ├── advanced.xml │ │ ├── basic_preferences.xml │ │ ├── dialogs.xml │ │ ├── root.xml │ │ └── widgets.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── Quick-Settings ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── google │ │ │ └── android_quick_settings │ │ │ └── ApplicationTest.java │ │ ├── completed │ │ └── java │ │ │ └── com │ │ │ └── google │ │ │ └── android_quick_settings │ │ │ ├── QSDialogService.java │ │ │ ├── QSIntentService.java │ │ │ └── QuickSettingsService.java │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── google │ │ │ │ └── android_quick_settings │ │ │ │ ├── MainActivity.java │ │ │ │ ├── QSDialog.java │ │ │ │ └── ResultActivity.java │ │ └── res │ │ │ ├── drawable │ │ │ ├── ic_android_black_24dp.xml │ │ │ ├── ic_assignment_black_24dp.xml │ │ │ └── ic_widgets_black_24dp.xml │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── activity_result.xml │ │ │ └── dialog_quicksettings.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ ├── start │ │ └── java │ │ │ └── com │ │ │ └── google │ │ │ └── android_quick_settings │ │ │ └── QuickSettingsService.java │ │ └── test │ │ └── java │ │ └── com │ │ └── google │ │ └── android_quick_settings │ │ └── ExampleUnitTest.java ├── build.gradle ├── extras │ └── demo.gif ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── README.md ├── SplashScreen ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ └── src │ │ ├── androidTest │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── splashscreen │ │ │ └── LaunchTest.kt │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── splashscreen │ │ │ ├── AnimatedActivity.kt │ │ │ ├── CustomActivity.kt │ │ │ ├── DefaultActivity.kt │ │ │ ├── MainActivity.kt │ │ │ └── MainViewModel.kt │ │ └── res │ │ ├── drawable │ │ ├── ic_hourglass.xml │ │ └── ic_hourglass_animated.xml │ │ ├── layout │ │ └── main_activity.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values-night │ │ ├── colors.xml │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── icon-web.png │ └── main.gif └── settings.gradle ├── Text ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── text │ │ │ └── MainActivityTest.kt │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── text │ │ │ ├── MainActivity.kt │ │ │ ├── demo │ │ │ ├── Demo.kt │ │ │ ├── conversion │ │ │ │ ├── ConversionEditText.kt │ │ │ │ ├── ConversionFragment.kt │ │ │ │ └── ConversionInputConnection.kt │ │ │ ├── hyphenation │ │ │ │ └── HyphenationFragment.kt │ │ │ ├── linebreak │ │ │ │ ├── EditTextDialogFragment.kt │ │ │ │ └── LineBreakFragment.kt │ │ │ ├── linkify │ │ │ │ └── LinkifyFragment.kt │ │ │ └── textspan │ │ │ │ └── TextSpanFragment.kt │ │ │ └── ui │ │ │ ├── ViewBindingDelegates.kt │ │ │ ├── home │ │ │ ├── DemoListAdapter.kt │ │ │ └── HomeFragment.kt │ │ │ └── utils │ │ │ ├── AdapterView.kt │ │ │ └── SeekBar.kt │ │ └── res │ │ ├── drawable │ │ ├── ic_back.xml │ │ ├── ic_edit.xml │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ ├── conversion_fragment.xml │ │ ├── demo_item.xml │ │ ├── edit_text_dialog_fragment.xml │ │ ├── home_fragment.xml │ │ ├── hyphenation_fragment.xml │ │ ├── line_break_control.xml │ │ ├── line_break_fragment.xml │ │ ├── linkify_fragment.xml │ │ ├── main_activity.xml │ │ └── text_span_fragment.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values-night │ │ └── themes.xml │ │ ├── values-v23 │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── ic_launcher_background.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ └── ic_launcher-playstore.png └── settings.gradle ├── TextStyling ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── android │ │ │ └── example │ │ │ └── text │ │ │ └── styling │ │ │ └── renderer │ │ │ ├── MarkdownBuilderTest.kt │ │ │ └── spans │ │ │ ├── BulletPointSpanTest.kt │ │ │ ├── CodeBlockSpanTest.kt │ │ │ └── FontSpanTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── android │ │ │ │ └── example │ │ │ │ └── text │ │ │ │ └── styling │ │ │ │ ├── Extensions.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── parser │ │ │ │ ├── Markdown.kt │ │ │ │ └── Parser.kt │ │ │ │ └── renderer │ │ │ │ ├── MarkdownBuilder.kt │ │ │ │ └── spans │ │ │ │ ├── BulletPointSpan.kt │ │ │ │ ├── CodeBlockSpan.kt │ │ │ │ └── FontSpan.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── font │ │ │ └── inconsolata.xml │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── font_certs.xml │ │ │ ├── preloaded_fonts.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── android │ │ └── example │ │ └── text │ │ └── styling │ │ └── parser │ │ └── ParserTest.kt ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ ├── icon-web.png │ ├── lines.png │ ├── main_activity.png │ ├── multi.png │ ├── rounded_bg.png │ ├── rtl.png │ └── single.png └── settings.gradle ├── WindowInsetsAnimation ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── samples │ │ │ └── insetsanimation │ │ │ ├── ControlFocusInsetsAnimationCallback.kt │ │ │ ├── ConversationAdapter.kt │ │ │ ├── ConversationFragment.kt │ │ │ ├── InsetsAnimationLinearLayout.kt │ │ │ ├── InsetsAnimationTouchListener.kt │ │ │ ├── MainActivity.kt │ │ │ ├── RootViewDeferringInsetsCallback.kt │ │ │ ├── SimpleImeAnimationController.kt │ │ │ ├── TranslateDeferringInsetsAnimationCallback.kt │ │ │ └── utils.kt │ │ └── res │ │ ├── color │ │ ├── color_on_surface_15.xml │ │ └── color_on_surface_5.xml │ │ ├── drawable │ │ ├── ic_face.xml │ │ ├── ic_launcher_foreground.xml │ │ ├── ic_phone.xml │ │ ├── ic_send.xml │ │ ├── ic_videocam.xml │ │ └── shape_rect.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── fragment_conversation.xml │ │ ├── message_bubble_other.xml │ │ └── message_bubble_self.xml │ │ ├── menu │ │ └── menu_main.xml │ │ ├── mipmap-anydpi-v26 │ │ └── ic_launcher.xml │ │ └── values │ │ ├── dimens.xml │ │ ├── shape.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── images │ └── demos.gif └── settings.gradle └── WindowManager ├── .google └── packaging.yaml ├── README.md ├── app ├── .gitignore ├── build.gradle └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── example │ │ └── windowmanagersample │ │ ├── DisplayFeaturesActivityJavaTest.java │ │ ├── DisplayFeaturesActivityTest.kt │ │ └── SplitLayoutActivityTest.kt │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── example │ │ └── windowmanagersample │ │ ├── DisplayFeaturesActivity.kt │ │ ├── RxActivity.kt │ │ ├── SampleTools.kt │ │ ├── SplitLayout.kt │ │ ├── SplitLayoutActivity.java │ │ ├── WindowMetricsActivity.kt │ │ ├── demos │ │ ├── DemoAdapter.kt │ │ ├── DemoItem.kt │ │ ├── DemoVH.kt │ │ └── WindowDemosActivity.kt │ │ ├── embedding │ │ ├── ExampleWindowInitializer.kt │ │ ├── SplitActivityA.kt │ │ ├── SplitActivityB.kt │ │ ├── SplitActivityBase.kt │ │ ├── SplitActivityC.kt │ │ ├── SplitActivityD.kt │ │ ├── SplitActivityDetail.kt │ │ ├── SplitActivityE.kt │ │ ├── SplitActivityF.kt │ │ ├── SplitActivityList.kt │ │ ├── SplitActivityListPlaceholder.kt │ │ ├── SplitActivityPlaceholder.kt │ │ └── SplitActivityTrampoline.kt │ │ └── infolog │ │ ├── InfoLog.kt │ │ ├── InfoLogAdapter.kt │ │ └── InfoLogVH.kt │ └── res │ ├── drawable │ ├── border.xml │ └── ic_android_green_320dp.xml │ ├── layout │ ├── activity_display_features.xml │ ├── activity_rx.xml │ ├── activity_split_activity_layout.xml │ ├── activity_split_activity_list_detail_layout.xml │ ├── activity_split_activity_list_layout.xml │ ├── activity_split_activity_list_placeholder_layout.xml │ ├── activity_split_layout.xml │ ├── activity_window_demos.xml │ ├── activity_window_metrics.xml │ ├── split_layout_content.xml │ ├── split_layout_control.xml │ ├── view_holder_demo_item.xml │ └── view_holder_info_log.xml │ ├── values │ ├── attrs.xml │ ├── colors.xml │ ├── strings.xml │ └── styles.xml │ └── xml │ └── main_split_config.xml ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── scripts ├── copyright └── greclipse.properties └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | # built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Mac files 6 | .DS_Store 7 | 8 | # files for the dex VM 9 | *.dex 10 | 11 | # Java class files 12 | *.class 13 | 14 | # generated files 15 | bin/ 16 | gen/ 17 | 18 | # Ignore gradle files 19 | .gradle/ 20 | build/ 21 | 22 | # Local configuration file (sdk path, etc) 23 | local.properties 24 | 25 | # Proguard folder generated by Eclipse 26 | proguard/ 27 | proguard-project.txt 28 | 29 | # Eclipse files 30 | .project 31 | .classpath 32 | .settings/ 33 | 34 | # Android Studio/IDEA 35 | *.iml 36 | .idea 37 | -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Dec 07 10:07:34 CET 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /src/androidTest/java/com/google/sample/ae/guestapp/ExampleInstrumentedTest.kt 3 | /src/test/java/com/google/sample/ae/guestapp/ExampleUnitTest.kt 4 | /debug/ 5 | -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/ActivityEmbeddingWithPredictiveBack/guestapp/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /AppWidget/.gitignore: -------------------------------------------------------------------------------- 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 16 | -------------------------------------------------------------------------------- /AppWidget/.google/packaging.yaml: -------------------------------------------------------------------------------- 1 | 2 | # GOOGLE SAMPLE PACKAGING DATA 3 | # 4 | # This file is used by Google as part of our samples packaging process. 5 | # End users may safely ignore this file. It has no relevance to other systems. 6 | --- 7 | status: PUBLISHED 8 | technologies: [Android, JetpackGlance] 9 | categories: 10 | - UserInterface 11 | - JetpackGlance 12 | - AppWidgets 13 | languages: [Kotlin] 14 | solutions: [Mobile] 15 | github: android/user-interface-samples 16 | level: INTERMEDIATE 17 | apiRefs: 18 | - android:android.appwidget.AppWidgetManager 19 | - kotlin:androidx.glance.appwidget.GlanceAppWidget 20 | license: apache2 21 | -------------------------------------------------------------------------------- /AppWidget/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /AppWidget/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/drawable-nodpi/buttons_widget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/drawable-nodpi/buttons_widget_preview.png -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/drawable-nodpi/grocery_list_widget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/drawable-nodpi/grocery_list_widget_preview.png -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/drawable-nodpi/image_widget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/drawable-nodpi/image_widget_preview.png -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/drawable-nodpi/todo_list_glance_widget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/drawable-nodpi/todo_list_glance_widget_preview.png -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/drawable-nodpi/weather_forecast_widget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/drawable-nodpi/weather_forecast_widget_preview.png -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /AppWidget/app/src/main/res/xml/image_paths.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /AppWidget/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /AppWidget/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Apr 05 16:14:35 JST 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /AppWidget/screenshots/dynamic_coloring_dark_theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/dynamic_coloring_dark_theme.png -------------------------------------------------------------------------------- /AppWidget/screenshots/dynamic_coloring_light_theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/dynamic_coloring_light_theme.png -------------------------------------------------------------------------------- /AppWidget/screenshots/image-gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/image-gif.gif -------------------------------------------------------------------------------- /AppWidget/screenshots/run-widget-config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/run-widget-config.png -------------------------------------------------------------------------------- /AppWidget/screenshots/todo-gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/todo-gif.gif -------------------------------------------------------------------------------- /AppWidget/screenshots/weather-gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/weather-gif.gif -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_grocery_grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_grocery_grid.png -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_grocery_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_grocery_list.png -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_items_collection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_items_collection.png -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_preview.png -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_reconfigure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_reconfigure.png -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_resizing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_resizing.png -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_rounded_corners.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_rounded_corners.png -------------------------------------------------------------------------------- /AppWidget/screenshots/widget_smooth_transition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/AppWidget/screenshots/widget_smooth_transition.gif -------------------------------------------------------------------------------- /CanonicalLayouts/.gitignore: -------------------------------------------------------------------------------- 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 | /.idea 11 | .DS_Store 12 | /build 13 | /captures 14 | .externalNativeBuild 15 | .cxx 16 | local.properties 17 | -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/.gitignore: -------------------------------------------------------------------------------- 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 16 | -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/CanonicalLayouts/feed-compose/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /CanonicalLayouts/feed-compose/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 7 | -------------------------------------------------------------------------------- /PerAppLanguages/compose_app/app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /PerAppLanguages/compose_app/app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /PerAppLanguages/compose_app/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/compose_app/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /PerAppLanguages/compose_app/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 17 09:51:01 PDT 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /PerAppLanguages/compose_app/screenshots/in_app_language_picker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/compose_app/screenshots/in_app_language_picker.gif -------------------------------------------------------------------------------- /PerAppLanguages/compose_app/screenshots/settings_app_languages.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/compose_app/screenshots/settings_app_languages.jpg -------------------------------------------------------------------------------- /PerAppLanguages/compose_app/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | } 14 | } 15 | rootProject.name = "PerAppLanguages" 16 | include ':app' 17 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2022 The Android Open Source Project 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/values-ar-rAE/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | مرحبا بالعالم! 20 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/values-b+zh+Hant+TW/strings.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 你好世界! 19 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/values-es-rES/strings.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | Hola Mundo! 19 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/values-hi-rIN/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | हैलो वर्ल्ड! 20 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/app/src/main/res/values-ja-rJP/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | "こんにちは世界" 20 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:7.4.1' 9 | classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } 19 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /PerAppLanguages/views_app/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Apr 01 12:11:14 IST 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /PerAppLanguages/views_app/screenshots/SampleAppWalkThrough.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/screenshots/SampleAppWalkThrough.gif -------------------------------------------------------------------------------- /PerAppLanguages/views_app/screenshots/SystemSettings.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/PerAppLanguages/views_app/screenshots/SystemSettings.gif -------------------------------------------------------------------------------- /PerAppLanguages/views_app/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "Views App" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Preferences/.google/packaging.yaml: -------------------------------------------------------------------------------- 1 | 2 | # GOOGLE SAMPLE PACKAGING DATA 3 | # 4 | # This file is used by Google as part of our samples packaging process. 5 | # End users may safely ignore this file. It has no relevance to other systems. 6 | --- 7 | status: PUBLISHED 8 | technologies: [Android] 9 | categories: [User Interface] 10 | languages: [Java] 11 | solutions: [Mobile] 12 | github: android/user-interface 13 | level: INTERMEDIATE 14 | icon: screenshots/icon-web.png 15 | apiRefs: 16 | - androidx.preference:androidx.preference.Preference 17 | - androidx.preference:androidx.preference.PreferenceFragmentCompat 18 | license: apache2 19 | -------------------------------------------------------------------------------- /Preferences/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'kotlin-android' 3 | 4 | android { 5 | compileSdkVersion 32 6 | defaultConfig { 7 | applicationId "com.example.androidx.preference.sample" 8 | minSdkVersion 14 9 | targetSdkVersion 32 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | } 17 | } 18 | } 19 | 20 | dependencies { 21 | implementation 'androidx.preference:preference-ktx:1.2.0' 22 | implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" 23 | } 24 | -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Preferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Preferences/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext.kotlin_version = '1.6.21' 5 | repositories { 6 | google() 7 | mavenCentral() 8 | } 9 | dependencies { 10 | classpath 'com.android.tools.build:gradle:7.4.1' 11 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 12 | 13 | // NOTE: Do not place your application dependencies here; they belong 14 | // in the individual module build.gradle files 15 | } 16 | } 17 | 18 | allprojects { 19 | repositories { 20 | google() 21 | mavenCentral() 22 | } 23 | } 24 | 25 | task clean(type: Delete) { 26 | delete rootProject.buildDir 27 | } 28 | -------------------------------------------------------------------------------- /Preferences/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | android.useAndroidX=true 15 | android.enableJetifier=true -------------------------------------------------------------------------------- /Preferences/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Preferences/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Preferences/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jun 01 15:51:34 JST 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Preferences/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /Quick-Settings/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Quick-Settings/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/erschmid/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /Quick-Settings/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Quick-Settings/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Quick-Settings/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Quick-Settings/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Quick-Settings/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Quick-Settings/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Quick-Settings/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Quick-Settings/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Quick-Settings/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Quick-Settings/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Quick-Settings/extras/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Quick-Settings/extras/demo.gif -------------------------------------------------------------------------------- /Quick-Settings/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Quick-Settings/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Quick-Settings/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jul 28 23:41:28 PDT 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip 7 | -------------------------------------------------------------------------------- /Quick-Settings/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /SplashScreen/.gitignore: -------------------------------------------------------------------------------- 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 16 | -------------------------------------------------------------------------------- /SplashScreen/.google/packaging.yaml: -------------------------------------------------------------------------------- 1 | # GOOGLE SAMPLE PACKAGING DATA 2 | # 3 | # This file is used by Google as part of our samples packaging process. 4 | # End users may safely ignore this file. It has no relevance to other systems. 5 | --- 6 | status: PUBLISHED 7 | technologies: [Android] 8 | categories: [User Interface] 9 | languages: [Kotlin] 10 | solutions: [Mobile] 11 | github: android/user-interface 12 | level: BASIC 13 | icon: screenshots/icon-web.png 14 | apiRefs: 15 | - android.app.Activity.getSplashScreen 16 | - android.window.SplashScreen 17 | - android.window.SplashScreenView 18 | license: apache2 19 | -------------------------------------------------------------------------------- /SplashScreen/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/values-night/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | @color/blue_gray_900 19 | 20 | -------------------------------------------------------------------------------- /SplashScreen/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 16dp 19 | 20 | -------------------------------------------------------------------------------- /SplashScreen/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /SplashScreen/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Jul 29 11:47:27 JST 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /SplashScreen/screenshots/icon-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/screenshots/icon-web.png -------------------------------------------------------------------------------- /SplashScreen/screenshots/main.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/SplashScreen/screenshots/main.gif -------------------------------------------------------------------------------- /SplashScreen/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name = "SplashScreen" -------------------------------------------------------------------------------- /Text/.gitignore: -------------------------------------------------------------------------------- 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 16 | -------------------------------------------------------------------------------- /Text/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Text/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Text/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Text/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | #FF000000 19 | #FFFFFFFF 20 | 21 | -------------------------------------------------------------------------------- /Text/app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #0E1E43 4 | -------------------------------------------------------------------------------- /Text/app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /Text/app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Text/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Text/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Jun 02 11:03:52 JST 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Text/screenshots/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/Text/screenshots/ic_launcher-playstore.png -------------------------------------------------------------------------------- /Text/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | } 14 | } 15 | rootProject.name = "Text" 16 | include ':app' 17 | -------------------------------------------------------------------------------- /TextStyling/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea 5 | .DS_Store 6 | /build 7 | /captures 8 | .externalNativeBuild 9 | /projectFilesBackup -------------------------------------------------------------------------------- /TextStyling/.google/packaging.yaml: -------------------------------------------------------------------------------- 1 | # GOOGLE SAMPLE PACKAGING DATA 2 | # 3 | # This file is used by Google as part of our samples packaging process. 4 | # End users may safely ignore this file. It has no relevance to other systems. 5 | --- 6 | status: PUBLISHED 7 | 8 | technologies: [Android] 9 | categories: [User Interface] 10 | languages: [Java] 11 | solutions: [Mobile] 12 | 13 | github: android/user-interface 14 | 15 | level: BEGINNER 16 | 17 | # Dimensions: 512x512, PNG fomrat 18 | icon: screenshots/icon_web.png 19 | 20 | apiRefs: 21 | - android:android.text.SpannableStringBuilder 22 | - android:android.text.Spanned 23 | - android:android.text.SpannedString 24 | - android:android.text.style.StyleSpan 25 | - android:android.text.style.RelativeSizeSpan 26 | - android:android.text.style.MetricAffectingSpan 27 | 28 | license: apache2 29 | -------------------------------------------------------------------------------- /TextStyling/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /TextStyling/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/proguard-rules.pro -------------------------------------------------------------------------------- /TextStyling/app/src/androidTest/java/com/android/example/text/styling/renderer/spans/CodeBlockSpanTest.kt: -------------------------------------------------------------------------------- 1 | package com.android.example.text.styling.renderer.spans 2 | 3 | import org.junit.Assert.assertEquals 4 | import org.mockito.Mockito.mock 5 | 6 | import android.graphics.Color 7 | import android.graphics.Typeface 8 | import android.text.TextPaint 9 | 10 | import org.junit.Test 11 | 12 | /** 13 | * Tests for the [CodeBlockSpan] class 14 | */ 15 | class CodeBlockSpanTest { 16 | 17 | private val paint = mock(TextPaint::class.java) 18 | private val span = CodeBlockSpan(Typeface.DEFAULT, Color.RED) 19 | 20 | @Test fun updateDrawState() { 21 | // When the update draw state is called 22 | span.updateDrawState(paint) 23 | 24 | // Check that the correct color is set 25 | assertEquals(Color.RED, paint.bgColor) 26 | } 27 | } -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /TextStyling/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 32sp 19 | -------------------------------------------------------------------------------- /TextStyling/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | android.enableJetifier=true 13 | android.useAndroidX=true 14 | org.gradle.jvmargs=-Xmx1536m 15 | 16 | # When configured, Gradle will run in incubating parallel mode. 17 | # This option should only be used with decoupled projects. More details, visit 18 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 19 | # org.gradle.parallel=true 20 | -------------------------------------------------------------------------------- /TextStyling/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /TextStyling/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /TextStyling/screenshots/icon-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/screenshots/icon-web.png -------------------------------------------------------------------------------- /TextStyling/screenshots/lines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/screenshots/lines.png -------------------------------------------------------------------------------- /TextStyling/screenshots/main_activity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/screenshots/main_activity.png -------------------------------------------------------------------------------- /TextStyling/screenshots/multi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/screenshots/multi.png -------------------------------------------------------------------------------- /TextStyling/screenshots/rounded_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/screenshots/rounded_bg.png -------------------------------------------------------------------------------- /TextStyling/screenshots/rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/screenshots/rtl.png -------------------------------------------------------------------------------- /TextStyling/screenshots/single.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/TextStyling/screenshots/single.png -------------------------------------------------------------------------------- /TextStyling/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /WindowInsetsAnimation/.gitignore: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /WindowInsetsAnimation/.google/packaging.yaml: -------------------------------------------------------------------------------- 1 | 2 | # GOOGLE SAMPLE PACKAGING DATA 3 | # 4 | # This file is used by Google as part of our samples packaging process. 5 | # End users may safely ignore this file. It has no relevance to other systems. 6 | --- 7 | status: PUBLISHED 8 | technologies: [Android] 9 | categories: [User Interface] 10 | languages: [Kotlin] 11 | solutions: [Mobile] 12 | github: android/user-interface-samples 13 | license: apache2 14 | -------------------------------------------------------------------------------- /WindowInsetsAnimation/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /WindowInsetsAnimation/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/WindowInsetsAnimation/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /WindowInsetsAnimation/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /WindowInsetsAnimation/images/demos.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/WindowInsetsAnimation/images/demos.gif -------------------------------------------------------------------------------- /WindowInsetsAnimation/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' -------------------------------------------------------------------------------- /WindowManager/.google/packaging.yaml: -------------------------------------------------------------------------------- 1 | 2 | # GOOGLE SAMPLE PACKAGING DATA 3 | # 4 | # This file is used by Google as part of our samples packaging process. 5 | # End users may safely ignore this file. It has no relevance to other systems. 6 | --- 7 | status: PUBLISHED 8 | technologies: [Android] 9 | categories: [User Interface, Foldable and Large-screen Devices] 10 | languages: [Kotlin] 11 | solutions: [Mobile] 12 | github: android/user-interface-samples 13 | license: apache2 14 | -------------------------------------------------------------------------------- /WindowManager/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /WindowManager/app/src/main/java/com/example/windowmanagersample/embedding/SplitActivityA.kt: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2021 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.example.windowmanagersample.embedding 18 | 19 | open class SplitActivityA : SplitActivityBase() 20 | -------------------------------------------------------------------------------- /WindowManager/app/src/main/java/com/example/windowmanagersample/infolog/InfoLog.kt: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2021 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.example.windowmanagersample.infolog 18 | 19 | data class InfoLog(val title: String, val detail: String, val id: Int) 20 | -------------------------------------------------------------------------------- /WindowManager/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/user-interface-samples/3c44564d870eb69af619c1f29d3d8bc5f76dcffc/WindowManager/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /WindowManager/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /WindowManager/scripts/copyright: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright $YEAR The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | -------------------------------------------------------------------------------- /WindowManager/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * * Copyright 2020 The Android Open Source Project 4 | * * 5 | * * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * * you may not use this file except in compliance with the License. 7 | * * You may obtain a copy of the License at 8 | * * 9 | * * http://www.apache.org/licenses/LICENSE-2.0 10 | * * 11 | * * Unless required by applicable law or agreed to in writing, software 12 | * * distributed under the License is distributed on an "AS IS" BASIS, 13 | * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * * See the License for the specific language governing permissions and 15 | * * limitations under the License. 16 | * 17 | */ 18 | 19 | include ':app' 20 | rootProject.name='WindowManagerSample' 21 | --------------------------------------------------------------------------------