All Projects → rajagrawal1 → android-material-design-in-practice

rajagrawal1 / android-material-design-in-practice

Licence: Apache-2.0 license
A project to demonstrate the latest material design principles with simple examples. It has additional examples on how to easily scale texts on different screen sizes without extra effort.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to android-material-design-in-practice

MaterialTextField
Android EditText designed to match Material.IO Design Guidelines of 2019. RTL supported.
Stars: ✭ 41 (-38.81%)
Mutual labels:  material-ui, textview
Android Material Design In Practice
A project to demonstrate the latest material design principles with simple examples. It has additional examples on how to easily scale texts on different screen sizes without extra effort.
Stars: ✭ 67 (+0%)
Mutual labels:  material-ui, textview
Partify
This is a free open source Spotify-powered app that lets users host parties and have guests connect using their smartphones to submit and vote on songs. The app will only play the highest voted song and can connect to personal playlists.
Stars: ✭ 37 (-44.78%)
Mutual labels:  material-ui
mui-form-fields
Material UI + Final Form Forms and Components
Stars: ✭ 15 (-77.61%)
Mutual labels:  material-ui
photoeditor
👨🏻‍🎨 ReactJS Photo Editor
Stars: ✭ 26 (-61.19%)
Mutual labels:  material-ui
ts-ui
Telar Social Network using Reactjs
Stars: ✭ 35 (-47.76%)
Mutual labels:  material-ui
college-timetable
🗓 프로들의 수강신청 전략 어플리케이션
Stars: ✭ 27 (-59.7%)
Mutual labels:  material-ui
usehooks-ts
React hook library, ready to use, written in Typescript.
Stars: ✭ 2,873 (+4188.06%)
Mutual labels:  material-ui
pokedex
A simple Pokémon catalogue, built with React, Material-UI and PokéAPI.
Stars: ✭ 115 (+71.64%)
Mutual labels:  material-ui
best-of-react
🏆 A ranked list of awesome React open-source libraries and tools. Updated weekly.
Stars: ✭ 364 (+443.28%)
Mutual labels:  material-ui
ToolTipPopupWordTV
ToolTipopupWordTV is an Open Source Android library that allows developers to easily open a popup with details by select a word from a textview.
Stars: ✭ 41 (-38.81%)
Mutual labels:  textview
Ararat
Ararat is the next-generation container/virtual machine control panel. It is your one-stop shop for single application containers, full system containers, and KVM instances
Stars: ✭ 21 (-68.66%)
Mutual labels:  material-ui
react-you-do-you
How I use React + Redux + Material-UI + TypeScript – you do you 💖
Stars: ✭ 103 (+53.73%)
Mutual labels:  material-ui
react-typescript-material-ui-with-auth-starter
React + Material UI + Auth starter using TypeScript
Stars: ✭ 27 (-59.7%)
Mutual labels:  material-ui
React-Js-Todo-App-with-firebase-auth
TodoApp using ReactJS and Firebase | ReactJS, Material UI, Firebase, ExpressJS
Stars: ✭ 88 (+31.34%)
Mutual labels:  material-ui
typescript-react-ssr-boilerplate
Boilerplate made from scratch to setup a TypeScript ReactJS application using Server Side Rendering
Stars: ✭ 31 (-53.73%)
Mutual labels:  material-ui
rtainjapan-layouts
The on-stream layouts for RTA in Japan events
Stars: ✭ 20 (-70.15%)
Mutual labels:  material-ui
react-material-ui-keyboard
Virtual keyboard for TextField when needed
Stars: ✭ 54 (-19.4%)
Mutual labels:  material-ui
clean-architecture-azure-cosmos-db
A starting point to build a web API to work with Azure Cosmos DB using .NET 5 and Azure Cosmos DB .NET SDK V3, based on Clean Architecture and repository design pattern. Partition key is also implemented through the repository pattern.
Stars: ✭ 277 (+313.43%)
Mutual labels:  material-ui
angular-material-starter-template
🍄 Angular 14 boilerplate that comes with Material-UI, Tailwind3, Purgecss, Jest & Cypress Support, Optimal project structure & Interceptor inspired from popular blogs, source map analyzer tools, husky, all pre-configured and much more...
Stars: ✭ 104 (+55.22%)
Mutual labels:  material-ui

Material Design in Practice.

Purpose

  • Intended to be simple and practical - A project to demonstrate the usage of color palette, typography and shapes as per the material design guidelines. Also shares a method to properly scale text sizes.

Configuration

  • Uses both app wide and view level theming.
  • Min SDK support is API 16.

Usage

  • themes.xml - The app automatically looks into this file during runtime to skin itself - this is an important step to setup day/ night mode.

  • styles.xml - All view specific styles are neatly declared in this file.

  • Scaling typography - This section contains 4 sizing variants for the text - sp, ssp, dp, sdp.

    • "ssp and sdp" are good alternatives over "sp and dp" if you do not wish to manage varying dimens.xml. The intuit library has a bundle of pre-defined dimens.xml that handles it for you. Note that while developing for tablets, this may not be the best idea.
    • The main difference you can see is that "sp and ssp" respond when user changes the font size from system settings. However, "dp and sdp" do not. Run the MDIP app, switch to typography tab and test it out yourself.
  • Easy color management - Use color palette generator tool for preparing a new color scheme, export to the Android format (color.xml) and use the color variables to replace the existing set in the project.

  • For applying app-wide default colors, you will be largely dealing with:

    * colorPrimary
    * colorPrimaryDark/ colorPrimaryVariant
    * colorSecondary
    * colorSecondaryVariant
    * android:textColorPrimary
    * android:textColorSecondary
    * android:colorBackground
    
  • If you wish to try different new schemes - simply replace the colors under "Base Color Scheme" and above "Other colors" in color.xml. You can leave 'Other colors' as it is, since they can be suitable for most cases.

  • Day/ Night mode - The app auto-switches to appropriate mode depending on system settings. You can override this by clicking the top right icon on toolbar. The widgets depend on ?colorName to look proper on day/ night mode. For instance, widget styles have colors defined with ?colorPrimary instead of a hard-coded @color/primaryColor. This means you're instructing the app to pick the defined color for ?colorPrimary in themes.xml (of day or night version) at runtime. And each of these files will contain different colors to suit day/ night mode.

  • App-wide widget theming - Take advantage of a new feature in the latest material design library that allows app-wide application of common styling for views from a single place - Refer to the base theme for an example.

Concept

Concept applied:


(Slightly modified and sourced from: https://speakerdeck.com/anitas3791/styles-themes-material-theming-oh-my/em)

For reference only. The demo app in the project is different.

App screenshots - On Pixel 2, Android 10 (API 29), Day mode.

Default font scaling Typogtraphy with default font scaling Increased font scaling Typography with increased font scaling Material Buttons Material Text Input Layouts Material Cards Material Bottom Sheet Miscellaneous widgets Search View

Caveats

What's coming soon

  • Material motion.

Try the demo app

Visit the releases section to download the latest iterations of the app.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].