Patch resources and add MIUI framework classes

Conflicts:
	res/values/styles.xml

To make this app work on non-MIUI ROMs