mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.5k stars 2.08k forks source link

Material Design App #2350

Open ghost opened 3 years ago

ghost commented 3 years ago

Describe the desired feature

My request is regarding implementation of material design in app inventor.

How it different from current MIT App Them

Dark Theme

Classic Theme

Newly Implemented Material Design Theme

Device Default with dark title text

Device Default

How to use ?

We can add option of material theme in screen property block where other theme option is available like classic, device-default.. If user select material them then whole app convert into material theme.

Why doesn't the current App Inventor system address this use case?

UI design is one of important part of application development and material design is one the best UI design language in world.

Why is this feature beneficial to App Inventor's educational mission?

MIT App Inventor is one of the best platform of drag and drop mobile app creator but currently app's created with app inventor is not supported material theme, so i want to contribute it.

ewpatton commented 3 years ago

@Preet-Vadaliya I'm not sure I understand what you are requesting here. On devices running Android 5+, the device default theme is Material UI. We use the appcompat themes, which will ensure that at each Android version the app will get the same theme as other apps on the device. We only default to Classic theme for backwards compatibility reasons.

ghost commented 3 years ago

@ewpatton Sir i am using Samsung Galaxy M01 with Android 10 my device default theme is not material design so that's why i open this issue.

basically what happened when i create app with device default theme the theme is material in stoke android but i can not see material theme in other device.

motorola g5s with device default theme == Material Theme Samsung galaxy M01 == not material design

ghost commented 3 years ago

Dear Sir @ewpatton

Please look at the result;

Device Default theme in Moto G5s

Screenshot_20201218-230811

Device Default theme in Samsung M01

Screenshot_20201218-230948

Conclusion

If Device is stock Android then and Device Default theme is android.