Skip to content

Commit

Permalink
Add backspace and enter key, and add proper symbols for arrow keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
kairusds committed Mar 25, 2024
1 parent 95f8c0a commit ebd7864
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions app/src/main/res/layout/keyboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,15 @@
android:layout_weight="1"
android:tag="77 m"
android:text="M" />

<Button
android:id="@+id/button_backspace"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:tag="8"
android:text="" />

</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -374,32 +383,39 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:tag="37"
android:text="(" />
android:text="" />

<Button
android:id="@+id/button_up"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:tag="38"
android:text="^" />
android:text="" />

<Button
android:id="@+id/button_down"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:tag="40"
android:text="v" />
android:text="" />

<Button
android:id="@+id/button_right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:tag="39"
android:text=")" />
android:text="" />

<Button
android:id="@+id/button_enter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:tag="108"
android:text="" />
</LinearLayout>
</LinearLayout>

Expand Down

0 comments on commit ebd7864

Please sign in to comment.