Android :: EditText Hint Doesn't Show Up / What To Do?
Aug 31, 2010
My EditText configured as follows won't show the hint code...
It works if I set android:gravity="left" or if I remove android:scrollHorizontally and android:singleLine attributes, which is not desirable.
View 1 Replies
Oct 18, 2010
I have a one line EditText, when I set a long hint, the hint wraps to two lines. Can I force the EditText to be always one line tall? android:lines="1" didn't work.
View 1 Replies
View Related
Jun 29, 2010
How to reduce EditText Hint size?
View 1 Replies
View Related
Mar 1, 2009
My EditText hint is not wrapping. A hint isn't very useful if the last part is cut off. I am very cautious about restricting/forcing the dimensions my EditText box to ensure it looks decent regardless of screen dimensions. Here's what the relevant xml looks like:
<EditText android:id="@+id/ET1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:hint="@string/Hint1"
android:lines="3">
</EditText>
I've already set android:lines="3" to mitigate the issue, but it isn't enough. In order to maximize compatibility with various screen dimensions I would prefer OS wrapping over me putting in line breaks and hard returns in the string. There are other things happening in the view which also compel me to not manually set the width of the box to promote good breaks.
View 1 Replies
View Related
Jan 15, 2010
Adding an image on EditText works fine. However, copying an image is another problem. When I insert an image on EditText by using ImageSpan it shows correctly, but I copy inserted image, EditText shows me only 'obj'.
View 1 Replies
View Related
Jul 29, 2010
Every time I put a TextView before an EditText element in a LinearLayout, the EditText does not show. When I don't, it does.
I've narrowed the problem down to the TextView's layout_width attribute. If I give it "wrap_content", it works, but doesn't "block" down, and it appears on the same line as the EditText.
CODE:...........
View 2 Replies
View Related
Aug 5, 2010
I am trying to set up a RelativeLayout within a SlidingDrawer that contains a ViewFlipper that amongst others chooses a view with a text entry field, but when I test the application the space for the entry field and its label appears but the field itself doesn't show. I don't know what I missing here or may have done wrong. Any help or hint in the right direction would be really great.
View 2 Replies
View Related
Oct 16, 2010
If I set text to my EditText and the text is bigger, the default behaviour is that the text is scrolled to right. Can I scroll it to left?
View 1 Replies
View Related
Feb 26, 2010
I am using following layout and tring to enter text and then saving the data but facing one problem when i click on EditText to type something.
Keyboard appears and covers half of layout of EditText and button. but when i type in it it shows completely.before typing in it keyboard covers half of Edittext layout.
How to show whole textbox with button after appearence of keyboard?
CODE:......................
View 1 Replies
View Related
Mar 8, 2010
I'm showing an input box using AlertDialog. The EditText inside the dialog itself is automatically focused when I call AlertDialog.show(), but the soft keyboard is not automatically shown. How do I make the soft keyboard automatically show when the dialog is shown? (and there is no physical/hardware keyboard). Similar to how when I press the Search button to invoke the global search, the soft keyboard is automatically shown.
View 2 Replies
View Related
Sep 14, 2010
I am trying to add an animated spinner inside a EditText view to the right. And programmatically show/hide it.
I have created the animated spinner by introducing a linear interpolation rotation. code...
View 2 Replies
View Related
May 9, 2010
I'm trying to create a ProgressDialog for an Android-App (just a simple one showing the user that stuff is happening, no buttons or anything) but I can't get it right. I've been through forums and tutorials as well as the Sample-Code that comes with the SDK, but to no avail.
This is what I got:
CODE:..........
I've also tried adding pd.show(); and messed around with the parameter in new ProgressDialog resulting in nothing at all (except errors that the chosen parameter won't work), meaning: the ProgressDialog won't ever show up. The app just keeps running as if I never added the dialog.
View 1 Replies
View Related
Sep 16, 2010
I'm using Windows 7 and installed the 64 bit version of Eclipse 3.5.2. I then installed the Android ADT plugin, but when I try to configure it in the Windows > Preferences dialog, the Android Plugin doesn't show up in the left pane. Instead I see DDMS. This prevents me from specifying the location of the Android SDK (unless there is another way) to give me the appropriate templates and such.
View 1 Replies
View Related
Aug 13, 2010
I'm writing an Activity which fetches some XML from the web via HTTP and then parses it into a DOM. It then pulls some required data from the DOM.
As you can imagine, this takes a few moments, so I put that code into it's own thread and then tried to set up a ProgressDialog to display while the user is waiting for that to complete.
The problem is that the ProgressDialog doesn't display at all. If I remove the call to dismiss() then it displays after the work is done and, obviously, just sits there...
Here is my code:..................
The constructor of the FighterVersesDownloader is where all the work in terms of HTTP and DOM is done.
Any ideas on what I'm missing? I've seen a few similar threads on this using AsyncTask, but I wanted to use good old fashioned Threads directly and the solutions suggested don't apply.
View 2 Replies
View Related
Jun 8, 2010
I'm developing an application for the Android platform targeted for api level 4 (Android 1.6) but I can't get it to show up on my phone and I can't figure out why. Here's my AndroidManifest.xml is there a problem in here? Or is there something else I should be looking at? Code...
View 1 Replies
View Related
Nov 14, 2010
I have map in my android app. On emulator is everything OK. But on device (Motorola Droid) the map shows marker but doesn't show real map in background!! The connection is OK and I held the INTERNET permission in my manifest. What is causing this problem? Any idea?
View 5 Replies
View Related
Oct 14, 2010
how come it doesn't show up on the market for the HTC Wildfire?would be ace if I could get this on my fone...
View 1 Replies
View Related
Aug 13, 2010
I extend AutoCompleteTextView and override preformFiltering function in order to get results from database.I'm getting the results but then nothing is shown. And getView in custom adapter is never called.The strange thing that If I preload items (inside init() function) I can see them...May by anyone can point me to the right solution?
View 1 Replies
View Related
Nov 24, 2010
CODE:..........
When I call the above function the view doesn't show "hello" at all. The text only updates when the complete function is finished. What do I have to call to see "hello"?
View 2 Replies
View Related
Jun 21, 2010
When I add a new contact to my phone it doesn't show up in the contacts list. When I dial the number manually it shows the name of the person I am calling or that I added. Where is it putting my new contacts? Is there a group setting somewhere I missed?
I also noticed that all my numbers that were brought over from my old phone are listed twice when I go to edit a contact. They are only listed once when I look up a contact but under edit there are two screens with the same info.
View 1 Replies
View Related
Apr 30, 2009
My portfolio on Google Finance has a lot of companies in it (from NYSE to ASX - Australia Stock Exchange).But when viewed on my G1, I don't see all the companies. All are there except the ASX ones are hidden.
View 3 Replies
View Related
Nov 11, 2010
We've upgraded yesterday our App (easy.go) on the Android Market and after that we have got several messages from HTC Tattoo and Sony Ericsson XPeria mini users, that they can't see application on Android Market. We are not you using Copy Protection when uploading to the market, so I guess, it couldn't be a problem. The first assumption is that the problem was because of small screens. I took a look in manifest.xml. There is written: Code...
View 2 Replies
View Related
Jan 26, 2010
I have a textView which is configured as an EditText. But the problem is that the cursor doesn't appear when I'm pressing keys (text is written correctly).
View 1 Replies
View Related
Apr 20, 2010
With below code, the icon for submenu items does not get displayed.
CODE:..........
First the item "Settings", its displaying but for its submenu items("Preferences"/"Profile") , it is not showing up.
View 4 Replies
View Related
Sep 9, 2012
My mom has an HTC Inspire. She uses the stock HTC calendar to access her Calendar, but her google calendar isn't showing up. I have double checked my accounts and Calendar is checked under the sync settings. However, when I go into the HTC calendar, the only calendar available is the PC Sync calendar. When I go into settings, and Calendars, the Google Calendar doesn't show up there either. I have added another google account to the fun just to check and it syncs the account normally.
View 1 Replies
View Related
Oct 15, 2009
I have two phones, one running 1.5 and the other on 1.6. When I connect the 1.6 device via usb, DDMS recognizes it and in the top-left pane shows: HT842....... | Online | 1.6, debug
It then lists the individual processes, I can select them and use various tools like allocation tracker.
But when I connect the 1.5 device, DDMS recognizes it but shows: HT95A....... | Online | 1.5
But it does not show any of the processes on the device, so I am not able to do use allocation tracker and such. The sysinfo tab works, and I can monitor logcat with filter and such in the bottom pane.
What am I missing here? Obviously the 1.5 device has USB debugging enabled. Why does it not show 'debug' in DDMS? I'm using SDK 1.5_r2 on linux (Ubuntu 9.04), if that makes a difference.
View 5 Replies
View Related
Jul 15, 2010
I have a problem my emulator when i click on start button to run the AVD tehre is a command window that opens up and then there is nothing, the emulator window doesn't show up. I have extracted the sdk folder several time. deleted teh .android folder everytime . Can somebody tell me what is teh problem or what else can i do. Since its not running from sdk Setup.exe, in eclipse to i cant run it. Itsay launching the emulator but then there is nothing. Can someone tell me if android sdk as some log files where i can check the errors.
View 13 Replies
View Related
Jun 27, 2010
I have a MapActivity. If it's set to an appropriate location and zoom level to see traffic none is shown after it's first created until you interact with the map (click on it, drag, etc) at which point traffic shows up. Naturally I want traffic to show up without any user interaction after it loads but I've been unable to figure out how to trigger it. Any ideas?
View 3 Replies
View Related
Nov 8, 2010
I have map in m android app but it doesn't work well. I spent last two hours looking in code line by line but I don't know what is the problem.I set in manifest uses google maps. Map shows marker, doesn't show map ( instead in background is grid lines), zoom controls disappear after few seconds and not come back. What can be a problem ?
View 1 Replies
View Related
Apr 25, 2010
In my android application I have the following As far as I am aware, I have followed the steps in the documentation to set it to play a sound from the resources folder, and to flash the lights. However, neither of these happen. It does, however, vibrate, as instructed. Any ideas what I'm doing wrong here? I've looked through the permissions that I can give the app in the AndroidManifest.xml file, but I can't see one for letting it flash the light or make sounds. Code...
View 1 Replies
View Related