ListView Widet Rounded corners how???

9 posts / 0 new
Last post
Erwin Nandpersad
ermisnomore's picture
Offline
Mobile Conjurer
Joined: 16 Jan 2012
Posts:
ListView Widet Rounded corners how???

Hi,
I want the listview to display results(but smaller)
I want it like the screenshot attached. Any idea how to achive this?
Thanks!

AttachmentSize
layout.png38.3 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

That looks like it was done in HTML, so you can use MoSync + HTML5 + JQuery Mobile. I don't know of a way to make a native widget display rounded corrners.

Erwin Nandpersad
ermisnomore's picture
Offline
Mobile Conjurer
Joined: 16 Jan 2012
Posts:

ooh... but i coded already a lot in C++. Is there any other way to make it nice use nativeUI? Os can i add HTML5 in the excisting C++ code?

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

You can add a WebView widget to your existing code, which will display HTML5.

You can style the NativeUI quite a lot, but the point of using NativeUI is to make it look like the other apps on that platform. If you want a unique UI, then you probably don't want to use native widgets.

Also, it depends on what kind of work you've already done in C++. If you've written a lot of functions, then you can still use them in an HTML5 application. MoSync has a technology called 'Wormhole' which lets you call C/C++ from JavaScript in an HTML5 app. This means you can use C/C++ for heavy lifting, but HTML5 for UI.

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

I am completely wrong - sorry! It looks like those are native iOS listboxes, my mistake. I'll look into how you get them.

Erwin Nandpersad
ermisnomore's picture
Offline
Mobile Conjurer
Joined: 16 Jan 2012
Posts:

Hi Sam,
No problem. I saw that many apps use that so i found it a bit weird :-).
Looking forward for the solution!

Erwin Nandpersad
ermisnomore's picture
Offline
Mobile Conjurer
Joined: 16 Jan 2012
Posts:

Already have an idea how to use the listbox? I only see that you can use it in MAU, but how can i make this native.

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Erwin, instead of MAUI, you need to use the libary 'NativeUI.lib'. Have a look at the HelloNativeUI and Facebook examples, and start a project using the NativeUI template.

Patrick Broman
patrick's picture
Offline
Mobile Wizard
Joined: 17 Feb 2009
Posts:

Hi Erwin,
What you want is iOS "segmented list boxes", which has been on our todo-list for some time. You can do "normal" native listboxes today. It unfortunately won't make the 3.0 release, but we'll try to get in in as soon as possible, so bear with us for just another few weeks please!

Best regards,
Patrick