Hi I have a Querry,
I am trying to add buttons to the Incall screen. But after adding the
buttons, my buttons are not Clickable.
That’s UI is present in the screen. I am able to select the Buttons
using the up down arrow Key. And on pressing OK control is going to my
OnClickListener
But I am not able to Click the Buttons directly on the UI.
It looks like some kind of Blocking is there for Click events on the
Incall Screen, But still I need to get rid of it. Do suggest. What’s
the possible way?
My code is as follows.
public class InCallScreen extends Activity
implements View.OnClickListener, View.OnTouchListener,
CallerInfoAsyncQuery.OnQueryCompleteListener {
..
..
private Button mEndCall;
mEndCall = (Button) findViewById(R.id.EndCall);
mEndCall.setOnClickListener(new View.OnClickListener(){
public void onClick(View v) {
PhoneUtils.hangup(mPhone);
//handle the click and End Control here
}});
Thanks and regards
Zealousian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---