Android :: How Can I Use Transparent Or Translucent View Effect?
May 1, 2009
I am a newbie in android UI programming. I want to create a custom SurfaceView for my own renderer. And this view has a transparent/ translucent effect with background. I follow api demo sample code to create TranslucentGLSurfaceViewActivity and TranslucentGLSurfaceView, but render result is blank screen.
View 3 Replies
Jan 26, 2010
Why i get a Black screen with a translucent transparent background on my HTC Hero ? I used the code sample.It is OK with the emulators 1.5 and 2.1.Is there a way to have it on my Hero ?
View 3 Replies
View Related
May 5, 2009
How to pass the "Touch" event to the application behind the translucent view? The view is an input view (IMF, implemented by "InputMethodService.setInputView()"). Need help.
View 4 Replies
View Related
Mar 31, 2009
I'm trying to create a custom widget which looks lick HTML table. I chose to derive from TableLayout, which is the subclass of ViewGroup and View. What's confusing me is that the drawing I put into my override of View.onDraw did not take effect, until I moved the codes to the override of ViewGroup.dispatchDraw. I know dispatchDraw is a good place to draw something, but I'm just wondering why there's such difference in my practice?
View 3 Replies
View Related
Jul 6, 2010
My objective is to run a glowing animation on an image.I am changing the image alpha to produce this effect.
I have used basic AlphaAnimation provided in android framework but found that its slowing down other animations. So i extended a class from SurfaceView and created a thread to update it. ( Again here, i am manipulating alpha of the image ).
Everything seems fine, except that i am not able to draw a transparent image onto SurfaceView.Its showing black color on the transparent areas of the bitmap.code...
View 1 Replies
View Related
Aug 23, 2010
I have made a sample application to flip through different layouts in a viewflipper.
XML is basically (pseudo-code)
<ViewFlipper>
<LinearLayout><TextView text:"this is the first page" /></LinearLayout>
<LinearLayout><TextView text:"this is the second page" /></LinearLayout>
<LinearLayout><TextView text:"this is the third page" /></LinearLayout>
</ViewFlipper>...........
View 1 Replies
View Related
Mar 3, 2009
I have problem with the List view scrolling. Here I have a list view contains more 50 items. I am setting the list view background as transparent. While scrolling the list view it is showing with black background. Can any one tell me how to remove this black portion?
View 3 Replies
View Related
Aug 19, 2009
seems pretty straightforward.
CODE:..............
But doesn't work!
It scrunches the layout background as the background to each button, I want it to span all three buttons...
View 2 Replies
View Related
Jul 9, 2010
I have already found how can I do an ImageButton with Transparent background, but I would like to ask, how can I set the effective of it ?
How can I do it more transparent ?
My way as I do it: <gradient android:startColor="#aaffffff" android:endColor="#aaffffff" ...>
What should I write in to the color to be more transparent ?
View 3 Replies
View Related
Sep 19, 2010
On Sun, Sep 19, 2010 at 10:33 PM, Elonix <spider0qu...@gmail.com> wrote: > TranslucentActivity and WallpaperActivity are almost the same. Can > anyone tell me how does demo work?
View 2 Replies
View Related
Apr 7, 2010
I am developing an application that uses a Home screen widget as its launching point. The application uses the Translucent theme to give the appearance of being integrated with the Home screen when active. I recently discovered that launching a translucent activity over a live wallpaper will not pause the wallpaper as a default-themed activity would. The wallpaper will continue to animate and slow down my app significantly due to its hoarding of CPU resources. Is there some way for a translucent app to tell the wallpaper service to pause? I understand that it is up to each individual live wallpaper to determine what to do when its onVisibilityChanged method is called. Assuming the method is implemented properly, might there be some way of indirectly calling it?
View 4 Replies
View Related
Nov 1, 2010
Is there a way to open a translucent or transparent activity so that you can still see the old activity behind it on the screen?
View 1 Replies
View Related
Dec 3, 2009
I'm having this strange issue where upon exiting a subactivity that is translucent (android:theme="@android: style/Theme.Translucent" ) the onStop() method doesn't appear to be called. have a TimerTask that runs and is supposed to be terminated when the subactivity ends in the onStop() method, but I'm instead left with an orphaned thread running in the background. It go particularly bad when I ran the subactivity several times. When I revert to no theme, the onStop() method is called and the activity behaves properly. Is there something I missed about how Translucent activities'lifecycles differ from standard activities?
View 4 Replies
View Related
Sep 30, 2010
I got a graphical problem regarding the Translucent theme at Samsung Galaxy i9000.It works well in the emulator with android version ranging from 1.6 to 2.2 as well as on SE x10 mini.I have yet to test on more devices.I am starting an activity from a broadcast receiver. The activity started got the theme @android:style/Theme.Translucent If all the activities in my application are destroyed when the broadcast occurs, then the new activity got a working translucent theme and is presented on top of the activity currently in front. However, if the user left the application with the HOME-key, not destroying the activity, I get a graphical bug when the broadcast triggers. The application gets brought to the front with the activity the user last visited showing instead of the new activity that I started from my broadcast receiver. When I press the back key I can see my Translucent activity quickly showing itself and then getting destroyed.This flow results in the graphical bug: Start application. Activity A will be shown. Leave application by pressing HOME-key. Home screen is shown. Trigger broadcast. Start activity B.
Application gets brought to foreground and activity A is shown. Press BACK-key. Activity B quickly shows itself and disappears. Now activity A is shown.Also, after activity B is started and when activity A is shown in its place. Pressing the screen will triggers buttons that belong in activity B even if the user can't see them. If I remove the theme, then activity B will show itself when it's supposed to.Is there anyone else who have encountered a similar problem? Is there any good workarounds I can apply? (I don't want to rebind home to finish all activities) Is the problem my fault or can there possibly be some glitch in Touchwiz?
View 2 Replies
View Related
Mar 29, 2009
I have an image displayed in a view. I want to make some translucent control over that image, just like the zoom control on the built-in 'Pictures' application, or the 'Play' button on any youtube video.
What is the general practice to achieve this kind of effect?
View 4 Replies
View Related
Aug 3, 2010
TranslucentActivity.java doesn't do anything. There is no translucence, nothing special about it. It just shows an activity screen.
View 2 Replies
View Related
Mar 17, 2010
I have a Bitmap object and want to render it to a Canvas object with varying levels of translucency (i.e. make the whole bitmap partially see through). For example, I have sprites in a game (that are drawn over the top of a bitmap background) that I want to fade out from being opaque to being invisible. Can I do this without having to resort to OpenGL?
View 2 Replies
View Related
Apr 20, 2014
I would like to disable KitKat translucent statusbar, to leave it like Jelly Bean.
View 9 Replies
View Related
Sep 8, 2013
I'm running CM10.1 on my HTC One x. I was wondering how to remove the black shade ontop of the lockscreen background and just have your background clear and not darkened. I've been looking around framework-res and trying to edit stuff but had no luck, just flashing custom roms and decompiling apks.
View 3 Replies
View Related
Apr 29, 2014
I've seen in the WhatsApp+ themes thread an interesting theme:
http:[url].....
As you can see, it has both translucent nav and status bar. I know Xposed Framework has a plugin with this function but it does not work properly with WhatsApp, for example. My question is: How can I get this effect properly?
View 6 Replies
View Related
Aug 2, 2010
I am trying to set up a ViewFlipper that changes a SlidingDrawers content each time a button is pressed. So far every view I set up worked fine, but now I am trying to create a ListView (including single_choice_mode) within a child view of the ViewFlipper, but my attempt only let to a NullPointerException. As I only discovered ViewFlipper today, I am not yet familiar with it and may not have understood it completely. if someone could give me a hand and help me find out what I have done wrong, that would be great. Here is what I have done:
The code for the onClick event of the ImageButtons:
public void onClick(View v){
if (v == btnExposure){
mFlipper.setDisplayedChild(0); }
else if (v == btnProperties){
mFlipper.setDisplayedChild(1);}
else if (v == btnSpecialEffects){
mFlipper.setDisplayedChild(2);.............
View 1 Replies
View Related
Aug 27, 2009
I'm trying to scale/rotate an image using setImageMatrix, and it seems to have no effect. I've done a lot of Googling and found some people mentioning similar problems, but found no solution.
View 2 Replies
View Related
Aug 11, 2010
I've created a custom toolbar using a gradient inside a shape. It looks very nice, but since we only have the option for 3 colors (startColor, centerColor, endColor) it looks very round. I would like to do a glass effect, which requires a sharp change in color in the middle. Basically I need 4 colors (startColor, justabovecenterColor, justbelowcenterColor, endColor). Now I could have two shapes sitting on top of each other to get this effect, but I don't want to do this. I'm getting into some tricky UI customization here and that would be very difficult to manage on different sized screens.
View 1 Replies
View Related
Aug 31, 2009
I was interested in making a springy-bouncing effect for ListViews similar to one in iphone.I wanted to make sure about a few things before implementing it.
1). Does Android provide this feature somewhere in the new Donut version thats coming out?(so that i don't have to re-invent the wheel)
2). Do Google plan to add this feature in any future versions of the SDK?
View 4 Replies
View Related
Sep 1, 2010
I am looking for Deep effect in Android gallery. i did some work around coverflow at http://www.inter-fuser.com/search/label/Coverflow but it also do scroll left and right. it does give me the idea to calculate offset top and left for each item separately but still there is no access. what i am trying to do is, when user scroll, images would scroll from deep behind the right edge to center and then to left side deep behind.i am wondering if anyone have some thought about arranging the imageView's on deep offset (something like V shape ) rather than on horizontal as it is.
View 2 Replies
View Related
Jul 5, 2010
i am trying to create a ripple effect one similar to water live wallpaper in nexus one.please give me direction to acheive it.
View 7 Replies
View Related
Feb 12, 2009
there seems to be a dead-lock problem when using sound effects with SoundPool. I was hoping the the problem would be fixed in the new firmware update, but unfortunately, it was not. The application still locks up after couple of minutes when playing sound effects using SoundPool. My application is a game playing a background music scenario with multiple simultaneous sound effects. Any word from devs as when we can expect stable SoundPool would be very welcome.
View 21 Replies
View Related
Jul 31, 2010
I really like the LOMO effects in the second picture as shown in the following website(or just search Lomoster in android market), anyone can tell me how to realize it?
View 2 Replies
View Related
Mar 15, 2009
I found an interesting tip over on the Tmobile forum that helped me out. I seam to get a real strong halo effect in my pictures from any light source, that blows out large parts of the photo. Most likely you have touched the camera lens while changing the battery or fooling about with the phone. Solution clean the camera lens and the inside and outside of the back cover. It is still far from great camera but, man, made it a whole lot better. All this time I thought it was just the crappy camera.
View 1 Replies
View Related
Aug 2, 2009
So I have a Canvas which uses a bitmap to store the draw calls on. I have applied a ColorMatrixFilter to the underlying bitmap of the canvas. It looks awesome when on the phone and during the OnDraw calls. The ColorMatrixFilter is making the bitmap look exactly like I want it when the Canvas is drawn. Now how do I SAVE the Colormatrix effect? I normally take the underlying bitmap that is attached to the Canvas and Bitmap.Compress save it. But this method doesn't save the ColorMatrixFilter effect. How can I get the ColorMatrixFilter to actually alter the Bitmap itself so I can Bitmap.compress save the damn thing!
View 2 Replies
View Related