English 中文(简体)
键盘没有屏幕
原标题:Keyboard is out of screen

我已把海运公会的钥匙板运到这里,它运作良好。 但是,我面临着LDPI/MDPI装置的问题。 最后一行被切断。

link to a picture http://img406.imageshack.us/img406/6343/screenshot1321903105942.png

关键观点的定义载于以下XML。

意见书 LinearLayout

<com.android.inputmethod.latin.InputView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:latin="http://schemas.android.com/apk/res/inputmethod.latin.ported"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
>
    <View
        android:id="@+id/key_preview_backing"
        android:layout_width="match_parent"
        android:layout_height="@dimen/key_preview_backing_height" />

    <!-- On tablets, the suggestions strip is centered with horizontal paddings on both sides
         because width of the landscape mode is too long for the suggestions strip. This
         LinearLayout is required to hold the paddings. -->
    <LinearLayout
        android:id="@+id/suggestions_container"
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
    >
        <View
            android:layout_width="@dimen/suggestions_strip_padding"
            android:layout_height="@dimen/suggestions_strip_height"
            style="?attr/suggestionsStripBackgroundStyle" />
        <com.android.inputmethod.latin.SuggestionsView
            android:id="@+id/suggestions_view"
            android:layout_weight="1.0"
            android:layout_width="0dp"
            android:layout_height="@dimen/suggestions_strip_height"
            android:gravity="center_vertical"
            style="?attr/suggestionsViewStyle" />
        <View
            android:layout_width="@dimen/suggestions_strip_padding"
            android:layout_height="@dimen/suggestions_strip_height"
            style="?attr/suggestionsStripBackgroundStyle" />
    </LinearLayout>

    <com.android.inputmethod.keyboard.LatinKeyboardView
        android:id="@+id/keyboard_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />
</com.android.inputmethod.latin.InputView>

谢谢。

问题回答

问题相同。 解决我减少的这一问题

<dimen name="key_preview_backing_height">240dip</dimen>

从240到200

<integer name="max_more_suggestions_row">6</integer>

从6到5年,这只字塔影响到关键板的行为,但确定了同样的问题。 你们可以通过在拉丁美洲的行文记录仪中设置免疫机能器。 java to real and see the area Occupie by key_preview_backing in transparency re.

我还有一个问题,即你不能点击这一看法背后的任何东西。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签