Skip to content

Repository files navigation

Material 3 Demo - Android Application

A demonstration application showcasing all Material 3 components in Android.

Material 3 Components

The application contains usage examples of the following Material 3 components:

  • Badge - Display badges with numbers
  • BadgedBox - Container with badge
  • Button - Basic button
  • OutlinedButton - Button with border
  • Card - Cards for displaying content
  • Checkbox - Checkbox
  • TriStateCheckbox - Three-state checkbox
  • AssistChip - Assist chip
  • FilterChip - Filter chip
  • InputChip - Input chip
  • SuggestionChip - Suggestion chip
  • DatePicker - Date picker
  • HorizontalDivider - Horizontal divider
  • VerticalDivider - Vertical divider
  • FloatingActionButton - Floating action button
  • DropdownMenu - Dropdown menu
  • NavigationBar - Navigation bar
  • NavigationBarItem - Navigation bar item
  • CircularProgressIndicator - Circular progress indicator
  • LinearProgressIndicator - Linear progress indicator
  • RadioButton - Radio button
  • SearchBar - Search bar
  • ModalBottomSheet - Modal bottom sheet
  • Slider - Slider
  • Snackbar - Snackbar notification
  • SnackbarHost - Snackbar host
  • Switch - Switch toggle
  • Tab - Tab
  • TabRow - Tab row
  • TextField - Text field
  • OutlinedTextField - Outlined text field
  • TimeInput - Time picker (TimePicker)
  • TopAppBar - Top app bar
  • PlainTooltip - Tooltip

Requirements

  • Android Studio Hedgehog | 2023.1.1 or newer
  • JDK 17
  • Android SDK 24 (minimum)
  • Android SDK 34 (target)

Installation

  1. Open the project in Android Studio
  2. Sync Gradle project
  3. Run the app on an emulator or device

Project Structure

app/
├── src/
│   └── main/
│       ├── java/com/example/material3demo/
│       │   ├── MainActivity.kt          # Main activity
│       │   ├── Material3DemoApp.kt      # Main Compose app
│       │   ├── ComponentsScreen.kt      # Components screen
│       │   └── ui/theme/                # Themes and colors
│       ├── res/
│       │   ├── values/                  # Default resources (English)
│       │   │   └── strings.xml
│       │   └── values-pl/               # Polish resources
│       │       └── strings.xml
│       └── AndroidManifest.xml
└── build.gradle.kts                     # Gradle configuration

Technologies

  • Kotlin - Programming language
  • Jetpack Compose - Modern UI framework
  • Material 3 - Google's latest design system
  • Android Resources - Built-in i18n support

Author

Created as a demonstration of Material 3 components for Android.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages