Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I implement special soft keyboard
    primarykey
    data
    text
    <p>I want to make special soft keyboard to use it in my android app like the following </p> <p><img src="https://i.stack.imgur.com/bwBau.png" alt="enter image description here"></p> <p>I worked on the software keyboard sample and I edited the qwerty.xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;!-- /* ** ** Copyright 2008, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License. */ --&gt; &lt;Keyboard xmlns:android="http://schemas.android.com/apk/res/android" android:keyWidth="10%p" android:horizontalGap="0px" android:verticalGap="0px" android:keyHeight="6%p" &gt; &lt;Row android:keyWidth="18%p"&gt; &lt;Key android:codes="49" android:keyLabel="1" android:keyEdgeFlags="left"/&gt; &lt;Key android:codes="50" android:keyLabel="2"/&gt; &lt;Key android:codes="51" android:keyLabel="3"/&gt; &lt;Key android:codes="52" android:keyLabel="4"/&gt; &lt;Key android:codes="53" android:keyLabel="5"/&gt; &lt;Key android:codes="54" android:keyLabel="6"/&gt; &lt;Key android:codes="55" android:keyLabel="7"/&gt; &lt;Key android:codes="56" android:keyLabel="8"/&gt; &lt;Key android:codes="57" android:keyLabel="9"/&gt; &lt;Key android:codes="48" android:keyLabel="0" android:keyEdgeFlags="right"/&gt; &lt;Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" android:keyWidth="15%p" android:keyEdgeFlags="right" android:isRepeatable="true"/&gt; &lt;/Row&gt; &lt;Row &gt; &lt;Key android:codes="113" android:keyLabel="Q" android:keyEdgeFlags="left"/&gt; &lt;Key android:codes="119" android:keyLabel="W"/&gt; &lt;Key android:codes="101" android:keyLabel="E"/&gt; &lt;Key android:codes="114" android:keyLabel="R"/&gt; &lt;Key android:codes="116" android:keyLabel="T"/&gt; &lt;Key android:codes="121" android:keyLabel="Y"/&gt; &lt;Key android:codes="117" android:keyLabel="U"/&gt; &lt;Key android:codes="105" android:keyLabel="I"/&gt; &lt;Key android:codes="111" android:keyLabel="O"/&gt; &lt;Key android:codes="112" android:keyLabel="P" android:keyEdgeFlags="right"/&gt; &lt;/Row&gt; &lt;Row &gt; &lt;Key android:codes="97" android:keyLabel="A" android:horizontalGap="5%p" android:keyEdgeFlags="left"/&gt; &lt;Key android:codes="115" android:keyLabel="S"/&gt; &lt;Key android:codes="100" android:keyLabel="D"/&gt; &lt;Key android:codes="102" android:keyLabel="F"/&gt; &lt;Key android:codes="103" android:keyLabel="G"/&gt; &lt;Key android:codes="104" android:keyLabel="H"/&gt; &lt;Key android:codes="106" android:keyLabel="J"/&gt; &lt;Key android:codes="107" android:keyLabel="K"/&gt; &lt;Key android:codes="108" android:keyLabel="L" android:keyEdgeFlags="right"/&gt; &lt;/Row&gt; &lt;Row android:keyHeight="8%p"&gt; &lt;Key android:codes="122" android:keyLabel="Z"/&gt; &lt;Key android:codes="120" android:keyLabel="X"/&gt; &lt;Key android:codes="99" android:keyLabel="C"/&gt; &lt;Key android:codes="118" android:keyLabel="V"/&gt; &lt;Key android:codes="98" android:keyLabel="B"/&gt; &lt;Key android:codes="110" android:keyLabel="N"/&gt; &lt;Key android:codes="109" android:keyLabel="M"/&gt; &lt;Key android:codes="46" android:keyLabel="." /&gt; &lt;Key android:codes="32" android:keyLabel="SPACE" android:keyWidth="20%p" android:isRepeatable="true"/&gt; &lt;Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" android:keyWidth="20%p" android:keyEdgeFlags="right"/&gt; &lt;/Row&gt; &lt;/Keyboard&gt; </code></pre> <p>and I get the following </p> <p><img src="https://i.stack.imgur.com/8Vwl7.png" alt="enter image description here"></p> <p>disregard the first row , how can I make the keyboard button background like the first photo I mean I want to make my keyboard like the first one with all details ? How can I add Gmail , Hotmail , ... to the fist row of my keyboard ? I also want to add a sound when the user click on any key like the default android keyboard how can I do that ? </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload