Reputation: 1334
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
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
Reputation: 815
You are probably looking for this : https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/android-6.0.0_r1/java/src/com/android/inputmethod/keyboard/emoji/
Keyboard code
Latest/Marshmallow: https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/android-6.0.0_r1
KitKat https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/android-4.4.4_r2.0.1
Upvotes: 2
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