Xar-e-ahmer Khan
Xar-e-ahmer Khan

Reputation: 1334

Keyboard with scrollView

There are numerous apps on google play having scrollView in softKeyboard.

As android is open source, where can i find that keyboard which has scroll embed on emoji like given image. i think i want open source keyboard for Android 4.x.x

enter image description here

Or tell me how to add scroll to custom softKeyboard. I have tried many ways.

First i tried to add ScrollView to

<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="bottom" >

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical" >

        <com.zeuxislo.emojikeyboard.EmojiKeyboardView
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/keyboard"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            android:keyBackground="@drawable/samplekeybackground" >
        </com.zeuxislo.emojikeyboard.EmojiKeyboardView>

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Wao what a keyBoard"
            android:textSize="24sp" />
    </LinearLayout>

</HorizontalScrollView>

Also tried adding horizontalScrollView to qwerty.xml and other emoji.xml under xml folder

Upvotes: 8

Views: 324

Answers (2)

Cody Harness
Cody Harness

Reputation: 1147

It sounds like you're wanting to install a new keyboard on your device and then make that the default one. Try some like Google's keyboard, or just look around for others. Once you get it installed then go to Setting > Language & input > Current keyboard and then just select whichever one you prefer.

Upvotes: 3

Related Questions