Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8773667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:21:32+00:00 2026-06-13T18:21:32+00:00

In normal textview etc we can ellipsize the text by command: android:ellipsize= I am

  • 0
In normal textview etc we can ellipsize the text by command:  
android:ellipsize=""

I am customizing the android's soft keyboard. I want to know that is their a way to ellipsize the key of keyboard?

My code is:

<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
    android:horizontalGap="1px"
    android:keyHeight="@dimen/key_height"
    android:keyWidth="10%p"
    android:verticalGap="-5%p" >

    <!-- android:verticalGap="@dimen/verticalGap" > -->

    <Row>
        <Key
            android:codes="555555"
            android:horizontalGap="1.5%p"
            android:isRepeatable="true"
            android:keyEdgeFlags="left"
            android:keyHeight="@dimen/mic_key_height"
            android:keyIcon="@drawable/voice_input"
            android:keyWidth="28.5%p" />
        <Key
            android:codes="111111"
            android:ellipsize="end"
            android:horizontalGap="2%p"
            android:keyEdgeFlags="right"
            android:keyHeight="@dimen/templates_key_height"
            android:keyWidth="67%p" />
    </Row>
    <Row>
        <Key
            android:codes="222222"
            android:ellipsize="end"
            android:horizontalGap="32%p"
            android:keyEdgeFlags="right"
            android:keyHeight="@dimen/templates_key_height"
            android:keyWidth="67%p" />
    </Row>
    <Row>
        <Key
            android:codes="333333"
            android:ellipsize="end"
            android:horizontalGap="32%p"
            android:keyEdgeFlags="right"
            android:keyHeight="@dimen/templates_key_height"
            android:keyWidth="67%p" />
    </Row>
    <Row>
        <Key
            android:codes="777777"
            android:ellipsize="end"
            android:horizontalGap="32%p"
            android:keyEdgeFlags="right"
            android:keyHeight="@dimen/templates_key_height"
            android:keyWidth="67%p" />
    </Row>
    <Row>
        <Key
            android:codes="666666"
            android:horizontalGap="1.5%p"
            android:isModifier="true"
            android:keyEdgeFlags="left"
            android:keyHeight="@dimen/templates_key_height"
            android:keyIcon="@drawable/voice_keyboard_enable"
            android:keyWidth="28.5%p"
            android:verticalGap="1.5%p" />
        <Key
            android:codes="444444"
            android:horizontalGap="1.7%p"
            android:keyEdgeFlags="right"
            android:keyHeight="@dimen/templates_key_height"
            android:keyLabel="@string/more_templates"
            android:keyWidth="67%p"
            android:verticalGap="1%p" />
    </Row>

</Keyboard>

I am customizing the android’s soft keyboard. I want to know that is their a way to ellipsize the key of keyboard? I am adding the text to the keys dynamically but the text flows out of the key boundaries.
I want to ellipsize the key.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:21:33+00:00Added an answer on June 13, 2026 at 6:21 pm

    You cannot ellipsize because it has the label, not the text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Refering agradient to textview regard as normal action can be achieved in android ,
layout: <TextView android:id=@+id/textView1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_centerHorizontal=true android:layout_centerVertical=true android:text=A android:textSize=?normal_font_size /> attrs.xml: <?xml version=1.0 encoding=utf-8?>
I am tyring to display a TextView that contains two sentences and I want
Can anyone tell me how to show the soft input keyboard while a activity
I got a normal button, but the text is cut-off. I don't know why
I have a TextView to display a paragraph of text and I want my
In normal mode I can hit Ctrl + E which deletes the rest of
I want to use the below method of textView to change the font color.
I want to create a normal AlertDialog. I used the example provided by the
I know how to do it programatically as such: TextView txt = (TextView) findViewById(R.id.custom_font);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.