Dependencies and Project Setup

MAF locale-aware controls are built on top of MAF simple controls, such as MAFTextView and MAFEditText. The controls use the skinning infrastructure of MAF Skin Manager and the formatting capabilities of MAFFormatters, so the controls depend on both the MAFUIComponents and MAFFormatters library.

Required MAF libraries:
  • com.sap.mobile.maf.ui.android/MAFUIComponents
  • com.sap.mobile.maf.ui.android/MAFLocaleAwareControls
  • com.sap.mobile.maf.tools.android/MAFFormatters
  • com.sap.mobile.maf.tools.android/MAFLogger

MAF locale-aware controls provide a default skin. To get the default custom skin and to apply skinning that differs from the hard-coded skin, add the resource android libraries to your project. The android libraries are also required for the components to find the necessary resource files, for example, to format metadata for address field layout.

Required Android libraries containing the resources:
  • mafformatters-res
  • maflocaleawarecontrols-res
  • mafuicomponents-res