Skip to main content

How to Create Custome Key-board in android




  











write code in res/xml/


<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
    android:horizontalGap="0px"
    android:keyWidth="10%p"
    android:verticalGap="0px" >

    <Row>
        <Key
            android:codes="1"
            android:keyEdgeFlags="left"
            android:keyLabel="1" />
        <Key
            android:codes="2"
            android:keyLabel="2" />
        <Key
            android:codes="3"
            android:keyLabel="3" />
        <Key
            android:codes="4"
            android:keyLabel="4" />
        <Key
            android:codes="5"
            android:keyLabel="5" />
        <Key
            android:codes="6"
            android:keyLabel="6" />
        <Key
            android:codes="7"
            android:keyLabel="7" />
        <Key
            android:codes="8"
            android:keyLabel="8" />
        <Key
            android:codes="9"
            android:keyLabel="9" />
        <Key
            android:codes="0"
            android:keyEdgeFlags="right"
            android:keyLabel="0" />
    </Row>
    <Row>
        <Key
            android:codes="11"
            android:keyEdgeFlags="left"
            android:keyLabel="q" />
        <Key
            android:codes="12"
            android:keyLabel="w" />
        <Key
            android:codes="13"
            android:keyLabel="e" />
        <Key
            android:codes="14"
            android:keyLabel="r" />
        <Key
            android:codes="15"
            android:keyLabel="t" />
        <Key
            android:codes="16"
            android:keyLabel="y" />
        <Key
            android:codes="17"
            android:keyLabel="u" />
        <Key
            android:codes="18"
            android:keyLabel="i" />
        <Key
            android:codes="19"
            android:keyLabel="o" />
        <Key
            android:codes="10"
            android:keyEdgeFlags="right"
            android:keyLabel="p" />
    </Row>
    <Row>
        <Key
            android:codes="21"
            android:horizontalGap="5%p"
            android:keyEdgeFlags="left"
            android:keyLabel="a" />
        <Key
            android:codes="22"
            android:keyLabel="s" />
        <Key
            android:codes="23"
            android:keyLabel="d" />
        <Key
            android:codes="24"
            android:keyLabel="f" />
        <Key
            android:codes="25"
            android:keyLabel="g" />
        <Key
            android:codes="26"
            android:keyLabel="h" />
        <Key
            android:codes="27"
            android:keyLabel="j" />
        <Key
            android:codes="28"
            android:keyLabel="k" />
        <Key
            android:codes="29"
            android:keyEdgeFlags="right"
            android:keyLabel="l" />
    </Row>
    <Row>
        <Key
            android:codes="31"
            android:horizontalGap="5%p"
            android:keyEdgeFlags="left"
            android:keyLabel="z" />
        <Key
            android:codes="32"
            android:keyLabel="x" />
        <Key
            android:codes="33"
            android:keyLabel="c" />
        <Key
            android:codes="34"
            android:keyLabel="v" />
        <Key
            android:codes="35"
            android:keyLabel="b" />
        <Key
            android:codes="36"
            android:keyLabel="n" />
        <Key
            android:codes="37"
            android:keyLabel="m" />
        <Key
            android:codes="-5"
            android:isRepeatable="true"
            android:keyEdgeFlags="right"
            android:keyLabel="Back"
            android:keyWidth="15%p" />
    </Row>
    <Row android:rowEdgeFlags="bottom" >
        <Key
            android:codes="-3"
            android:horizontalGap="20%p"
            android:keyEdgeFlags="left"
            android:keyLabel="\@"
            android:keyWidth="15%p" />
        <Key
            android:codes="-2"
            android:keyLabel=".com"
            android:keyWidth="15%p" />
        <Key
            android:codes="-1"
            android:keyLabel="-"
            android:keyWidth="15%p" />
        <Key
            android:codes="-4"
            android:keyEdgeFlags="right"
            android:keyLabel="."
            android:keyWidth="15%p" />
    </Row>

</Keyboard>


 Finally,

in res/layout/main.xml 





Comments

Popular posts from this blog

Don't Ship AI Agent Skills Without Evals

At the AI Engineer World's Fair on July 1, 2026, Philipp Schmid, a Staff Engineer on the Gemini API and agents team at Google DeepMind, asked a room full of engineers a simple question: who uses skills with their coding agents? Every hand went up. Who has evals for those skills? Almost none. That gap is the entire talk, which Schmid also wrote up on his own blog, philschmid.de/testing-skills . His team indexed the skills ecosystem through SkillsBench and found the same pattern everywhere: people ship a SKILL.md file after two manual test runs and move on. It looks fine in a demo. It quietly corrupts outputs in production, because bad skills don't crash. They just make the agent confidently wrong. If you've already read our breakdown of Matt Pocock's Claude Code skills library , think of this as the other half of that story: what happens once you've installed a skill and it's actually running against real prompts. Key Takeaways SkillsBench indexed 47,000+ un...

Add flutter to existing app — Challenges

I am using flutter last 2 year & successfully released 2 flutter apps on production before 2–3 month, decide to add flutter in existing android & iOS app(while it was in beta-experimental stage). Flutter team have provide better way to add same in flutter v1.2 —  Good document than beta. Article is not about integrate flutter in existing app but, It’s about challenges which i have faced after adding flutter in existing app. I have integrate flutter module with my existing iOS & Android App (Same Application for both platform), developed 2 new features in flutter module & released successfully. In last week I have to add new feature in flutter module which user is able to pick file from phone & upload it on server. I have decided to use  file_picker: ^1.4.3+2 . Now, what I have is Native Application + Flutter Module < = > Image_picker Plugin in one App. In which I faced below challenges. Same time flutter v1.12 released A...

Stop Babysitting your AI Coding Agent Every Single Session

  Watched a video by DSquaredLabs on " No more re-explaining: Give your AI agent a memory graph " — here's what stuck with me and why I think this three-tool system is worth your attention If you work on a large codebase with AI coding tools, you already know the ritual. Open a new chat, paste your file structure, explain your stack, describe how the modules connect — and repeat the whole thing tomorrow. It is not a minor inconvenience. It is a compounding productivity tax that gets worse as your project grows. This article breaks down a three-tool system designed to fix exactly that. If you want the full walkthrough with a live demo on a real monorepo, the video at the bottom covers everything in depth — but the core concepts are worth understanding before you dive in. The Problem With How Most Developers Use AI Today Most AI-assisted coding workflows are missing three things that every good engineering team actually has: A map of the codebase A process for how w...