Apply Cloth Subject To Activity

Posted on

This video present how to utilize Android provided Material Theme to your Activity.

– Edit values/styles.xml to add together a novel mode inherits from Android provided Material Theme: android:Theme.Material, android:Theme.Material.Light or android:Theme.Material.Light.DarkActionBar.

– Edit AndroidManifest.xml to purpose the novel style.

– You accept to alter your MainActivity extends Activity. Otherwise the next mistake volition happen:
You involve to purpose a Theme.AppCompat subject (or descendant) alongside this activity.

The video likewise present how it display on Multi-Window Mode.

Customize theme’s colors