Sadly, I can only test on my Samsung N7000 Note phone with Android 4.1.2 as
it is my only device. My app puts up a dialog constructed as follows:
AlertDialog.Builder alert = new AlertDialog.Builder(this);
// Set an TextView view to get user input
final TextView input = new TextView(this);
input.setTextIsSelectable(true);
input.setText(sb.toString());
alert.setView(input);
alert.setTitle("Title");
alert.setPositiveButton(getString(R.string.ok),
new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int whichButton)
{
// do something here
}
});
alert.show();
This puts up the dialog as expected. However, as shown in the attached
screen shot,when I try to select text shown in the TextView the copy/paste
action bar is shown but no buttons for copy, select all, etc are shown in
the action bar. I note that I can touch the upper right, see a button
briefly, and then see a message saying copied to clipboard. I can then go
elsewhere and paste the data. So the functionality is there, it is just not
being shown to the user.
Can anyone shed some light on what I am doing wrong here?
Thanks
--
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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.