Search code examples
jdeveloperhybrid-mobile-apporacle-adf-mobileoracle-maf

How to change Oracle MAF's default springboard icon and alignment?


How can I convert given springboard toggle button from:

This -- Right aligned menu icon, opens dropdown menu on click

enter image description here

enter image description here

To This -- Left aligned with bars icon, directly open spring board on click.

enter image description here


Solution

  • We can also do the following to achieve this.

    1. Disable the default Springboard toggle button by unchecking the "Show Springboard Toggle button".

    2. Drag and drop the method gotoSpringboard() method from ApplicationFeatures data control as a command link in the primary facet in all the pages.

    3. Remove the text and add an springboard icon for the link or add an css class to achieve the springboard icon.

    My code looks like this.

    <amx:commandLink actionListener="#{bindings.gotoSpringboard.execute}"
                       disabled="#{!bindings.gotoSpringboard.enabled}" id="cl2" styleClass="fa fa-bars fa-2x">
    
      </amx:commandLink>