How to create a view with a background that wraps up all the content of the view?

by hc » Thu, 05 Mar 2009 22:46:52 GMT

Sponsored Links
 vm.. I've figured it out. Instead of setting a background using an
ImageView/Button, I can just set a background to RelativeLayout and it
will fix nicely

On Mar 5, 5:20pm, hc <> wrote:

Other Threads

1. BUG on file drivers/power/max17040_battery.c, reset on probe affects initial soc

Hi everyone,

I have tested this on an odroid-T device. I think a an #ifdef
CONFIG_HARDWARE-something should be added around line 232 wherein
max17040_reset() was called. For more information regarding this
issue, please refer to the forums link below (my nickname was riccati
on that forums) where I posted the nature of the problem.

You can reply to my private email or here for your comments.



2. database difficulties

Hi All,
I am just starting with Android development.  I am looking to port one
of my iPhone apps to Android as a project to get going.  I have an
exiting database that I would like to use.  So I have subclassed
SQLiteOpenHelper and I open the database for writing then close it
this should create the database, then I copy the database I have from
my assts directory over the freshly created database file.

It turns out my directory /data/data/com.mycompany.MyApplication/
databases does not exist.  Ok so I try to crate it with File.mkdirs()
and it laughs at me and does not create the directory.

If anyone has had an issue like this I would love to hear how it was
solved.  The phone I am using is a HTC Desire running Android 2.1
update 1.



3. Wrap text for EditText - automatically go to new line?

4. any info about this?

5. Getting the height of a TextView

6. Activity/Intents inTabs

7. TSLIB android 2.1