Android :: Get The Alpha Of An ImageView

Aug 3, 2010

How can I do this? There's a setAlpha but no getAlpha.

Android :: Get the alpha of an ImageView


Android :: Widgets - Imageview Doesn't Support Transparency/alpha

Aug 7, 2009

When applying an alpha value to an imageview, Eclipse displays the view accurately in layout mode. But when exporting to a target device (such as a phone), the alpha appears to be ignored. This impacts developers trying to create fade ins/outs of elements in a widget. Has anyone else come across this issue yet? Not sure if this behavior is by design or by error.

View 2 Replies View Related

Android :: Imageview Ontop Of Another Imageview

Jun 15, 2010

I have a listlayout with items in it that looks like this:

There is first an ImageView (the light) and then two textViews. All of this inside a TableLayout. (source here: http://code.google.com/p/switchctrl/source/browse/trunk/android/res/layout/device_switch.xml)

I want to have a rotating animation of a loading indicator Ontop of this light when this particular device (light) performs an action or an action is performed on it.

How do I put an animation ontop of this light imageview?

View 1 Replies View Related

Android App Alpha Testing

Aug 4, 2013

I have been having issues downloading the latest version of my app as part of Alpha testing. I have uploaded 6 versions and every time i download the app i just get the first version.

Thinking this is something to do with cache on google play store, on few versions, i waited more then 24 hrs for the download. Even this did not work.

Is there anything that i can do to make sure that i download the latest version. All the previous versions are archived and only the latest version is published/active.

View 2 Replies View Related

Android :: Alpha Buffer Support On G1

Mar 21, 2009

Is it possible to generate an EGL Config with an alpha buffer on the G1? When I request a non-zero number of bits for the alpha buffer I can get a R5G5B5A1 or R8G8B8A8 visual, but neither of them renders correctly to the screen. I assume that's because the G1 only supports R5G6B5 visuals. It does surprise me that I can even get those visuals though. It's fairly obvious looking at the 32bpp visual artifacts that the frame buffer is indeed laid out with 32bpp, but display hardware is treating it as 16bpp, resulting in the left and right halves of my scene rendering in alternate scan lines, with distorted colors. So does anyone know if there is any way to get an alpha buffer on the G1? I've tried using FBO's but they don't seem to be implemented either. Or I'm using them incorrectly. If I call glGenFrameBuffersOES on a GL11ExtensionPack reference I get an UnsupportedOperationException. I am getting my GL11ExtensionPack reference by casting the return value from my EGLContext.getGL() call.

View 2 Replies View Related

Android :: Alpha Buffer Support

May 24, 2009

Since Google groups doesn't let you add posts to threads more than 60 days old, and I want to leave a solution to the problem I encountered a while back, I'm posting this message with the same title in hopes that anyone running into the problem I had will find this message as well. I was having trouble getting my G1 to render an RGBA_8888 OpenGL context to the screen. Everything was twice the size it should be because the 8888 pixels were being interpreted as two 565 pixels. The colors were obviously wrong as well. I had missed a critical function call. You must configure the Surface that is being used by EGL using the SurfaceHolder method setFormat. The pixel format needs to be TRANSLUCENT, or more specifically you can use RGBA_8888.

View 2 Replies View Related

Android :: Alpha Gradient On Bitmap Of PNG

Dec 11, 2009

I'm trying to apply an Alpha gradient to a bitmap that I've created from a PNG. I want the image to be opaque at the top and fade to transparent at the bottom. I know this can be done be using getPixels and setPixels for Bitmap and iterating through each row of pixels in the Bitmap and setting the alpha values accordingly, but i was hoping there was a slightly neater way of doing this. I have been looking at the LinearGradient Class and using a Porter Duff transfer mode, but i don't seem to be having much luck with this. It seems that my source image is lost when i apply the Shader to the drawable. Anyone have any tips on how i might apply an alpha gradient to a bitmap?

View 2 Replies View Related

Android :: Loading An Alpha Mask Bitmap

Oct 28, 2010

I have a single-channel PNG file I'd like to use as an alpha mask for Porter-Duff drawing operations.If I load it without any options, the resulting Bitmap has an RGB_565 config, i.e. treated as grayscale.If I set the preferred config to ALPHA_8, it loads it as a grayscale ARGB_8888 instead.How can I convince Android to treat this file as an alpha mask instead of a grayscale image?

mask1 = BitmapFactory.decodeStream(pngStream);
// mask1.getConfig() is now RGB_565

BitmapFactory.Options maskOpts = new BitmapFactory.Options();
maskOpts.inPreferredConfig = Bitmap.Config.ALPHA_8;
mask2 = BitmapFactory.decodeStream(pngStream, null, maskOpts);
// mask2.getConfig() is now ARGB_8888 (the alpha channel is fully opaque)

View 1 Replies View Related

Android :: Way To Apply Color To Alpha Animation

Jul 14, 2010

Is there a way to apply a color to an alpha animation in android? I know how to use the <alpha> element, but i'd like to have the alpha apply a color as well as an alpha so i can hightlight a layout. is this possible?

View 1 Replies View Related

Android : Bug With Alpha Channel In Sdk 1.5 / Remove Background?

May 19, 2009

I've just migrated to 1.5 and a strange bug has occured. I have the following code...

That means I want my image button to have no background, just image. It worked well in sdk 1.1, but now it shows a black rectangle as background. Why can it be and is there another way to remove the background?

View 3 Replies View Related

Android : Draw Circle On Alpha Channel?

Jan 12, 2010

I've created a bitmap that I'm overlaying over another bitmap. I'd like to alter the transparency of sections of the overlaid bitmap, revealing the bitmap beneath. I can't find a way to write only to the alpha channel of the overlaid bitmap.

For example, I have a bitmap filled with red pixels, and an alpha that is 255, opaque. A solid red bitmap. How do I draw a circle on this map that would lower the alpha values toward 0, transparent?

View 2 Replies View Related

Android :: Get Alpha / Opacity Of A View In Droid?

Aug 27, 2010

How can I get the alpha/opacity of a View after I've animated it? code...

View 1 Replies View Related

Android :: Blinking Image Using Alpha Fade Animation

Oct 11, 2010

I've been struggling for a few days on this, finally just decided to ask. It's so simple I've got to be missing something very basic.I have an XML layout page with an image defined. I have two anim XML pages, one to change alpha from 0 to 1, and the other from 1 to 0 in order to create a "blinking" effect. So the alphaAnimation is defined in XML, I just need to call it. The image pops up, but there's no looping blinking effect.

View 2 Replies View Related

2.1 Update :: Xperia X10 Android 2.2 Froyo (Alpha Version)

Nov 28, 2010

There is Froyo running on an X10, I know its true because its my x10, this is an Alpha version and runs from the SD Card, it is not even a beta version yet but this version is around 90% done, still some things to resolve. This is not a re-flash of the phone it is a dual boot so has not affected the SE base operating system currently installed being 2.1.

The guys at XDA are working on this and if they get it fully resolved then it will become available as an alternative system, if they keep it as dual boot it will never affect your warranty. At all as this installs on your SD Card, there is a thread on the XDA forum but in respect of this forums policy on rooting and other things I wont post the link but searching the XDA forum for x10 Custom Rom will return a number of results so you can find it from there yourself.

If the guys at XDA can do this then SE can, the only thing is XDA are not restricted by International markets and operator restrictions like SE are, if XDA make a custom rom that runs 2.2. From the SD Card then for me its perfect it keeps the phone warranty and software as is and lest you run your own free Froyo version. The pictures are not photo shopped except for clipping and sizing from the original.

View 7 Replies View Related

Android :: Color Banding - Png Resource That Has Gradient Fade-out Alpha

Oct 29, 2010

Seems my original post ("ugly pngs...") somehow disappeared :( nvm.

I have a problem with a png resource that has gradient fade-out alpha.

The png looks great in the emulator, but displays an artefact known as "color banding" (http://en.wikipedia.org/wiki/Colour_banding)

Has anyone surpassed this issue ?

My designer wants to trop a shadow behind his icons, and that's where the bands appear.

What are my options ?

View 13 Replies View Related

Android :: Opengles Alpha Textures Not Semitransparent But Binary Transparent

Sep 3, 2010

I am drawing some textures with alpha channel, but when they are displayed it looks like the alpha channel is only binary. So a pixel is either transparent or opaque, although in the texture file itself the pixel is half-transparent.

The blending is set up like this:

code:............

The above shows how it should be like, and the below shows how it is:

View 4 Replies View Related

Android :: ListView Alpha Scroller For Quickly Scrolling Long List

Feb 26, 2010

The Contacts app shows a button on the side of the screen that acts as a little thumb to allow you to quickly scroll the big list. I have a very long list that would benefit from this navigation behavior, but can't find any documentation as to how to enable it.

Is it a behavior that's built into the SDK, or must I write it myself?

View 1 Replies View Related

HTC Hero :: New Keyboard - Swiftkey Alpha

Feb 22, 2010

Is anyone else testing the Swiftkey alpha? It's a new keyboard that's in development. It's quite hard to use at first but now that I'm getting used to it I can say it looks VERY promising. The word prediction is brilliant, and a 1/3 of the time(according to them) it guesses the word correctly. If it doesn't it usually gets it within one or two letters of the next word.

In terms of the ui it's not amazing at the moment, but being only the second alpha release I'm not too bothered, and hopefully they will make the keys a little bigger and make it look nicer overall, a bit like in the image on their website.

They aim to have their keyboards used on android phones by default and I can see that happening the way they're going at the moment

View 4 Replies View Related

HTC Eris :: Dual Booting - Alpha / Beta ROM

Oct 10, 2010

Would I be able to dual boot my Eris? What I want to do is run Kaosfroyo as my everyday ROM, and have another, maybe alpha/beta rom without having to flash over.

View 1 Replies View Related

HTC Desire :: Bookmarks Widget - Alpha Sort

Jul 17, 2010

I've got my Internet bookmarks sorted alphabetically, but can't work out how to do the same with the Bookmarks widget?

View 3 Replies View Related

Motorola Droid :: How To Alpha Sort Bookmarks

Dec 18, 2009

Does anyone know how to alpha sort bookmarks?

View 1 Replies View Related

General :: How To Remap 2 Keys SC-03e Galaxy S III Alpha

May 9, 2014

Everything was working fine on my Samsung galaxy s alpa sc-03e this is the link to the thread URL.... I have successfully rooted and installed recovery and enjoying the few custom roms, then suddenly I installed S3 i9305 rom didn't got the success, then install philz recovery URL.... and installed slim rom from Note 2 section URL.... 6 and then after appearing docomo logo black screen, then I put it on Download mode and installed stock rom but now touch not working. How can i access to this ? Its never happened in my life after installing so many roms in so many devices. And also Black Button key is not working, How I can remap all this ?

Also tired *#2663# but nothing is happening instead after connecting through otg cable with mouse then its come to the home screen? I have tried *#0*# each and everything is working but except the touch and also my keys switch to another.

View 6 Replies View Related

General :: CM10 Alpha - Missing Arrows In Search Box

Jul 24, 2012

I've got an SGS that was on CM9, I'm now using pawitp's CM10 Alpha & have noticed something missing:

The arrows on the search box that allow you to enter autocompleted text without seaching for it (just adds the autocomplete to your search string) is missing. See the screenshots below for comparison (ICS (or GB?) on the left, JB on the right)

Was that something added by CyanogenMod? Or is it part of Android that's been dropped? I used to use it a lot! Back in the days of the HTC G1 you could use the track ball to scroll down through the list, but without that you're reliant on the arrows. [URL] .......

View 2 Replies View Related

General :: Milestone X2 CM10 Alpha - Cannot Install ZIP In Recovery

Dec 4, 2012

I've been following the development of dzk's CM10 ROM for the Droid X2 and Milestone X2. I was so impressed with his work that I picked up a MIlestone X2 off of Craigslist today, eager to install CM10 and dive into the world of customizing my phone.

It's been an interesting afternoon of workarounds (Rooting required some booting exploits, and the Milestone X2 requires a patched version of the Atrix BSR), but I have everything backed up (Milestone X2 came with 2.3.6) and I'm ready to try out CM10.

However, I've hit yet another snag. The installer doesn't want to install the CM10 zip file made by dzk. Here are the details:

Phone: Milestone X2
Carrier: Cellcom
Android version: 2.3.6
BSR: DroidX2 Recovery GFAN.COM V2.5.1.8

Attempted ROM: dzk's CM10: [URL] ......

Here's my process for attempting the upgrade:
1) Reboot phone into BSR
2) Select "install .zip from sdcard"
3) select "choose zip from sdcard"
4) Choose a zip to apply: cm10/cm-10-20121007-UNOFFICIAL-daytona.zip (I have already verified the md5 sum as matching)
5) Confirm install? Yes - Install cm-10-you-get-the-idea

Here's the output:

-- Installing: SDCARD:cm10/cm-10-20121007-UNOFFICIAL-daytona.zip
Finding update package. . .
Opening update package. . .
Installing update. . .
assert failed: run_program("/tmp/check_kernel") == 0
E:Error in /sdcard/cm10/cm-10-20121007-UNOFFICIAL-daytona.zip
(Status 7)
Installation aborted.

I've gone through the original thread and haven't come up with much to go on. The only thing I can conclude is that I have to SBF to an earlier version of android. The only downside is, the Milestone X2 came with 2.3.6. There's no earlier version to go on with this phone. Can I go back to a stock version?

View 1 Replies View Related

HTC Desire :: Change Unlock Password - Remove Alpha And Numeric

May 17, 2010

I have just swapped from an iPhone 3G to the Desire and am getting stuck whilst familiarising myself with the phone (and making it similar to my iPhone). I have put an unlock password on the phone but it is a pain as it requires alpha and numeric so I want to go back to using the visual password. Problem is I cannot find how to get the phone to swap back to using a visual p/w. Anyone able to help Whilst here is there an app out there to wake up the phone when you press any key and/or have the iPhone keypad pop up to unblock the phone? Other than that it is an impressive bit of kit and better than the iPhone in many ways but flawed in some basic areas such as the pathetic speaker. It nearly went back when I first heard it and seems a surprising oversight given it is obviously aimed at the social end of the market.

View 13 Replies View Related

General :: SPICE MI 350n / Unable To Flash Hawk Eye Alpha

Nov 2, 2012

I am unable to flash hawk eye.

View 6 Replies View Related

Sony Ericsson Xperia X10 :: Remove Korean Alpha. As An Option On Keyboard?

Oct 11, 2010

How do I remove Korean alpha. as an option on my keyboard?

View 1 Replies View Related

Motorola Droid :: Message Arrives With Non Alpha / Numeric Characters - Resolve This?

Feb 14, 2010

My wife and I both have Moto Droids. She has been having a problem where, occasionally, people that she sends text message to tell her that that the message arrives with non alpha/numeric characters and instead are either (a) blank, or (b) filled with special characters and the original message is not sent.

I found a thread that says blank messages may be caused by draft items, but nothing about special characters.

View 7 Replies View Related

Samsung Behold 2 :: Alpha Recovery From The Last BH_MAN ROMS Dumped Into Odin Ready Image

Aug 16, 2010

I am looking to see if anyone (BH_MAN... ) has Alpha Recovery from the last BH_MAN ROMS dumped into an odin ready image. I am trying to get A2SD to work on the OTA, and I would like to be able to partition the SD card directly from the phone, which Alpha Recovery does...

View 2 Replies View Related

Android :: Alpha Animation - Staying In Last Animation Frame When Animation Is Completed

Nov 17, 2010

I'm fading out an imageview with alpha animation. I'd like the image to stay transparent after the animation. Tried with different combinations of fillAfter and fillEnabled, no luck. How can this be achieved?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved