awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
android avatar

android/user-interface-samplesArchived

0
View on GitHub↗
4,631 stars·1,679 forks·Kotlin·apache-2.0·19 views

User Interface Samples

This repository provides a collection of runnable code samples that demonstrate best practices for building Android user interfaces across a wide range of devices and scenarios. The samples cover the full spectrum of modern Android UI patterns, from adaptive layouts that automatically adjust to large screens and foldable devices to interactive home screen widgets and conversation-style notifications.

The samples explore key capability areas including adaptive layouts powered by window size classes, foldable screen adaptation with hinge state handling, and declarative UI construction using Compose. They also demonstrate notification integrations such as conversation channels, bubbles, and direct share targets, as well as haptic feedback design that synchronizes vibration patterns with visual animations. Keyboard-aware UI components, rich text rendering with hyphenation and emoji support, and dynamic shortcut management are also covered.

Additional topics include settings screen composition, splash screen customization, immersive mode, on-demand font loading, drag-and-drop interactions, custom quick settings tiles, and widget pin-to-home-screen functionality. The project is written in Kotlin and is organized into runnable demos that developers can inspect and adapt for their own applications.

Features

  • UI Pattern Samples - A collection of runnable code examples demonstrating best practices for building Android user interfaces across devices and scenarios.
  • Conversation Notification Styling - Posts Android notifications styled as conversations with bubbles, per-conversation channels, and direct share targets.
  • Conversation Shortcut Integrations - Examples that create conversation notification bubbles, manage channels, and publish dynamic shortcuts for quick actions and sharing.
  • Keyboard-Aware UI Management - Demos that animate views with keyboard visibility changes and toggle the keyboard via scroll gestures for smooth input handling.
  • Conversation Notification Channels - Posts conversation-style notifications using NotificationCompat and manages per-channel importance preferences.
  • Declarative UI Paradigms - Builds interfaces by describing the UI tree as composable functions that re-render automatically when state changes.
  • Home Screen Widgets - Creates interactive home screen widgets by updating RemoteViews and handling user touch intents.
  • Interactive App Widgets - Creates home screen widgets that display dynamic content and respond to user touch events.
  • Foldable Screen Layouts - Adjusts interface layout to foldable screen sizes and hinge states across device generations.
  • Large Screen Adaptation Patterns - Adjusts Android app layouts for foldable screens and large-screen devices using adaptive patterns.
  • Large Screen Layouts - Provides adaptive layouts for large screens and foldable devices using canonical patterns like list-detail and supporting pane.
  • Window Size Class Layouts - Chooses between list-detail, feed, and supporting pane layouts based on the canonical WindowSizeClass.
  • Android Rich Text Rendering - Samples that construct styled text with multiple formats, automatic hyphenation, clickable links, and emoji rendering on older devices.
  • Notification Bubbles - Android Notification Bubbles: Floats notifications above other content as expandable bubbles that collapse when idle for quick access.
  • Dynamic Shortcut Management - Publishes dynamic shortcuts and direct share targets via ShortcutManager and ChooserTargetService contracts.
  • Direct Share Targets - Android Direct Share Target Exposure: Publishes share targets as direct conversation links in the system share sheet for quick sharing.
  • Interactive Feedback Demos - Runnable code that demonstrates haptic sequences synchronized with animations, drag-and-drop content, and interactive app widgets.
  • Haptic Feedback Controllers - Generates rich haptic sequences by chaining vibration effects with millisecond timing and custom amplitude.
  • Animation-Synchronized Haptic Sequences - Android Haptic-Animation Synchronization: Ties vibration patterns to visual animation progress so tactile feedback reinforces on-screen motion.
  • Rich Haptic Sequence Composition - Android Rich Haptic Sequence Composition: Chains vibration primitives with controlled amplitude and timing to create complex tactile effects.
  • Haptic Feedback Customization - Choreographs haptic patterns by synchronizing vibration amplitude and timing with visual animations and touch events.
  • Immersive Mode System Bars - Temporarily hides status and navigation bars during full-screen experiences, revealing them on edge swipes.
  • Scroll-Triggered Keyboard Toggles - Android Scroll-Triggered Keyboard Toggle: Toggles keyboard visibility in response to scroll gestures, sliding it smoothly on and off the screen.
  • Rich Text Styling - Constructs styled text with multiple formats like bold, italic, and color using a composable builder.
  • Modular Preference Controls - Builds settings screens by composing modular preference controls into a structured interface.
  • Splash Screen Customizations - Adds animated icon or custom transition animation at app launch to improve perceived loading performance.
  • Lightweight Markup Converters - Converts plain text markers into styled quotes, code blocks, and bullet points.
  • Inset-Driven Animations - Coordinates system bar visibility with view animations by listening to window insets changes.

Star history

Star history chart for android/user-interface-samplesStar history chart for android/user-interface-samples

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to User Interface Samples

Similar open-source projects, ranked by how many features they share with User Interface Samples.
  • younghz/markdownyounghz avatar

    younghz/Markdown

    3,979View on GitHub↗

    This project provides a lightweight markup specification and a plain text formatting standard used to arrange information into structured documents. It serves as a system for converting simple text characters into rich document elements and HTML tags for web display. The project includes a syntax guide and documentation for implementing standardized symbols. These resources cover the rules for creating formatted text and hyperlinks that can be converted into web content. The system covers a broad range of document capabilities, including hierarchical headings, ordered and unordered lists, an

    markdown
    View on GitHub↗3,979
  • microsoft/windows-universal-samplesmicrosoft avatar

    microsoft/Windows-universal-samples

    9,696View on GitHub↗

    This repository is a comprehensive collection of reference implementations and sample libraries for the Universal Windows Platform. It provides practical examples of how to use Windows Runtime APIs to build cross-device applications, including detailed guidance on XAML-based declarative user interfaces and DirectX-integrated rendering. The project distinguishes itself by providing a wide array of hardware integration suites, covering low-level communication with USB, Serial, I2C, SPI, and GPIO peripherals. It includes specialized implementations for mixed reality holographic rendering, advanc

    JavaScript
    View on GitHub↗9,696
  • draft-js-plugins/draft-js-pluginsdraft-js-plugins avatar

    draft-js-plugins/draft-js-plugins

    4,091View on GitHub↗

    This project is a plugin framework for the Draft.js rich text editor, providing a system to add custom behaviors, decorators, and keyboard shortcuts. It functions as a toolkit for extending the editor with advanced formatting and interactive elements, while also providing a React UI component library for managing toolbars and popups. The framework is distinguished by its specialized support for social mention systems, enabling the detection and formatting of hashtags and user mentions as interactive entities via autocomplete triggers. It also includes a comprehensive suite of rich media exten

    TypeScript
    View on GitHub↗4,091
  • vercel/streamdownvercel avatar

    vercel/streamdown

    4,420View on GitHub↗

    Streamdown is a streaming markdown renderer for React that transforms incoming markdown text into sanitized HTML in real time, handling incomplete blocks as they arrive. It parses GitHub-Flavored Markdown syntax including tables, task lists, and footnotes, and renders LaTeX math expressions using KaTeX, Mermaid diagrams as interactive SVGs, and code blocks with Shiki-based syntax highlighting supporting over 200 languages with dual light and dark themes. The renderer includes an XSS-safe HTML sanitizer that strips dangerous tags and validates URLs to prevent injection attacks. What distinguis

    TypeScriptaimarkdownstreaming
    View on GitHub↗4,420
See all 30 alternatives to User Interface Samples→

Frequently asked questions

What does android/user-interface-samples do?

This repository provides a collection of runnable code samples that demonstrate best practices for building Android user interfaces across a wide range of devices and scenarios. The samples cover the full spectrum of modern Android UI patterns, from adaptive layouts that automatically adjust to large screens and foldable devices to interactive home screen widgets and conversation-style notifications.

What are the main features of android/user-interface-samples?

The main features of android/user-interface-samples are: UI Pattern Samples, Conversation Notification Styling, Conversation Shortcut Integrations, Keyboard-Aware UI Management, Conversation Notification Channels, Declarative UI Paradigms, Home Screen Widgets, Interactive App Widgets.

What are some open-source alternatives to android/user-interface-samples?

Open-source alternatives to android/user-interface-samples include: younghz/markdown — This project provides a lightweight markup specification and a plain text formatting standard used to arrange… microsoft/windows-universal-samples — This repository is a comprehensive collection of reference implementations and sample libraries for the Universal… draft-js-plugins/draft-js-plugins — This project is a plugin framework for the Draft.js rich text editor, providing a system to add custom behaviors,… vercel/streamdown — Streamdown is a streaming markdown renderer for React that transforms incoming markdown text into sanitized HTML in… pedrovgs/effectiveandroidui — EffectiveAndroidUI is a collection of reference implementations and sample projects demonstrating Android UI… zzhoujay/richtext — RichText is an Android view component and parser designed to render formatted text from HTML and Markdown sources. It…