[android-developers] Re: Custom List View is not Click-able when scrolling the list.

2014-07-15 Thread Damien Cooke
Ali,
Should this be done in the Adaptor sub class or the XML as we create the 
view components?
Damien


On Thursday, January 12, 2012 12:14:10 AM UTC+10:30, Ali Chousein wrote:

 So, what exactly is the problem you are facing? If I understand you 
 correctly, clicking on list items does not respond, right? What do 
 your list items have? Do they have any clickable objects, like 
 buttons, checkboxes and similar? If yes, then you should make these 
 objects non-clickable. 

 - 
 Ali Chousein 
 http://www.codeproject.com/KB/android/PayGol-Android.aspx 
 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy 
 http://geo-filtered-assistant.blogspot.com 
 https://marketplace.cisco.com/apphq/products/994 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Custom List View is not Click-able when scrolling the list.

2012-01-11 Thread rde8026
you should post your code (formatted correctly) no a summation of your
code.
also, you should post the code for the adapter you used to populate
the list.  this would possibly get you some answers.

On Jan 10, 9:27 am, Seshu s.seshu...@gmail.com wrote:
 Hi Every Body,
        I am using custom list view in my app. first time if i clicked
 the custom list view means it's going 2 activity, and if i scrolled
 the list and then click is not responding. i am not getting where the
 problem is coming. I wrote the list view like that

 LinearLayout android:layout_width=fill_parent
                 android:layout_height=fill_parent 
 android:orientation=vertical
                 android:id=@+id/commonlistlayout 
 android:background=@drawable/
 transparent1_bg
                 android:layout_margin=10dp
                 ListView android:layout_height=fill_parent 
 android:id=@+id/
 commonlistview
                         android:layout_width=fill_parent 
 android:scrollingCache=false
                         android:scrollbars=none android:fadingEdge=none
                         android:layout_below=@+id/commonlistheadtext
 android:layout_margin=10dp
                          /
         /LinearLayout

 and in activity class i wrote like that.

 class myactivity extends Activity {
 ListClass listclass;
 ListView list
 oncreate() {
 list = (listView)
 listclass = new ListClass();
 list.setAdapter(list);
 list.setonItemClickListnent() {
 event triggered..

 }

  can any one solve 2 this problem,
 Thanks in advance,
 S.Seshu,
 s.seshu...@gmail.com







 }
 }

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Custom List View is not Click-able when scrolling the list.

2012-01-11 Thread Ali Chousein
So, what exactly is the problem you are facing? If I understand you
correctly, clicking on list items does not respond, right? What do
your list items have? Do they have any clickable objects, like
buttons, checkboxes and similar? If yes, then you should make these
objects non-clickable.

-
Ali Chousein
http://www.codeproject.com/KB/android/PayGol-Android.aspx
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://geo-filtered-assistant.blogspot.com
https://marketplace.cisco.com/apphq/products/994

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Custom List View

2010-12-06 Thread Tapomay Dey
I guess View (in)visibility is supposed to be handled in getView.


On Thu, Dec 2, 2010 at 11:49 AM, Prateek Jain mrprateekj...@gmail.comwrote:

 On itemClickListener make web view invisible for all the items other
 than the selected one.

 It will be better if you can post the code too.

 Cheers,
 Prateek

 On Dec 2, 11:05 am, Android Humanoid droid.hu...@gmail.com wrote:
  Hi All,
 
  I have custom list view in which each list item has
  1. an ImageView
  2. a TextView and
  3. a WebView
 
  I made webview invisible by default, when the list item got selected
  am making the web view visible of the corresponding list item but when
  am moving down the webview is not getting invisible of the previous
  list item that i have visited.
 
  Thanks  Regards

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Custom List View

2010-12-06 Thread Tapomay Dey
And of course getView is applicable when you are using adapters to hold the
data objects for the list.

On Thu, Dec 2, 2010 at 12:23 PM, Tapomay Dey tapomay@gmail.com wrote:

 I guess View (in)visibility is supposed to be handled in getView.


 On Thu, Dec 2, 2010 at 11:49 AM, Prateek Jain mrprateekj...@gmail.comwrote:

 On itemClickListener make web view invisible for all the items other
 than the selected one.

 It will be better if you can post the code too.

 Cheers,
 Prateek

 On Dec 2, 11:05 am, Android Humanoid droid.hu...@gmail.com wrote:
  Hi All,
 
  I have custom list view in which each list item has
  1. an ImageView
  2. a TextView and
  3. a WebView
 
  I made webview invisible by default, when the list item got selected
  am making the web view visible of the corresponding list item but when
  am moving down the webview is not getting invisible of the previous
  list item that i have visited.
 
  Thanks  Regards

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Custom List View

2010-12-02 Thread Doug


On Dec 1, 10:05 pm, Android Humanoid droid.hu...@gmail.com wrote:
 Hi All,

 I have custom list view in which each list item has
 1. an ImageView
 2. a TextView and
 3. a WebView

 I made webview invisible by default, when the list item got selected
 am making the web view visible of the corresponding list item but when
 am moving down the webview is not getting invisible of the previous
 list item that i have visited.

You'll probably want some member variable to hold the position of the
list item that needs to have its webview shown, update that on
whatever event that would require it to change, then notify the
adapter backing the listview every time this member variable changes.
Refreshing the adapter in this way will cause all your other visible
list item views to be rebuilt via the getView method on the adapter.
You will have to specifically set the visibility of the webview in for
each item in the view, especially if you are allowing views to be
recycled.

Doug

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Custom List View

2010-12-01 Thread Prateek Jain
On itemClickListener make web view invisible for all the items other
than the selected one.

It will be better if you can post the code too.

Cheers,
Prateek

On Dec 2, 11:05 am, Android Humanoid droid.hu...@gmail.com wrote:
 Hi All,

 I have custom list view in which each list item has
 1. an ImageView
 2. a TextView and
 3. a WebView

 I made webview invisible by default, when the list item got selected
 am making the web view visible of the corresponding list item but when
 am moving down the webview is not getting invisible of the previous
 list item that i have visited.

 Thanks  Regards

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: custom list view

2009-09-09 Thread dilli rao
see API demos   package : com.example.android.apis.view
file :   list14.java  example   in that you can modify the text view
properties as you need..

Thank you,
Dilli Rao

On Tue, Sep 8, 2009 at 11:21 AM, Sasi Kumar sasikumar.it1...@gmail.comwrote:


 I need a custom list view.

 For reducing the list view font size.

 I need a code for that..

 can any one help for this.

 thanks in advance.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: custom list view

2009-09-09 Thread Pratap

Hi
You can create your own adapter class for thw list view.In the getView
method you can create your own custom view for the
list item .

On Sep 8, 10:51 am, Sasi Kumar sasikumar.it1...@gmail.com wrote:
 I need a custom list view.

 For reducing the list view font size.

 I need a code for that..

 can any one help for this.

 thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---