1
0
Fork 0
tt9/res/layout/mainview.xml
Dimo Karaivanov 2b25eae760 Random bugs
* ABC Mode: fixed candidate letter disappearing, when changing the text case, after the same number key has been pressed twice or more

* Predictive Mode: fixed words not being automatically capitalized if text is entered and deleted repeatedly

* fixed the on-screen keys having incorrect height
2022-11-08 14:56:22 +02:00

71 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/main_suggestions_list"
android:layout_width="fill_parent"
android:layout_height="@dimen/candidate_list_height"
android:orientation="horizontal"
android:scrollbars="none"
android:background="@color/candidate_background" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/soft_key_height"
android:background="@drawable/bggradient"
android:baselineAligned="true"
android:orientation="horizontal">
<Button
android:id="@+id/main_left"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="1px"
android:layout_marginRight="1px"
android:layout_weight="3"
android:background="@drawable/button_custom"
android:clickable="true"
android:focusable="false"
android:longClickable="true"
android:text="⚙"
android:textColor="@color/button_text"
android:textSize="24sp" />
<Button
android:id="@+id/main_mid"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="1px"
android:layout_marginRight="1px"
android:layout_weight="5"
android:background="@drawable/button_custom"
android:clickable="true"
android:focusable="false"
android:longClickable="true"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:text="@string/soft_key_mid"
android:textColor="@color/button_text" />
<Button
android:id="@+id/main_right"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="1px"
android:layout_marginRight="1px"
android:layout_weight="3"
android:background="@drawable/button_custom"
android:clickable="true"
android:focusable="false"
android:longClickable="true"
android:text="⌫"
android:textColor="@color/button_text"
android:textSize="24sp" />
</LinearLayout>
</LinearLayout>