• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set the bitmap height at runtime

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am saving the text as a image.But whenever I get 2-3 paragraphs of text whatever image I get is not fitting into the bitmap.I am not able to see the complete text in one bitmap.
How do I increase the height of the bitmap dynamically.(i.e. It should depend on the text)
 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No reply
 
Lester Burnham
Rancher
Posts: 1337
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably because it's entirely unclear what you're trying to do. You mention "text" repeatedly, yet there is no code that deals with text of any kind.
 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Now you can think on this code.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic