[android-developers] Edittext inside a RecyclerView not working properly.

2016-01-06 Thread ravir . priyadarshi
I am using RecyclerView 23.0+, the RecyclerView is containing Edittext which can be multiline by property. Whenever I am entering texts inside the Edittext and pressing the enter button to go to the next line then, I am unable to see the cursor and hence the next line also. When I am scrolling

[android-developers] EditText onFocusChange(...) not being called

2014-06-30 Thread earamsey
I set focus change listener with following code; > edt.setOnFocusChangeListener(new View.OnFocusChangeListener() { > > @Override > public void onFocusChange(View v, boolean hasFocus) { > if (hasFocus) { > // do something >

[android-developers] Edittext phone style not retaining

2013-05-11 Thread Sandy
I am making an app,, in which i am setting edittext font from asset folder, and i want to share this text with other apps like whatsapp facebook, but this is not retaining its property when i am sharing. -- -- You received this message because you are subscribed to the Google Groups "Android Dev

Re: [android-developers] EditText lose focus when appears keyboard in ListView

2013-05-01 Thread Bazlur Rahman
I found this solution doesn't work on Samsung s2 and S3 phone. Sincerely A. N. M. Bazlur Rahman Software Engineer Therap Services, LLC On Sun, Sep 23, 2012 at 3:17 AM, biosstar wrote: > Try to set > android:windowSoftInputMode="adjustPan" > for your activity in the AndroidMa

[android-developers] Edittext - can't type

2013-02-14 Thread Ocean
I am a newbie in android developement. i am not able to entered or type in edittext using keyboard and whiledouble click , able to entered using Android emulator keyboard. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] EditText linkify in Android 4 issue

2012-10-04 Thread Ondrej
I have tv = (EditText)findViewById(R.id.someid); tv.setLinksClickable(true); tv.setAutoLinkMask(Linkify.ALL); In Android 4 links are created but nothing happens when touching them. This works in Android 2 correctly. Does anybody know what is issue here? -- You received this messa

Re: [android-developers] EditText lose focus when appears keyboard in ListView

2012-09-23 Thread biosstar
Try to set android:windowSoftInputMode="adjustPan" for your activity in the AndroidManifest.xml That solved the problem for me Am Donnerstag, 29. April 2010 05:12:23 UTC+2 schrieb krekar: > > Hi, all :D > > I make ListView that has some items that has one EditText and one > ImageButton. >

Re: [android-developers] EditText without initial keyboard

2012-09-13 Thread Ravin
Okay thanks for that info Harri. I managed to get it to work using the focus method so I did not end up having to investigate your method. On Wednesday, September 12, 2012 10:22:04 AM UTC-7, Harri Smått wrote: > > > On Sep 12, 2012, at 7:51 PM, Ravin > > wrote: > > > Does anyone know how to con

Re: [android-developers] EditText without initial keyboard

2012-09-12 Thread Harri Smått
On Sep 12, 2012, at 7:51 PM, Ravin wrote: > Does anyone know how to configure an EditText object so that when it is > created it does not show the keyboard until I tap on the text field. Right > now the keyboard shows up right away on creation. I've used following code snippet in my applicati

Re: [android-developers] EditText without initial keyboard

2012-09-12 Thread Ravin
Okay thanks - I will try that. btw I have your books and have found them well written and very useful for anyone learning Android development. On Wednesday, September 12, 2012 9:57:49 AM UTC-7, Mark Murphy (a Commons Guy) wrote: > > On Wed, Sep 12, 2012 at 12:51 PM, Ravin > > wrote: > > Does a

Re: [android-developers] EditText without initial keyboard

2012-09-12 Thread Mark Murphy
On Wed, Sep 12, 2012 at 12:51 PM, Ravin wrote: > Does anyone know how to configure an EditText object so that when it is > created it does not show the keyboard until I tap on the text field. Right > now the keyboard shows up right away on creation. Give some other widget the initial focus. The E

[android-developers] EditText without initial keyboard

2012-09-12 Thread Ravin
Does anyone know how to configure an EditText object so that when it is created it does not show the keyboard until I tap on the text field. Right now the keyboard shows up right away on creation. -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] edittext focus in tablerow

2012-08-23 Thread vani reddy
Hi, I have a tableRow which i am showing in a dialog which has 5 components aligned like this: EditText1 Spinner1 EditText2 Spinner2EditText3 Button. By default cursor is focused on EditText1 ,I want to make it focus on EditText2 . How to acheive this??? -- Thanks, Vani Reddy

[android-developers] EditText focus problem in Linear layout

2012-07-29 Thread Muhammad Rashid
I am using four EditText in two Linearlayout with horizontal orientation. Each linearlayout has 2 edittext. if edittext1 has focus and I press enter key, the focus goes to edittext3 instead of edittext2. Here is my code;

Re: [android-developers] EditText ListView TextChanged problem:

2012-03-19 Thread Justin Anderson
Essentially, I'm suggesting that rather than creating an anonymous TextWatcher class you pull that out into its own class... Then in the getView() method you create a new instance of that class and set that on the view. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/mag

Re: [android-developers] EditText ListView TextChanged problem:

2012-03-19 Thread Mark Winchester
1. SetValue changes the value for the input in the ModeInput class and reaches into the native code to change the value in the calculator. ChangeValue only effects the ModeInput class. 2. I'm not sure that I quite follow you on this one. Do you know of an example that exists somewhere, out the

Re: [android-developers] EditText ListView TextChanged problem:

2012-03-15 Thread Justin Anderson
A couple things: 1. What do ModeInput.SetValue() and ModeInput.ChangeValue() do? 2. I'm not sure you want to be doing an anonymous TextWatcher class in your getView() method... I may be wrong on this, but since you are using the position parameter that is passed into the getView() meth

[android-developers] EditText ListView TextChanged problem:

2012-03-15 Thread Mark Winchester
I've got a ListView that contains EditText objects that correspond to inputs for a calculation. In an effort to increase performance, I've implemented a ViewHolder class, for the ListView, since I've read that this is the better way to handle the inflation of custom views in the ListView. I'v

[android-developers] EditText not Accepting Soft Keyboard Input from Supporting Activity

2012-03-06 Thread Dancing Fingers
Hi guys, My default activity is a game so I didn't include Soft Keyboard dialog in this activity. One feature of my app is to email game results to friends in a supporting activity. This activity has several EditText widgets but it gets stuck in the first email/textedit widget. The widget appear

Re: [android-developers] EditText input into array

2012-02-28 Thread TreKing
On Mon, Feb 27, 2012 at 9:45 PM, minnie me wrote: > Add more button and storing to array doesn't quite work > Would you explain what "doesn't quite work" means? http://www.catb.org/~esr/faqs/smart-questions.html ---

[android-developers] EditText input into array

2012-02-27 Thread minnie me
I have an input box (EditText1) 1. that i want to keep adding values and save them to an Array 2. then when am done, i can click the done button and it can take me to the next screen and I can display the values or call the values of the array.. this is what i have so far 1. Done Button Works 2.

[android-developers] EditText with bitmaps

2012-02-02 Thread Robert Slama
Hi guys, is any way how make edittext custumized as is on attached image? r^ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send ema

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread Stéphane Bruno
I applied Mark Murphy's suggestion. It works now. I am going to file a bug for the method I tried though... Thanks, guys! On Thu, Feb 2, 2012 at 9:15 AM, dmon wrote: > Hmmm i just saw there's a selectAllOnFocus attribute. I've never tried it > though. > > -- > You received this message because y

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread dmon
Hmmm i just saw there's a selectAllOnFocusattribute. I've never tried it though. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread Mark Murphy
On Thu, Feb 2, 2012 at 8:52 AM, Stéphane Bruno wrote: > >> Then create an XML layout that contains just the EditText and inflate >> that, rather than adding it through Java directly. > >  I am going to try that, but can you explain why the above method does not > work? Is it a bug? If I knew that

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread Stéphane Bruno
> Then create an XML layout that contains just the EditText and inflate > that, rather than adding it through Java directly. > I am going to try that, but can you explain why the above method does not work? Is it a bug? Stéphane > -- You received this message because you are subscribed to t

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread Mark Murphy
On Thu, Feb 2, 2012 at 8:09 AM, Stéphane Bruno wrote: > No. The hint method does not suit what I want to do. The text in the > EditText field is valid text, not a hint about what the user should enter. > In fact it is a Quantity field in an order entry system. I want the user to > just enter a new

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread Stéphane Bruno
No. The hint method does not suit what I want to do. The text in the EditText field is valid text, not a hint about what the user should enter. In fact it is a Quantity field in an order entry system. I want the user to just enter a new number over the number that is already there instead of de

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread Kostya Vasilyev
On 02/02/2012 04:42 PM, Mark Murphy wrote: On Wed, Feb 1, 2012 at 11:12 PM, Stéphane Bruno wrote: I am trying to programmatically select all the text in an EditText field when a user touches the field so that when the user starts typing it replaces the existing text (I cannot use settings in t

Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread Mark Murphy
On Wed, Feb 1, 2012 at 11:12 PM, Stéphane Bruno wrote: > I am trying to programmatically select all the text in an EditText field > when a user touches the field so that when the user starts typing it > replaces the existing text (I cannot use settings in the XML file because > this field is progr

[android-developers] EditText selectAll() does not work in ICS

2012-02-01 Thread Stéphane Bruno
Hi, I am trying to programmatically select all the text in an EditText field when a user touches the field so that when the user starts typing it replaces the existing text (I cannot use settings in the XML file because this field is programmatically added to the screen). To do this, I attached

Re: [android-developers] Edittext Scrolling

2012-01-31 Thread TreKing
On Tue, Jan 31, 2012 at 7:27 AM, aru padam wrote: > How i can possible to scroll through the edit text. > Try setting the maxlines property. Or show your layout. - TreKing

[android-developers] Edittext Scrolling

2012-01-31 Thread aru padam
Hi all, I am creating an app. It contain an edit text inside a scroll view. The edit text support multiple lines.My problem is that i can't make edit text scrollable.In the same screen there is a list view, it is scrollable.How i can possible to scroll through the edit text.Please help me.

[android-developers] EditText in ListView footer not visible when the soft keyboard is present

2012-01-27 Thread ivan
I have a ListView and I'm placing an EditText view in its footer, but the soft keyboard blocks the EditText view when it pops up. My AndroidManifest has: My activity layout: http://schemas.android.com/apk/res/android"; android:orientation="vertical" android:layo

Re: [android-developers] Edittext in Listview crashes on Android 2.2.3 on back during editing

2011-12-13 Thread poncho
http://groups.google.com/group/android-developers/browse_thread/thread/50f0fc185da8fe4d?pli=1 On 12/14/2011 08:08 AM, havexz wrote: Hi So here is what I did. I have a ListView and each item in it is a EditText. Now, just so you know I am using CursorAdapter with ListView, and I am creating Edit

[android-developers] Edittext in Listview crashes on Android 2.2.3 on back during editing

2011-12-13 Thread havexz
Hi So here is what I did. I have a ListView and each item in it is a EditText. Now, just so you know I am using CursorAdapter with ListView, and I am creating EditText in newView and filling it with some text in bindView. Now how to recreate the issue, I just open the activity, click on any of th

[android-developers] EditText key press

2011-11-01 Thread Aki
Is there any way to detect the KeyDown / KeyUp events of the soft keyboard in an EditText? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this gr

Re: [android-developers] EditText Fields as scrollview - I have 13 EditText Not all of them Visible

2011-10-21 Thread Justin Anderson
I'm not sure what the problem is, but I can tell you that your XML contains WAY too many relative layouts... I can't really think of a reason that you would need to have two relative layouts side-by-side... You don't need to wrap each TextView/EditText pair in their own RelativeLayout. The whole

[android-developers] EditText Fields as scrollview - I have 13 EditText Not all of them Visible

2011-10-21 Thread Amnonr
The scrollView is not display,only the first edit test is display I am having problem with the loswet 12 editText fields. They are not visible. Here is my layout file. Please let me know if anybody finds out the problem. thx CODE:.

[android-developers] EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
I want my custom EditText to behave like this - When app starts it seems a TextView (ie normal text on solid color background, cursor not shown) - When users taps, it changes its appearance to look "selected" (ie a different background, still cursor not displayed) - When user long

Re: [android-developers] EditText: numeric input size

2011-10-05 Thread Kostya Vasilyev
Try using android:maxLength MaxEms has to do with the appearance, not data entry. 05.10.2011 21:05, John Goche ?: Hello, I have an EditText which contains an integer. I am trying to confine its values to 4 digits as follows: but when I run my app in the emulator I can type mo

[android-developers] EditText: numeric input size

2011-10-05 Thread John Goche
Hello, I have an EditText which contains an integer. I am trying to confine its values to 4 digits as follows: but when I run my app in the emulator I can type more than 4 digits. What should I do? Thanks, John Goche -- You received this message because you are subscribed to the Goo

Re: [android-developers] EditText with tiled background

2011-10-04 Thread John Goche
Vladyslav, Have you managed to do achieve the effect you wanted? I am trying to have an image repeat only in one portion of the background... any hints you could offer? Regards, John Goche -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] EditText layer on SurfaceView gets invisible problem

2011-09-18 Thread ayanir
Hello, I have the following problem: my layout includes SurfaceView (custom view with com.components.game.MyGameView) and a RelativeLayout which includes EditText view: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_par

[android-developers] EditText with tiled background

2011-09-07 Thread Vladyslav Chyzhevskyi
Hi everyone! I tried to create EditText element with tiled background. I use 9-patch, but this scratch image for whole edit area, rather I want to repeat it, look like in picture below.

[android-developers] EditText box doesn't work the same way in PopupWindow as in AlertDialog

2011-08-26 Thread Frank
Dear All, I am having some difficulty getting an EditText widget work properly in a PopupWindow class. When it is used in a PopupWindow and double clicked/long pressed, nothing happens. However, when it is put in an AlertDialog, double click selects the text in it and brings up a built-in text to

Re: [android-developers] EditText text validation

2011-08-08 Thread TreKing
On Sun, Aug 7, 2011 at 10:57 PM, yoav bbb wrote: > Where is the hook for the validate function? There isn't one, AFAIK. - TreKing - Chicago trans

[android-developers] EditText text validation

2011-08-08 Thread yoav bbb
Hello I have an EditText box that user fills with its text. I need to run a simple Validate() function on its data when the user leaves this text box and alert him if the input String is incompatible. Where is the hook for the validate function? Thanks -- You received this message because you ar

[android-developers] Edittext Error width and height

2011-08-04 Thread Duygu Kahraman
Hi; In my project i used edittext in xml.Problem is when i scale bigger (edit android:layout_width="250dip" android:layout_height="300dip") writeable field start center and when you write something this field words is going to up.When you write lots of word you cannot reach these because you canno

Re: [android-developers] edittext cursor

2011-07-12 Thread Justin Anderson
Um what? This example is at runtime... You edit text cursor can be anywhere from 0 to the length of the current text. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 1, 2011 at 4:48 AM, vani reddy wrote: > > Hi, > How to set edittext cursor to

[android-developers] edittext cursor

2011-07-04 Thread vani reddy
Hi, How to set edittext cursor to a particular position in android. I referred http://thedevelopersinfo.com/2009/11/15/put-cursor-at-specific-position-in-edittext-component-in-android/ but this is when d text is already defined. i want at runtime?? -- Regards, Vani -- You received this messag

[android-developers] EditText and the unwanted Quick Search Box

2011-06-01 Thread Eric Carman
I have an app that uses an EditText for input and is very simple. In the code I trap the OnKeyListener to listen for the enter key, otherwise nothing else is going on with this EditText. Problem (steps to reproduce): 1. Start the app. 2. Tap on the EditText to bring up the soft-keyboard. > The

[android-developers] EditText weird crash when debugging on LG Optimus...

2011-05-26 Thread Sheshadri Mantha
Hi; I have an app which works in the emulator and on Droid phones. While testing on an LG Optimus (which BTW has Swype installed) it crashes with the following stack trace (NOTE: it is in the constructor of EditText). What is weird is that supposed offending line in TextView (981) is the method s

[android-developers] EditText stops displaying characters as I'm typing?

2011-05-13 Thread Ben S
Basically what happens is I will start typing on the keyboard (stock and third party), and all of a sudden it stops showing characters I type in the EditText, (sometimes) resets the caret to the beginning, yet I know I'm still typing because the suggestions box shows the characters as I type. I've

Re: [android-developers] EditText causes app to crash

2011-05-13 Thread Justin Anderson
*> Sometimes, being on the outside, it is easy to remember that there is a lot of effort going on that we can't see* That should have read "it is easy to forget..." Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 9:27 AM, Justin And

Re: [android-developers] EditText causes app to crash

2011-05-13 Thread Justin Anderson
As the person who accidentally started this whole issue, I would like to formally apologize. In truth I was really hacked off with HTC yesterday because they literally provide Zero developer support. I made my comment quickly without thinking of the ramifications and consequences it would have an

Re: [android-developers] EditText causes app to crash

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 11:50 PM, Dianne Hackborn wrote: > On Thu, May 12, 2011 at 8:21 PM, TreKing wrote: > >> Just two quick points: >> 1 - Most, if not all, of the complaining about lack of support is directed >> squarely at the Android Market. I think you know this. >> > > Well except the com

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Dianne Hackborn
On Thu, May 12, 2011 at 8:21 PM, TreKing wrote: > Just two quick points: > 1 - Most, if not all, of the complaining about lack of support is directed > squarely at the Android Market. I think you know this. > Well except the comment I was replying to here wasn't about Market. I very much avoid

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Bob Kerns
Dianne, there's another way to look at this. I don't think it is as much a matter of entitlement, as investment. People are emotionally and financially invested in the success of the Android platform -- as are you! A lot of what you see isn't so much "I am entitled to X", as "Android really ne

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Bob Kerns
I think we need to clearly distinguish between "Support provided by Google", and "Support provided by Dianne Hackborn". (And a few other notables, but especially you.) There's no question that if you stopped posting, you'd have time to do other stuff to improve the platform. But I really don't

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread TreKing
On Thu, May 12, 2011 at 9:40 PM, Dianne Hackborn wrote: > From watching all of this for a few years now, I honestly believe that > giving things away for free like this has a strange tendency to cause people > to feel entitled about what they are getting and expect they should be > getting unreaso

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Dianne Hackborn
It's not just about me posting to this group. Google puts significant time and money in to creating, documenting, and supporting the Android SDK, in to maintaining and improving the developer tools, in to improving the platform in ways that developers request. All of this, including all of the ge

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread B Lyon
I don't know anything about HTC, but wanted to ditto Justin's gratefulness to the android developers for the information they provide via this forum, especially Dianne. On Thu, May 12, 2011 at 7:38 PM, Justin Anderson wrote: > Dianne, > I added a quick after-post stating that Google does more tha

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Justin Anderson
Dianne, I added a quick after-post stating that Google does more than HTC because HTC does not have any sort of forum for the developers like this... I have defended Google and developers like yourself on several occasions because of the support you do provide and am very grateful for your contri

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Dianne Hackborn
On Thu, May 12, 2011 at 11:27 PM, Justin Anderson wrote: > *> Try HTC support forums - maybe it's their bug.* > Good luck with that... In my experience they provide as much support for > developers as Google does. > I increasingly get tempted to stop posting on this forum. It would sure give me

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Justin Anderson
Actually less because they don't even have a forum or group like this for developers. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 12, 2011 at 5:27 PM, Justin Anderson wrote: > *> Try HTC support forums - maybe it's their bug.* > * > * > Goo

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Justin Anderson
*> Try HTC support forums - maybe it's their bug.* * * Good luck with that... In my experience they provide as much support for developers as Google does. *** * Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 9, 2011 at 6:50 AM, TreKing wrote:

Re: [android-developers] EditText causes app to crash

2011-05-09 Thread TreKing
On Sun, May 8, 2011 at 10:09 PM, Abhinav Asthana wrote: > Caused by: java.lang.NullPointerException > at *com.htc* > .textselection.TextSelectionMethodImpl.initAnchorAndMagnifier(TextSelectionMethodImpl.java: > 310) > at *com.htc* > .textselection.TextSelectionMethodImpl.initialize(TextSelection

[android-developers] EditText causes app to crash

2011-05-08 Thread Abhinav Asthana
I have been breaking my head over this for the past 1 month over this error I am having on certain HTC models. The app runs fine on other phones but crashes with a long list of exceptions. This is what I got from the market: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vt

[android-developers] EditText in Honeycomb

2011-05-03 Thread Vector-Code
I posted about this over at Stack Overflow but no joy yet, so I'm expanding my search for help here. Perhaps it's a bug but I don't want to go there just yet. Here's the problem as I described it there: I have an application that uses an internal ime (meaning the ime is just code within the applic

Re: [android-developers] EditText Issue

2011-04-14 Thread TreKing
On Wed, Apr 13, 2011 at 9:17 AM, Bobbie wrote: > I have a project I've been working on for a while, a chat client. > However, this one is a specific type. I need to make it so the user can > not move the cursor to any part of the text > Why? Sounds like the worst chat app ever. --

[android-developers] EditText Issue

2011-04-13 Thread Bobbie
Hello all. I am running a DROID with Android 2.2.2 on it. I have a project I've been working on for a while, a chat client. However, this one is a specific type. I need to make it so the user can not move the cursor to any part of the text, so it has to stay at the end of the text they are typi

Re: [android-developers] EditText in Activity show keyboard immediatly

2011-04-11 Thread TremendousTurtle
You can suppress the keyboard show using InputMethodManager in onFocusChanged listener. On Apr 11, 2011 4:59pm, pedr0 wrote: Hi at all, I have an activity with one EditText in layout, when Activity is showed immediatly edittext is focused and keyboard is showed, how avoid it?

Re: [android-developers] EditText in Activity show keyboard immediatly

2011-04-11 Thread luiX_
Have you tried to manually set the initial focus to any other element in the activity? El 11/04/2011 10:59, "pedr0" escribió: > Hi at all, > > I have an activity with one EditText in layout, when Activity is > showed immediatly edittext is focused and keyboard is showed, how > avoid it? > > > > --

[android-developers] EditText in Activity show keyboard immediatly

2011-04-11 Thread pedr0
Hi at all, I have an activity with one EditText in layout, when Activity is showed immediatly edittext is focused and keyboard is showed, how avoid it? -- undefined -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] EditText to filter a listview

2011-04-02 Thread Igor Nesralla Ribeiro
Hi, i have a edittext and a listview ... I want to do thiswhen the users type on a edittext this will filter a listview But...the problem is the listview returns nothing when I type someword that i have in the list. Can anyone help me ? or there any another simple way to do this H

[android-developers] EditText View control distorted in a qvga android phone as well as the emulator

2011-03-19 Thread Reinwald
The issue i am currently facing was faced by another person stated here http://stackoverflow.com/questions/5178531/graphics-distorted-in-qvga-android-phone I even tried a test with a simple Linear layout with a EditText view control but still face the issue. Any idea what could be the issue here

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Patrick
Thanks that did the trick. I never thought of putting a EditText directly into TableLayout. But it really worked. Thanks for your help... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Kostya Vasilyev
What happens if you get rid of that last TableRow, so that the EditText is directly inside the TableLayout? 19.03.2011 20:33, Patrick ?: Unfortunately didn't work. I tried setting a /android:layout_height="fill_parent"/ to both, the table row and the EditText itself. However there was no c

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Patrick
Unfortunately didn't work. I tried setting a * android:layout_height="fill_parent"* to both, the table row and the EditText itself. However there was no change... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Kostya Vasilyev
If it's the view I think it is, try setting its height to fill_parent, and either get rid of its enclosing TableRow, or set its height to fill_parent as well. And layout_span="4" seems excessive - I don't see any rows with 4 columns in your layout. -- Kostya 19.03.2011 19:31, Patrick пишет:

[android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Patrick
Hallo! I'm suffering again a layout issue. My requirnments are: * header which is always visible * scrollview containing a table (with 2 edittexts (single line) and a edittextfield, that is multisline and should fill up all the rest of the screen (except a button at the bottom of the screen).

Re: [android-developers] EditText onKey does not fire in android 2.1

2011-03-02 Thread Guillaume Imbert
Hi I have the same problem with my app. Only the back key and the OK key trigger the onKey method. I can't understand what's wrong since this app has not been modified for months and used to work onto Android 1.5 To bypath this issue I used a TextWatcher, but I am very interested in what's wrong

[android-developers] Edittext landscape - not full screen

2011-03-02 Thread André
In my app my edittext changes to full screen when it's focused and in landscape. I have seen apps that has worked around some how so that the soft keyboard just ends up being on top of the edittext. Any suggestions of how I can achieve this? // André -- You received this message because you are

[android-developers] EditText onKey does not fire in android 2.1

2011-02-28 Thread Mohammad Haque
Hi I have came across a problem with android 2.1 EditText. It does not fire onKey event listener. EditText edit = (EditText) findViewById(R.id.edit); edit.setOnKeyListener(new OnKeyListener() { @Override public boolean onKey(View v,

Re: [android-developers] EditText behaving weirdly

2011-02-27 Thread Richard Marsh
Ok. This is going to be pretty long. Posted below is the onCreateDialog and onPrepareDialog. Another, possible related issue is that when the screen rotates to landscape mode, the dialog box is opened again for reasons unknown. @Override protected Dialog onCreateDialog(int id) { f

Re: [android-developers] EditText behaving weirdly

2011-02-26 Thread Justin Anderson
The code relevant to the problem... That way we might be able to see what is causing the behavior On Feb 27, 2011 12:08 AM, "Rajesh Kumar" wrote: > May be You r using setText(). Cursor will come to begining position. > > On Sat, Feb 26, 2011 at 5:58 PM, Richard Marsh < richardandrewma...@gmail.com

Re: [android-developers] EditText behaving weirdly

2011-02-26 Thread Rajesh Kumar
May be You r using setText(). Cursor will come to begining position. On Sat, Feb 26, 2011 at 5:58 PM, Richard Marsh wrote: > Which code wold you like to see? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group

Re: [android-developers] EditText behaving weirdly

2011-02-26 Thread Richard Marsh
Which code wold you like to see? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegro

Re: [android-developers] EditText behaving weirdly

2011-02-25 Thread Justin Anderson
Code? On Fri, Feb 25, 2011 at 6:49 AM, Richard Marsh wrote: > I have a pretty weird situation. I have an expandable listview. When you > click on the child item, a dialog opens up and you can edit some text to > save. The dialog is created with a xml layout and using an inflater at > runtime. I

[android-developers] EditText behaving weirdly

2011-02-25 Thread Richard Marsh
I have a pretty weird situation. I have an expandable listview. When you click on the child item, a dialog opens up and you can edit some text to save. The dialog is created with a xml layout and using an inflater at runtime. I also populate the edit text field with a value. For some reason, th

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread Brill Pappin
FYI - this is supposed to be fixed in Froyo: Branch Namefroyo-plus-aospmastertools_r8tools_r9 Looks like the manufacturers are not keeping up again. ... but who is surprised by that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread Brill Pappin
Thanks Roman, unfortunately as soon as I resolve one item, another pops up :) Seems when you do anything to the EditText using setEnabled/setFocusable etc. the view does not get properly restored and you have no cursor, or the cursor is off the screen and the length is somehow 0 to the keyboar

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread Romain Guy
You can re-enable the property, just call setFocusableInTouchMode(). On Thu, Feb 10, 2011 at 10:31 AM, Brill Pappin wrote: > Yikes, more bugs with doing that. > Seems once you set focusable == false, you can't undo it. > > here is the method... it never seems to reenable the property. > > publi

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread TreKing
On Thu, Feb 10, 2011 at 12:31 PM, Brill Pappin wrote: > Yikes, more bugs with doing that. > Seems once you set focusable == false, you can't undo it. > Wow - that's awesome. I used this for a restricted feature in my free version so I never had to undo it. Looks like you're slapping together you

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread Brill Pappin
Yikes, more bugs with doing that. Seems once you set focusable == false, you can't undo it. here is the method... it never seems to reenable the property. public void setFocusable(boolean focusable) { if (!focusable) { setFlags(0, FOCUSABLE_IN_TOUCH_MODE); }

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread TreKing
On Thu, Feb 10, 2011 at 12:04 PM, Brill Pappin wrote: > Yah, I'm thinking its a bug as well. > There is no logical reason i can think of for a disabled text input to > accept new data from the keyboard (although you should be able to > programatically set it). > > I'll go see if I can find where

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread Brill Pappin
Yah, I'm thinking its a bug as well. There is no logical reason i can think of for a disabled text input to accept new data from the keyboard (although you should be able to programatically set it). I'll go see if I can find where the bugs are for Android and add a report. -- You received thi

Re: [android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread TreKing
On Thu, Feb 10, 2011 at 11:24 AM, Brill Pappin wrote: > Is EditText.setEnabled(false) designed to work this way? I don't think so, but I ran into this as well. I worked around it by calling setFocusable(false) as well as setEnabled(false). That worked to prevent editing the text. I feel like t

[android-developers] EditText still allows input when setEnabled(false)!?

2011-02-10 Thread Brill Pappin
I've got a situation where i set a EditText to disabled, but the keyboard still allows the user to input text (although delete key doesn't work). Is EditText.setEnabled(false) designed to work this way? Just so you have context for the problem: In this case I am showing the user some encrypted t

  1   2   3   >