[codenameone-discussions] Re: Windows UWP navigation

2016-11-12 Thread Shai Almog
If the Toolbar is lacking in native feel then file RFE's with 
screenshots/requests and we can tune that.

As you indicated Windows is a problematic platform where this is 
"sometimes" needed. In the past we had a hint for the entire platform 
saying if this was needed but for Windows that's a problem.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b6db9df6-e138-4329-97c7-305534e9e262%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows UWP navigation

2016-11-12 Thread mcw
I vote for native look and feel versus consistency across platforms. I 
understand the point but I would rather my app looked like a real Windows 
Mobile app.

I do actually add the back button on Windows but on the form level:

_backCommand = new Command(Prefs.getMsg("rw.msg.nv.lst"));
setBackCommand(_backCommand);

This adds the back button to the title bar on iOS and Android but not on 
Windows. Initially I thought that was fine because on a Windows phone you 
have the hardware back button.Unfortunately a Windows app can run in a lot 
of different modes and the hardware back button is not always there.

I am reluctant to use the Toolbar class as that does not seem like the 
native look and feel to me.




On Saturday, November 12, 2016 at 11:17:30 AM UTC-8, Bryan Buchanan wrote:
>
> I would agree with Shai - Android and iOS use a back button, and it 
> doesn't look out of place on UWP devices - in fact I think the consistency 
> that CN1 allows across platforms is a good thing.
>
> I've not experienced any problems with back button code on UWP devices.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/076de9c1-3f0c-48b5-8416-5fca351261b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows UWP navigation

2016-11-12 Thread Bryan Buchanan
I would agree with Shai - Android and iOS use a back button, and it doesn't 
look out of place on UWP devices - in fact I think the consistency that CN1 
allows across platforms is a good thing.

I've not experienced any problems with back button code on UWP devices.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f6e34af3-1b34-4d3c-9263-21c83274ae9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows UWP navigation

2016-11-11 Thread Shai Almog
The problem is that it is getting really hard to know when to show it. Back 
in the day we only showed it for iOS but now Android wants it and it's 
important for desktop and other ports.
I see your point but with the current state of mobile devices I'd just put 
a back button and forget about it...

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4b872ce5-a73a-4215-b536-f799c49c6b77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows UWP navigation

2016-11-11 Thread mcw
I have never been a fan of the Toolbar, it never looks quite right to me, 
especially on older devices.

I don't think you always want the back button displayed, it should only be 
displayed when appropriate.

On a Windows Mobile Phone with a hardware back button, you would not want 
it. Same with a laptop in tablet mode. i will open a bug on the back button 
not working.

The only time you would want it is when the app is running on a laptop in 
desktop mode. Then you would want it displayed in the app like Windows 10 
Settings does.

Thanks

On Thursday, November 10, 2016 at 9:36:38 PM UTC-8, Shai Almog wrote:
>
> For consistency with back navigation I suggest using the Toolbar and 
> setBackCommand on the Toolbar itself so it will exist in all platforms.
>
> The hardware button should map that's probably an issue Steve can address.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/107a634e-b682-4d80-b293-f10b8bbf7e90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows UWP navigation

2016-11-10 Thread Shai Almog
For consistency with back navigation I suggest using the Toolbar and 
setBackCommand on the Toolbar itself so it will exist in all platforms.

The hardware button should map that's probably an issue Steve can address.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e4dd28a2-dd35-4c34-900e-fa9fc250311d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.