LatinIME container height too small

by Joerie » Mon, 27 Dec 2010 23:13:02 GMT


Sponsored Links
 Hi,

I'm having some trouble with the (revamped) LatinIME keyboard on 2.3 -
it's height is somehow incorrect. In both portrait and landscape mode,
it displays at roughly 1/5th of the screen height (whereas I'd expect
it to be ~50%). The width is fine, spanning the full width of either
portait or landscape mode.

- The Japanese IME displays fine, which - I suppose - isolates the
issue to being somewhere in the LatinIME
- My screen size is 480x800, and I've set ro.sf.lcd_density
accordingly (240).

Has anyone got an idea where I should start looking?

Joerie

-- 



Other Threads

1. Samsung h1 Android Rom v0.1

andriod samsung h1 rom link 
http://www.rayfile.com/zh-cn/files/13c27c3d-9648-11df-b57b-0015c55db73d/

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. TextView @id/android:empty - What am i doing wrong?

Hi all,

I'd like to create a ListView that, when empty, displays text indicating
that it's empty.  I've looked around the web, and found some articles, but
nothing seems to be working - Even a direct copy and paste from these
examples (one from developer.android.com) does not have the desired effect.

I've had just about every result happen to me except the intended effect.
 I've had the TextView show up instead of the ListView, even when ListView
is not empty.  I've had the TextView NOT show up when the ListView is empty.
 And now, i have both the populated ListView and the android:empty TextView
showing on the screen at the same time.

Here is my layout:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/MainPageLayout"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:orientation="vertical" >

    <TextView android:id="@+id/text_main_instructions"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textAppearance="?android:attr/textAppearanceSmall"
  android:gravity="center_vertical"
  android:paddingLeft="6dip"
  android:paddingRight="6dip"
      android:text="@string/main_instructions"
      android:layout_alignParentTop="true"/>

    <ListView android:id="@+id/android:list"
              android:layout_width="fill_parent"
  android:layout_height="fill_parent"
      android:textAppearance="?android:attr/textAppearanceMedium"
  android:gravity="center_vertical"
  android:layout_weight="1"
  android:paddingLeft="6dip"
  android:paddingRight="6dip"
              android:layout_below="@id/text_main_instructions"
              android:drawSelectorOnTop="false"/>

  <TextView android:id="@id/android:empty"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:textAppearance="?android:attr/textAppearanceMedium"
  android:gravity="center_vertical|center_horizontal"
  android:paddingLeft="6dip"
  android:paddingRight="6dip"
           android:text="@string/main_schedule_empty"
  android:layout_below="@id/text_main_instructions"/>
</LinearLayout>

Is there something i have to call in code to make this work?  What am i
doing wrong?

Also, does my ListView have to have the id "@id/android:list" in order for
this to work, or can i give it a different id?

-- 
//Nick Richardson
//richardson.n...@gmail.com

-- 

3. How to use my contact list

4. Repost WTS: Motorola Droid 2nd + Bonus

5. Unable to release partial wake lock in service

6. How do I set the selected state of an item in a gallery (the correct way)

7. Is it possible for my Activity to be notified when the external storage state changes?