Hello!
Slider.horiz seems to have a bug on Android!
Creating a simple vertical slider (" <slider horiz="0"/> ")
creates a slider, which takes the whole height of the group (what is correct). But you cannot slide it vertically. Instead it slides a very little bit horizontally (about 1 pixel...).
A bug??
Best regards!
George
slider.horiz on Android
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: slider.horiz on Android
Can you post some short example code?
Re: slider.horiz on Android
Here it is:
Setting slider.horiz TRUE works fine... But but setting it to FALSE has some problems... seems, as if you still only move the slider horizontally instead of vertically. And as the gadget is quiet small in width then, you hardly can see it...
Code: Select all
xml$=[[
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app">
<window id="main" title="slider-test">
<hgroup>
<slider horiz="0"/>
</hgroup>
</window>
</application>
]]
@REQUIRE "RapaGUI"
moai.CreateApp(xml$)
waitevent
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: slider.horiz on Android
Ok, looks like Android's SeekBar class doesn't support vertical orientation and that's why RapaGUI can't support it either.
Re: slider.horiz on Android
Ok.
To describe my problem: I'm writing a small vocabel-trainer for my doughter.
It includs a list of all vocabels, which should be shown via a listview.
Listviews on Android don't have a silder themself, so its annoying to scroll about some thousand vocables....
I'll see, what I can do about...
Thanks and best regards!!
George
To describe my problem: I'm writing a small vocabel-trainer for my doughter.
It includs a list of all vocabels, which should be shown via a listview.
Listviews on Android don't have a silder themself, so its annoying to scroll about some thousand vocables....
I'll see, what I can do about...
Thanks and best regards!!
George