Dynamically extend the height of the ListView row background image?

by javame_android » Fri, 23 Apr 2010 18:57:07 GMT


Sponsored Links
 Hi,

Just to make it more clear, I want to have some text displayed at the
bottom of the image. An example of the view that I want is as below.

 -------------------------------------------------------
|  "Certain content goes here"                      |
|
|
|
|
|  "some text"                                                |
--------------------------------------------------------

What I want is that image should extend itself if the content is more
than the height of the image. For this reason, I have used .9.png
image but no success. Also, the text at the bottom should always be at
the bottom.

First I was using "?android:attr/listPreferredItemHeight" this to set
the height of listview row. When I tried with wrap_content then the
height is increasing according to the contents but then the content
that I wish to have at the bottom don't remain at the bottom.

Can someone now let me know what may be the issue?


Regards
Sunil

--



Dynamically extend the height of the ListView row background image?

by Kumar Bibek » Fri, 23 Apr 2010 20:01:24 GMT


 I think there's something wrong with your layout. Put some lines of
the xml and we will try to figure out your problem.

Thanks and Regards,
Kumar Bibek



>


Sponsored Links


Other Threads

1. 0xdroid release beagle-eclair-0x5, devkit8k-eclair-0x5 (with/without SGX)

Hello list,

0xlab team is glad to announce the fifth release of 0xdroid. 0xdroid
is community-developed Android distribution by 0xlab, runs on omap3
based boards include beagleboard and devkit8000.

Version: beagle-eclair-0x5-sgx, beagle-eclair-0x5-no-sgx,
devkit8k-eclair-0x5-sgx, devkit8k-eclair-0x5-no-sgx

What's new in this release?
 * Eclair codebase
 * Feature: Major Linux kernel upgrade: from 2.6.29 to 2.6.32
 * Feature: Support TI's Android PowerVR SGX (hardware 2D/3D engine)
 * Feature: Support Android USB gadget: adb and mass-storage
  Note: 0xdroid no longer support usbnet gadget driver.
        Use adb or USB Ethernet instead.
 * Feature: new Bluetooth Extensions -- HID
  Note: connect with BT keyboard or mice from Setting UI
 * Feature: Make Launcher2 really usable
 * Feature: Make Gallery3D workable by fixing PixelFlinger?
regressions
 * Feature: Touchscreen Calibration shouldn't require reboot
 * Feature: Robocat i2c port support
 * Feature: Improved libgralloc for non HW accelerated targets

You can grab the image from http://downloads.0xlab.org/release/ and
following the steps described on the wiki page to test the image.

This release comes with PowerVR SGX from Texas Instruments. If you try
both two
images with SGX and without SGX, you would tell how amazing it
displays photos
in Gallery 3D application. Like ususal, it also comes with a happy
Installer and
it would bring you an Android Eclair system in few seconds.

Instructions at Wiki
 * General information:
  http://code.google.com/p/0xdroid/
 * Installation for prebuilt 0xdroid image:
  http://code.google.com/p/0xdroid/wiki/UsingPreBuiltImages
 * Build from scratch:
  http://code.google.com/p/0xdroid/wiki/Source
 * How to integrate with SGX
 http://code.google.com/p/0xdroid/wiki/How_to_Integrate_with_SGX

Project page / SCM:  http://gitorious.org/0xdroid
Bug report:  http://code.google.com/p/0xdroid/issues/list
Mailing-list (general):  

2. galaxy s okeshop cicil 0

Plg kerja mampir ke oke shop pekanbaru
Wtf !!! Ternyata dah jual sgs
Rp.6,499jt Bisa cicil 0% 6bln/12bln

Racun mulai merasuki tubuh..

Untung ingat kalo bentar lg bakal keluar snapdragon dual core 1,3 / 1,5 ghz
(anti Racun)
Dan ingat sgs bodinya plastic...

*ngacir

hTC Desire FroYoSENSE UIROM: 2.06.832.1
KERNEL: 2.6.32.15
RADIO: 32.42.00.32U_5.09.00.08
Built: FRF91

-- 
"Indonesian Android Community [id-android]" 

3. beberapa macam H

4. Androlib ROM 1.1 GSM Hero, clean, overclocked kernel. new Maps, adfree, chainsDD SU.

5. Motorola Droid 3 unit (BNIB, Batangan 99%, Batangan 90%), HTC Droid Eris Batangan 99%

6. User thread to update UI but still come after, can anyone look at this code and help me?

7. Repost WTS: Motorola Droid 2nd + Bonus :))