Change height of notification?

by Marc » Wed, 11 Mar 2009 01:12:03 GMT


Sponsored Links
 Is there any way to change the height of the "extended" notification
(i.e. the contentView in the Notification)?   It seems like I get the
standard two lines no matter what...   I'm thinking I've missed
something, but ...

TIA

Marc
--~--~---------~--~----~------------~-------~--~----~



Change height of notification?

by Marc » Wed, 11 Mar 2009 22:56:43 GMT


 bump



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Change height of notification?

by Dianne Hackborn » Thu, 12 Mar 2009 02:12:25 GMT


 No the height is deliberately restricted.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Change height of notification?

by Marc » Thu, 12 Mar 2009 04:28:27 GMT


 Thanks, Dianne!

Marc




--~--~---------~--~----~------------~-------~--~----~



Change height of notification?

by Marc » Thu, 12 Mar 2009 04:30:38 GMT


 BTW, that should probably be documented somewhere (i.e. that you can
use a custom view, but it's restricted in that way...)

Marc





--~--~---------~--~----~------------~-------~--~----~



Change height of notification?

by MrSnowflake » Thu, 12 Mar 2009 05:25:35 GMT


 

If you'd do that, you would have to document everything you can't do,
which would be the wrong way around, I believe.




--~--~---------~--~----~------------~-------~--~----~



Change height of notification?

by Marc » Thu, 12 Mar 2009 05:27:18 GMT


 Can you think of another case in which you can supply a layout to an
API, but the layout is largely ignored?

Marc








--~--~---------~--~----~------------~-------~--~----~



Change height of notification?

by Dianne Hackborn » Thu, 12 Mar 2009 07:51:11 GMT


 If you create a layout that doesn't fit in a dialog (whose content is some
smaller part of the screen), the exact same thing will happen. :}












-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. I need javax.microedition.io in android, what can I do ?

Hi Android developers

I need javax.microedition.io in android, what can I do ?

I need some classes from there and functions

-- 

2. Help required on Eclair Video Camera framework

Android release: Eclair on TI SDP3430 board
Objective: To integrate the video encoding functionality(H.264 codec)
using proprietary mechanism instead of onboard DSP
Primary code changes: OMX component for video encoding and CameraHal
modified (see below for details)

Files in these directories are modified:
hardware/ti/omx/video/src/openmax_il/video_encode/inc/
hardware/ti/omx/video/src/openmax_il/video_encode/src/
hardware/ti/omap3/camera/

------------------------------------------------------------------------------------------------
Problem Description:
        Video camera preview starts. But fails on the author driver
PREPARE command.

Problem details:
        From the logs I can see that the preview starts. After that we
try to initialize the camcorder.
[VIDIOC_S_CTRL, VIDIOC_QUERYBUF ioctl's have passed by now, and the
driver ioctl's of VIDIOC_QBUF and VIDIOC_DQBUF are working fine now ]

OMX core gets loaded. After this AuthorDriver will report the below
commands and its status:
AUTHOR_INIT  PVMFSuccess
AUTHOR_SET_VIDEO_SOURCE  PVMFSuccess
AUTHOR_SET_OUTPUT_FORMAT  PVMFSuccess
AUTHOR_SET_VIDEO_ENCODER  PVMFSuccess   (H263 is set)

(which is what I have replaced)
Following the Set/Get parameter invocations happen from CameraHal, and
below are their results:
SetParameter:OMX_IndexParamStandardComponentRole     exit status = 0
GetParameter :OMX_IndexParamVideoInit   -do-
GetParameter:OMX_IndexParamPortDefinition  -do-
GetParameter:OMX_IndexParamPortDefinition   -do-
GetParameter:OMX_IndexParamVideoPortFormat   -do-

CameraService log shows the camera is now in preview mode, and the
preview frames are coming from the driver (can be seen in the LCD)

In the Author driver, I can see that some component has issued a
PREPARE command. CommandCompleted(const PVCmdResponse&aResponse) in
the Author driver is invoked, which reports that error is: -15. From
the Packet Video framework, this error code refers to
PVMFErrNoResources. This is the place where I am not getting the clear
flow and request for your
help.

Now, to debug I had some debug messages in below packet video files:
a) external/opencore/engines/2way/src/pv_2way_engine.cpp
b) external/opencore/nodes/pvomxencnode/src/pvmf_omx_enc_node.cpp

My debug messages arent coming from the PVMF. So I want to understand
the flow between the OMX, packet video and authordriver. That will
help me know, who has set the error value to PVMFErrNoResources and
invoked the AuthorDriver::CommandCompleted().

-- 

3. Free Push Notification Service for Android

4. Problem with ContextMenu

5. getDuration() in VideoView returns -1 !!!

6. Capture Network Traffic

7. SlideME Marketplace Updates