Positioning/Layout of the Input Method / Soft Keyboard

by tnkirk » Tue, 09 Mar 2010 01:44:11 GMT

Sponsored Links
 Did you ever have any luck positioning the SoftKeyboard? I'm working
on a keyboard that needs to be aligned to the right side of the
screen, and haven't been able to get any of the layout options such as
gravity=right or layout_alignParentRight="true"  to work.



Other Threads

1. need suggestion on how to create views at run time and efficiently


I have a case where I have add to listview textview based on no of messages.

I am doing like this
for(int i=0;i<10;i++)
                  TextView tv=new TextView(context);
this seems fine but it seems to be very slow especially where there are lot
of messages.

I also tried inflating a xml where xml file contains just the textview
xml file is
<?xml version="1.0" encoding="utf-8"?>

<TextView xmlns:android="http://schemas.android.com/apk/res/android"
        android:paddingTop="10px" android:paddingBottom="10px"
        android:paddingLeft="15px" android:paddingRight="15px"
        android:layout_width="315px" android:layout_height="wrap_content"

for(int i=0;i<10;i++)
              View v= mLayoutInflater.inflate(R.layout.fav, null, false);
                TextView  mTextMessage=(TextView)v.findViewById(R.id.text);

this seems fine little bit faster

I really like to know is there a better way to do than this way. is there a
way to clone a textview and reuse it rather than inflating every time

Thanks in advance for your help.


2. ADEProxy.exe and adb server out of date?

I have a process running called ADEProxy.exe - it runs automatically
upon windows startup, and I think it is the core reason that I keep
repeatedly getting the error:

   adb server is out of date.  killing...

Can someone tell me why this "adb server is out of date.  killing..."
error occurs, how I can stop it for good, and why I have a service/
process that starts up automatically when windows starts?  It is so
odd to me, because the SDK simply gets unzipped, not installed, so how
would I get a service that automatically starts?

I am afraid that the root issue is that I have more than one SDK
installed (out of necessity - a custom device that I am developing for
has a custom SDK) and there are conflicts somehow.

I have tried rebooting my machine deleting my C:\Documents and Settings
\<User>\.android folder, emptying my temp folder, etc, to no avail.
Do I need to clear something in the registry?



3. Brand New Troubles Building on Mac OSX

4. Factory Reset Magic

5. Official Eclair for Galaxy Spica is released

6. setting up eclipse

7. How to show a ScrollView with button anchored to bottom of screen?