Amrita Stha Amrita Stha - 1 year ago 121
Android Question

Back Button command visible in android too

It sets the back Button in titlebar of ios

f.setBackCommand(new Command("News") {

Is there any way to display the back icon in android too just like in ios ?

Answer Source

Yes you can display back icon on android, use Toolbar API for this:

Toolbar t = new Toolbar();
Command news = new Command("News", myIcon) {

    public void actionPerformed(ActionEvent evt) {

news.putClientProperty("uiid", "BackCommand");
t.setTitle("My Form");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download