Hi kholif,
u can use ImageView.setOnclickListener(new setOnclick(){
Onclick(view){
/// user hide/display code here
}
}
Moktarul
On Feb 21, 5:33 pm, kholif adig adig...@gmail.com wrote:
hi
I have some problems in image button
I have some image button that when clicked on the button will
Hi kholif,
in xml file for imageview add this one
android:onclick=imageBtnClicked
and in corresponding java file add this method:
public void imageBtnClicked(View v) {
// add your code here
}
On Feb 22, 1:58 pm, moktarul anam mokta...@gmail.com wrote:
Hi kholif,
u can
Hi. .
thanks for all the solutions. . :D
On 22 Feb, 16:07, Seshu s.seshu...@gmail.com wrote:
Hi kholif,
in xml file for imageview add this one
android:onclick=imageBtnClicked
and in corresponding java file add this method:
public void imageBtnClicked(View v) {
// add your
hi
I'll send an email to you and I will include pictures that can explain
the intent of my question. . hopefully help
thank you
On 22 Feb, 06:17, TreKing treking...@gmail.com wrote:
On Tue, Feb 21, 2012 at 6:33 AM, kholif adig adig...@gmail.com wrote:
please give me a solution
Please
On Tue, Feb 21, 2012 at 8:00 PM, adig adig...@gmail.com wrote:
I'll send an email to you
Uh, no. Please reply to this thread and the whole group.
-
TreKing
Dear fei ji :
Thanks for your kindly response.
I had tried to use dip instead of px, but it doesm't work.
Should I add anything except dip?
BR,
Mark
On Feb 10, 7:31 pm, fei ji ufo22940...@gmail.com wrote:
Did you use dip when setting height and width of ImageButton?
On Fri, Feb 10,
Is there a way to have the selector code for multiple ImageButtons in
one xml file.
So, if i have 10 buttons, i want to have all the code in one file and
not in 10 xml files to set the background for each button.
Is there a way to give each selector tag an ID? and then use different
selectors
Hey Chris, I didn't realize this was done with the image background
attribute, I guess sometimes the answer is that simple. Thanks for
the heads-up and the code example. I am going to try this out, I will
repost my findings...
Thanks again,
Kevin
On Aug 20, 12:07 pm, Chris Chiappone [EMAIL
This can actually all be done in XML. Just make a drawable that is a
selector of the desired images. For example, here is the standard
button background drawable:
?xml version=1.0 encoding=utf-8?
!-- Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0 (the
Hi Hackbod,
Thanks for that. Sometimes I make this stuff seem harder than it is! I
think XML is the way to go, coming from a J2EE background I like the
MVC style a bit better. But either way works, thanks again to both of
you.
Kevin
On Aug 20, 6:44 pm, hackbod [EMAIL PROTECTED] wrote:
This
10 matches
Mail list logo