[android-developers] How to make Text unselectable in EditText

2012-12-27 Thread monty
Hello, Is there any way that user can not select the text inside EditText. example:- in my EditText there is a Text "HelloAndroid",so i want no one can select this text. only the user can edit it. Thanks -- You received this message because you are subscribed to the Google Grou

Re: [android-developers] How to make Text unselectable in EditText

2012-12-27 Thread TreKing
On Thu, Dec 27, 2012 at 4:24 AM, monty wrote: > example:- in my EditText there is a Text "HelloAndroid",so i want no one > can select this text. only the user can edit it. > > What's the point of this? --

Re: [android-developers] How to make Text unselectable in EditText

2012-12-27 Thread monty
my means is that no one can select the text which is inside the edittext..but user can edit it... example: I have field USER NAME - "india" ,if user double click or long press in edittext to select this text "india",he should not able to do that..but he wants to change USER NAME i.e "HelloUser".

Re: [android-developers] How to make Text unselectable in EditText

2012-12-27 Thread Jim Graham
On Thu, Dec 27, 2012 at 07:38:32PM -0800, monty wrote: > my means is that no one can select the text which is inside the > edittext..but user can edit it... > example: I have field USER NAME - "india" ,if user double click or long > press in edittext to select this text "india",he should not able

Re: [android-developers] How to make Text unselectable in EditText

2012-12-28 Thread TreKing
On Thu, Dec 27, 2012 at 9:38 PM, monty wrote: > my means is that no one can select the text which is inside the > edittext..but user can edit it... > example: I have field USER NAME - "india" ,if user double click or long > press in edittext to select this text "india",he should not able to do >

Re: [android-developers] How to make Text unselectable in EditText

2012-12-28 Thread Lew
monty wrote: > my means is that no one can select the text which is inside the edittext > [sic] ..but user can edit it... > example: I have field USER NAME - "india" ,if user double click or long > press in edittext to select this text "india",he should not able to do > that..but he wants to ch

Re: [android-developers] How to make Text unselectable in EditText

2013-01-07 Thread jason_gates
Hi, Sorry I don't have a specific solution. The term that you are looking for is "paste" buffer. A quick search on the API documents results in this page: https://developer.android.com/guide/topics/text/copy-paste.html One strategy to prohibit "copy" is to distribute the characters in your stri