Last modified: 2012-03-09 15:39:57 UTC
The sample checkbox & language selector in the settings screen have been restyled to look more Android-native. However, they only activate when you tap directly on the checkmark or drop-down triangle on the right; they should also activate when tapping anywhere in the list item box, such as on the text label.
*** Bug 32924 has been marked as a duplicate of this bug. ***
I guess there's a "normal" widgets for such view (because lots of apps look similar) but the Wikipedia app is not using it. Simply using it may resolve this and bug 32913.
The app is built with PhoneGap -- where you basically do your app as HTML in a web view -- and the settings dialog right now is one of the HTML parts, not a native Android view. We could switch it to native Android controls, but would similarly need to make native panels on other systems such as iOS if going that route.
(In reply to comment #2) > I guess there's a "normal" widgets for such view (because lots of apps look > similar) but the Wikipedia app is not using it. Simply using it may resolve > this and bug 32913. bug 32913 should be bug 32902.
Probably going native with menus is inevitable. If this takes too long to fix or re-implement a native, let's flag it and related bugs for release 1.1.
Gave it a shot in https://github.com/yuvipanda/WikipediaMobile/commit/eed838575834a10d567799f75f22ffd616c746ba Doesn't quite work - I'm unable to programatically trigger the select widget into opening.
Discussion with brion happend. Looks like this isn't actually possible, without moving away from using <select>s.
Why WONTFIX? Just because it's difficult to fix?
*** Bug 34906 has been marked as a duplicate of this bug. ***
@Liangent: Yes - it seems to be not possible to trigger selects from javascript in Android. I'd be happy to be proven wrong. Will try get it to work on iOS.
@Liangent: Apparently 'not possible', not just difficult to fix (without completely re-creating the select UI). Won't fix for 1.1
Will be fixed as part of http://www.mediawiki.org/wiki/Glaucus
I wonder if this could be done by giving the select menu width 100% so that it picks up clicks on the label which it overlaps.
Jon's right, I was looking at from the wrong angle (JS). CSS seems to provide a workable solution. On it.
Major improvement in https://github.com/wikimedia/WikipediaMobile/pull/161
Fixed in df82cc2f8643ba1a85212a2f00ef0f842c9e8d10