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

  • SEARCH
  • Home
  • 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 8289351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:29:21+00:00 2026-06-08T12:29:21+00:00

All, I cannot find any threads where this issue has been brought up before,

  • 0

All,

I cannot find any threads where this issue has been brought up before, so I must be missing something ridiculously easy. I’m new to android and am playing around with creating an inputmethod. I yanked out all of the android code for the lock screen and when I view it on the emulator or on a Samsung Galaxy, the fonts on the buttons look perfect. But when I look at them on my HTC Sensation, everything is terribly pixelated. At first I thought the problem was with the sym_keyboard_numX image files, but I tested two things to make sure that wasn’t the case:

  1. I originally had both hdpi and mdpi images for those. I removed the mdpi images leaving only the hdpi to ensure the wrong images weren’t being loaded.
  2. I tried using a keyLabel instead of the images for the numbers and the text is still terribly pixelated.

I’ve looked through all of the code looking for any values that could affect quality and can’t find anything. I appreciate any help!

Here is the xml file defining the keyboard. You will see that I am using keyLabels in most of the buttons with a few keyIcons to test the difference. As I said, there is no difference. I don’t know of any other code that would be useful for you.

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** 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.
*/
-->
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
    android:keyWidth="33.33%p"
    android:horizontalGap="2px"
    android:verticalGap="0px"
    android:keyHeight="@dimen/password_keyboard_key_height"
    >

    <Row>
        <Key android:codes="49" android:keyLabel="1" android:keyEdgeFlags="left"/>
        <Key android:codes="50" android:keyLabel="2"/>
        <Key android:codes="51" android:keyLabel="3"/>
    </Row>

    <Row>
        <Key android:codes="52" android:keyLabel="4" android:keyEdgeFlags="left"/>
        <Key android:codes="53" android:keyIcon="@drawable/sym_keyboard_num5"/>
        <Key android:codes="54" android:keyLabel="6"/>
    </Row>

    <Row>
        <Key android:codes="55" android:keyLabel="7" android:keyEdgeFlags="left"/>
        <Key android:codes="56" android:keyLabel="8"/>
        <Key android:codes="57" android:keyLabel="9"/>
    </Row>

    <Row android:rowEdgeFlags="bottom">
        <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_ok"/>
        <Key android:codes="48" android:keyLabel="0"/>
        <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"
            android:iconPreview="@drawable/sym_keyboard_feedback_delete"
            android:isRepeatable="true" android:keyEdgeFlags="right"/>  
    </Row>

</Keyboard>
  • 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-08T12:29:22+00:00Added an answer on June 8, 2026 at 12:29 pm

    Apparently this question has come up before but I never came across it in all of my searching. Probably just the wrong search terms. I even went through all of the stackoverflow suggestions before posting my question, but one of the Related posts had my answer: https://stackoverflow.com/questions/6496870/assets-look-grainy-pixelated?rq=1

    Basically I had to add a minSdkVersion (targetSdkVersion?) and the supports-screens as follows:
    <supports-screens android:resizeable="true" android:largeScreens="true"/>
    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10"/>

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

Sidebar

Related Questions

I've searched all over for an answer to this, but cannot find any clear
This might be a dummy question, but I cannot find any clue in all
I have been researching all over the internet about this, and unfortunately cannot find
I have been searching all over but I can't find any answer to this.
I've been looking all over for some mention of this, but I cannot find
I cannot find any. All I found is this: http://libodbcxx.sourceforge.net/ but this is not
I cannot find any documentation. All I want to do it set jQuerys default
I cannot find any answers on the following issue. On my website I would
I've been searching for tutorials all day, but I cannot find exactly what I'm
I have been working with this for a whole day but i cannot find

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.