mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
adding the initial version of an own implementation of MyKeyboardView
This commit is contained in:
28
app/src/main/res/layout/keyboard_popup_keyboard.xml
Normal file
28
app/src/main/res/layout/keyboard_popup_keyboard.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.simplemobiletools.keyboard.views.MyKeyboardView
|
||||
android:id="@+id/keyboardView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@android:color/transparent"
|
||||
android:keyPreviewLayout="@layout/keyboard_key_preview"
|
||||
android:keyTextSize="22sp"
|
||||
android:popupLayout="@layout/keyboard_popup_keyboard"
|
||||
tools:ignore="ResourceCycle" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/closeButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="8dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:clickable="true"
|
||||
android:src="@drawable/ic_cross_vector" />
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user