tag:blogger.com,1999:blog-8214401912480503366.post6849360822400468410..comments2023-08-10T13:35:15.093+02:00Comments on My life with Android :-): Focus problems with list rows and ImageButtonsGabor Pallerhttp://www.blogger.com/profile/14307475522972458932noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-8214401912480503366.post-7415380185627006582018-05-03T02:32:16.579+02:002018-05-03T02:32:16.579+02:00Thank you! Very helpful post!Thank you! Very helpful post!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-27238782957755992332017-08-14T00:08:49.686+02:002017-08-14T00:08:49.686+02:00Amazing thanks for help it workedAmazing thanks for help it workedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-27018953717710056082016-11-25T00:35:41.466+01:002016-11-25T00:35:41.466+01:00Great effort sorted my listview problem!Great effort sorted my listview problem!Christianhttps://www.blogger.com/profile/14743586991881154685noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-10785920413314020202016-03-14T07:54:54.689+01:002016-03-14T07:54:54.689+01:00Thanks buddy...Thanks buddy...gayanhttp://www.gayanramyakumara.comnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-36579886558373023802015-07-09T16:17:19.527+02:002015-07-09T16:17:19.527+02:00Good fix!Good fix!Ganesh Kumarhttp://www.apptrench.comnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-6703404007087988202015-06-19T12:06:19.058+02:002015-06-19T12:06:19.058+02:00many thanks!many thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-21311305707989244972015-05-16T17:10:36.887+02:002015-05-16T17:10:36.887+02:00Thanx bro...got wat i was looking for...Thanx bro...got wat i was looking for...Jolsonnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-6442251615159415102015-04-07T08:28:48.807+02:002015-04-07T08:28:48.807+02:00Thank youThank youAnonymoushttps://www.blogger.com/profile/09973895283600530946noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-64207496938345596422014-09-11T12:20:30.085+02:002014-09-11T12:20:30.085+02:00Boss you are genius !!Boss you are genius !!Omernoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-82501488321174864882014-07-04T07:18:55.646+02:002014-07-04T07:18:55.646+02:00Thanks.. very helpfulThanks.. very helpfulAnonymoushttps://www.blogger.com/profile/12716634140897383309noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-343870138436913632014-01-27T06:13:34.874+01:002014-01-27T06:13:34.874+01:00thanks dude, it was very helfullthanks dude, it was very helfullRamiro Madriagahttps://www.blogger.com/profile/06401785847729612237noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-27714533538332924432013-10-27T05:17:30.138+01:002013-10-27T05:17:30.138+01:00now i dont need to take an advil
thank unow i dont need to take an advil<br />thank uAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-79651420553494930062013-06-04T14:00:08.397+02:002013-06-04T14:00:08.397+02:00Thanks man !Thanks man !Harteghttps://www.blogger.com/profile/01132348108769132432noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-87686426918460233752013-04-29T00:37:20.963+02:002013-04-29T00:37:20.963+02:00Duuuude, you're a life saver, thanks so much f...Duuuude, you're a life saver, thanks so much for this, we've been trying to make this work for <b>hours</b> and the solution was a simple line.GabLeRouxnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-86753154633540998692012-10-01T08:10:27.252+02:002012-10-01T08:10:27.252+02:00Thanks buddy my code is working fine now..Thanks buddy my code is working fine now..pramodhttps://www.blogger.com/profile/09998470841384151869noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-62550872229856116642012-07-24T14:22:16.442+02:002012-07-24T14:22:16.442+02:00Thanx a lot for this Great Post...!! yo yo...my co...Thanx a lot for this Great Post...!! yo yo...my code works robustly...Vivekhttps://www.blogger.com/profile/00407583905202550704noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-89027390526431222802012-03-14T04:55:31.336+01:002012-03-14T04:55:31.336+01:00This is a good article, thanks.
But I would be in...This is a good article, thanks.<br /><br />But I would be inclined to put this logic into the code, instead of the layout as this is more of functionality issue then a layout issue.<br /><br />So I did:<br /><br />view.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS);<br /><br />on the inflated view.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-90982072078420827912012-01-27T03:35:37.993+01:002012-01-27T03:35:37.993+01:00Thanks a ton for this post! I had the same issue w...Thanks a ton for this post! I had the same issue with a checkbox. If I used focusable=false it caused problems with onCheckedChangedListener. This cleared it up.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-53066549031386709762011-10-04T12:23:17.056+02:002011-10-04T12:23:17.056+02:00Well that’s very Nice work! I would like to apprec...Well that’s very Nice work! I would like to appreciate the great work done by the web master and would like to tell everyone that they should post their interesting comments and should make this blog interesting. Once again I would like to say keep it up to blog owner!!! i enjoyed to read this post.India web hostinghttps://www.blogger.com/profile/02180945946102607848noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-8931983383270421062011-08-22T10:50:52.356+02:002011-08-22T10:50:52.356+02:00Thanks for the explanation, Darth.
I hesitated a ...Thanks for the explanation, Darth.<br /><br />I hesitated a bit whether to publish this post - it seemed to be a variation of an old post. But now it is evident that this ImageButton issue needed to be mentioned. :-)Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-27820607168048698332011-08-20T04:11:26.006+02:002011-08-20T04:11:26.006+02:00There is a feature of the ImageButton in Android: ...There is a feature of the ImageButton in Android: it cannot be set to non-focusable using xml attribute, because someone explicitly calls setFocusable(true) in the constructor: <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/ImageButton.java;h=12a68db8af1e8794bb19f41a1f275c860b9ca30c;hb=HEAD" rel="nofollow">see the sources</a>. There is an issue submitted, but it seems that the Android team will not fix it: <a href="https://review.source.android.com/15203" rel="nofollow">https://review.source.android.com/15203</a>Darth Beleghttps://www.blogger.com/profile/06206023693476280099noreply@blogger.com