the material theme --> <style name="AppTheme" parent="android:Theme.Material"> <!-- Main theme colors --> <!-- your app branding color for the app bar --> <item name="android:colorPrimary">@color/primary</item> <!-- darker variant for the status bar and contextual app bars --> <item name="android:colorPrimaryDark">@color/primary_dark</item> <!-- theme UI controls like checkboxes and text fields --> <item name="android:colorAccent">@color/accent</item> </style> </resources>
the size of a font of type. Its length depends on the user’s preference for font size, set in the Settings app of the Android device. Tips ?android:textAppearanceSmall (14sp) ?android:textAppearanceMedium (18sp) ?android:textAppearanceLarge ( 22sp) <TextView ... android:textAppearance="?android:textAppearanceLarge" android:textColor="@color/my_own_color" android:textColorLink="@color/my_own_link_color"/>
similar to the background color is hard to read. Text with too much contrast can also be hard to read. This is especially true of light-colored text against dark backgrounds.
xml shapes drawable-hdpi - for 240 dpi devices drawable-mdpi - for 160 dpi devices drawable-nodpi - for images which shouldn’t scale based on density drawable-xhdpi - for 320 dpi devices drawable-xxhdpi - for 480 dpi devices drawable-xxxhdpi - for approximately 640 dpi devices For more : http://developer.android.com/guide/topics/resources/providing-resources.html Language based resources - drawable-mdpi-my
add a Material Design look and feel to your websites. • doesn’t rely on any JavaScript frameworks and aims to optimize for cross-device use • gracefully degrade in older browsers, and offer an experience that is immediately accessible.
• Material Design for Bootstrap (https://fezvrasta.github.io/bootstrap-material- design/) • Angular Material (https://material.angularjs.org) And much more ….