next day →
last day (26 days later) »
Sameer
05:16
No need of 2o onclick listner
Bella
so how to do it without 20onclicklIstener ?
Sameer
take one gridview with base adapter
and set onItemClickListner
Bella
what's grid view Sameer ?
like what ?
Sameer
.on which particular item you click it will give its position and you just have to show image of that pos
ohhhhhhhh
Bella
what ?
why ohhhhhhhhhhhhhhhhhhhhh ??
it's really first time to use
Sameer
05:18
i am surprised that you donot even know about gridview
.its ok np
see this
Bella
sorry u r so expert than me
Sameer
developer.android.com/resources/tutorials/views/…
Grid view example
Bella
yeah
i saw before but didn't use
Sameer
.after this you have to study custom dialog as you have to use gridview in custom dialog
Bella
i made custom dialoug from this
mkyong.com/android/android-custom-dialog-example
Sameer
05:20
this is custom dialog example from my blog also
androidtrainningcenter.blogspot.in/2012/04/…
Bella
oh ur blog now looks great :)
Sameer
thank you
Did you got the idea?
@Bella
Bella
then in code i got from lalit i got emotions image in editText but not textView
i want it to appear in chat listview
but it also appear in editText
then in textView appear like that :(
or :)
not image
@Sameer
i made content of dialoug with tableLayout
didnt think in using GridView
Sameer
you have to use html.fromhtm() method to show image in EditTExt
Gridview is for just showing all smiley and selecting from it
Bella
yeah i know
Sameer
05:25
.rest your code will be same
Bella
okay then i will change from this
stackoverflow.com/questions/3341702/…
to ur code right
?
Sameer
yea..you can
.you can start any of one idea all are almost similar
Bella
did u use it before ?is it appearing image in lisview chat
?
Sameer
i do this as part of RND
selecting image and then post
Bella
what's RND?
Sameer
05:28
.it show in listview just like chat app
Bella
yeah i want to do that also click on image then image appear on edittext then click send then image appear in listview
Sameer
so you can
Bella
okay sameer thank u buddy for helping will try that and let u know
Sameer
ping me with my name if you need :)
next day →
last day (26 days later) »
all rooms
Transcript for
May '12
3
May
4
Room for Sameer and Bella
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile