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 997863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:06:14+00:00 2026-05-16T07:06:14+00:00

Trying to create a widget with custom fonts, but read that widget doesn’t support

  • 0

Trying to create a widget with custom fonts, but read that widget doesn’t support custom font.

I thought that I could create 10 png’s for every number(0-10, not going to use abc ect).

By using that method I need to create several imageviews… that seems a waste of views.

So if I want to have the number 1337 I need 4 ImageViews. Isn’t there a way to merge the png’s (R.drawable), so I get a Bitmap or something and only one 1 ImageView?

  • 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-05-16T07:06:14+00:00Added an answer on May 16, 2026 at 7:06 am

    You can create your own custom drawable (extends Drawable) where you pass the parameter (i.e. number) you want to draw.
    You would be overriding the

    public void draw(Canvas canvas) {
       ....
       // use this to place another bitmap, i.e. number images, onto the canvas
       canvas.drawBitmap(..,..,..);  
       ...
    }
    

    method and merge the images into one drawable, that you then apply to your one single imageview.

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

Sidebar

Related Questions

I am trying to create a simple android widget that shows The time but
I'm trying to create a digital clock widget with custom typeface font. I got
I am trying to create a custom Dojo ValidationIdBox widget that inherits from ValidationTextBox.
I am trying to create a custom dojo widget that prevents the transistion to
I'm trying to create a widget within the module and then load that widget
I'm trying to create an icon/widget (1 cell x 1 cell) that can be
I'm a jQuery newb and I've been trying to create a custom slideshow widget
I'm trying to create a custom Dojo widget for my application. <!-- Dojo widget
I am trying to create a custom pin code widget for android as an
I am trying to create a custom dialog box that displays an image in

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.