Android installation and basic styling (minimum Android version 2.3.3)
Installation is simple.
Drag into your project’s libs folder (you may have to create this).
Refresh your project and check the files have appeared..
Add the line.
to the top of your activity’s class.
Add the line:
to your activity’s onCreate methodAndroid versions 2.3 to 3.2 require additional installation.
All activities must implement onResume() and onDestroy() as below.
This is due to lack of support for the ActivityLifecycleCallbacks before 4.0.
We recommend extending the base Activity classes to implement these methods only once. Alternatively, this github project has tried to simplify this process.
Start the app! It should look a bit like this:
Well done, you have successfully installed nativeCSS.