by Akshay Raj | Mar 1, 2017 | Android
Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest file provides essential information about your app to the Android system, which the system must have before it can run any of the app’s code....
by Akshay Raj | Nov 16, 2016 | Android
This page defines more types of resources you can externalize, including: Bool XML resource that carries a boolean value. Color XML resource that carries a color value (a hexadecimal color). Dimension XML resource that carries a dimension value (with a unit of...
by Akshay Raj | Nov 15, 2016 | Android
A style resource defines the format and look for a UI. A style can be applied to an individual View (from within a layout file) or to an entire Activity or application (from within the manifest file). For more information about creating and applying styles, please...
by Akshay Raj | Nov 15, 2016 | Android
A string resource provides text strings for your application with optional text styling and formatting. There are three types of resources that can provide your application with strings: String XML resource that provides a single string. String Array XML resource that...
by Akshay Raj | Nov 15, 2016 | Android
A menu resource defines an application menu (Options Menu, Context Menu, or submenu) that can be inflated with MenuInflater. For a guide to using menus, see the Menus developer guide. FILE LOCATION: res/menu/filename.xml The filename will be used as the resource ID....
by Akshay Raj | Nov 15, 2016 | Android
A layout resource defines the architecture for the UI in an Activity or a component of a UI. FILE LOCATION: res/layout/filename.xml The filename will be used as the resource ID. COMPILED RESOURCE DATATYPE: Resource pointer to a View (or subclass) resource. RESOURCE...