Android :: How Can I Delete Black Shadow Above Framelayout In Tab Widget?
Sep 7, 2010I have a problem with the tab widget. There is a shadow above the framelayout that's part of the tabwidget. How can I modify or delete this shadow.
I have a problem with the tab widget. There is a shadow above the framelayout that's part of the tabwidget. How can I modify or delete this shadow.
How to remove the shadow which is over the lockscreen background image on certain rom ? I'm using AOSB 1.2.9 on Galaxy S3 4G, kitkat.
What i would like to have:
I have two SurfaceViews in one FrameLayout. So they are stacked upon another. What I want to achieve is to use the lower SurfaceView as kind of background that is changing heavily, and the upper SurfaceView as annotation overlay. So the upper SurfaceView has a (small) number of quickly changing elements that I will draw. Somehow, I can always only see one of the SurfaceViews, depending on which one is top. I thought that SurfaceViews are always transparent, but it seems I am missing something here.Any thoughts on why I can't overlay two SurfaceViews?
View 9 Replies View RelatedIn the new version(s) of Android such as version 2.1, default widget (music widget, news and weather widget, youtube widget) have been restyled to use a black background with a white radial gradient at the top in the middle. I've seen other widgets starting to use the exact same background.However, I can't find this background anywhere. The widget design guidelines.How can I get hold of that background? Ofcourse, I could try to design it myself to make it look like the default style as much as possible but that's seems stupid. :)
View 1 Replies View RelatedI use the standard widget for Bookmarks. But there are many Bookmarks i want to delete from it. I know how to add, but i dont understand how i delete.Open up the browser first, then hit menu/bookmarks/menu/delete. Then you can check the ones you want to delete.
View 1 Replies View RelatedHow do I delete a widget in SweeterHome 2?
View 1 Replies View RelatedAbsoluteLayout has become obsolete, I need to convert it to FrameLayout.My problem is in AbsoluteLayout. LayoutParams, I can specify (x,y) in the constructor, which specify the location of my view during layout.How can I achieve using FrameLayout + FrameLayout.LayoutParams?
View 14 Replies View Relatedi'm in final stage of writing my custom widget (quite similar to Home's sliding panel). it works quite well except one thing: i have some problems with positioning it in FrameLayout (see 3 rightPanel* Panels in main.xml in attached eclipse project).basically i don't like the idea i'm using there: setting layout_marginTop in panelHandle children.
View 2 Replies View RelatedI am wrting an android application which displays some buttons dynamically in a linear layout with vertical orientation.When ever we click on any button a new activity should start in the same frame . How can this be possible ? can anyone help me in solving this issue.I will be waiting for reply.
View 1 Replies View RelatedI have the following layout in XML (splashscreen.xml):
CODE:............
When I try to execute it in Android 1.5 (executes correctly in all other versions) I get these errors:
CODE:.............
Line 5 corresponds to ImageView line. Do you have any idea why my program executes in all Android versions except 1.5?
How to align the child in right side in FrameLayout ?
View 3 Replies View RelatedI'm following an example where the author hard coded a paddingTop to 370px. How do I make that paddingTop dynamic? When I run this in 2 AVDs with HVGA and WVGA80 I get the frame floating at different heights. I'd like to say something like paddingTop=80%, but that doesn't work.
View 1 Replies View RelatedI want to add a view inside a FrameLayout programmatically and to place it in a specific point within the layout with a specific width and height. Does FrameLayout support this? If not, should I use an intermediate ViewGroup to achieve this? My initial idea was to add an AbsoluteLayout to the FrameLayout and place the view inside the AbsoluteLayout. Unfortunately I just found out that AbsoluteLayout is deprecated.
View 2 Replies View RelatedI've got a game, a custom View class draws my gameboard. I'm thinking of drawing some elements on a separate layer above the gameboard. I could do this in the View's canvas code, but since they won't change frequently, was thinking of introducing a frame layout to display this top layer.I'm not sure which route to take, the only reason I wouldn't do the FrameLayout is because I'm not sure if it has an impact on battery life. Everytime onDraw() is called, the system probably has to do an alpha composition of the two layers. Is that more battery consuming than drawing the elements from that layer myself in my canvas on every frame? Hard to answer since I'm not sure how complex the drawing will be yet, any general opinions?
View 1 Replies View RelatedI'm doing that sample: [URL] ....
I want to change at this line
public void onClick(View v) {layout.setVisibility(GONE);}
to
public void onClick(View v) {
Intent myIntentopen = new Intent(MainActivityold.class, MainActivitynew.class);
startActivity(myIntentopen);
}
but it dosn't work.
I have a samsung moment and I can't for the life of me figure out how to delete my search history in the google widget. I've tried deleting the cache and cookies and form data, but it doesn't clear it.
View 13 Replies View RelatedI have a FrameLayout in which I have 2 controls:
- a custom view which draws a image and some text on it
- a textview with a text
I want to center both in the FrameLayout but I can't manage to do it. The Texview is centered just fine, my cusom view remains on the left side, when I make it visible.
I am trying to put the zoom controls of the map on the bottom right corner of screen. I could do it with RelativeLayout using both alignParentBottom="true" and alignParentRight="true", but with Framelayout I did not find any such attributes. How do I align it to the bottom-right of screen?
View 1 Replies View RelatedI've tried casting shadow following this tutorial (which uses Stencil Buffer method): http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=27 The result is a cool shadow effect. But it depends too much on geometry and thus not very flexible. Then I found a much easier way to do shadowing here: http://www.paulsprojects.net/tutorials/smt/smt.html But it uses ARB_depth_texture and ARB_shadow extension. So I bet it can't be used with Android's OpenGL ES 1.0. I've tried googling for "Shadow Mapping" and "OpenGL ES" but still can't find a good tutorial. Can anyone recommend me a good place/site I can study for this please?
View 3 Replies View RelatedThe ListView has a nice fade on the top/bottom.I have a ListView in the top half of my app, and then a ViewFlipper on the bottom. Is it possible to add a fade/shadow to the top of the ViewFlipper? This would look nice.
View 1 Replies View RelatedI am wondering how to add shadow on text in android?
I have the following code which is applied on a bitmap and I wanted to be shadowed...
paint.setColor(Color.BLACK);
paint.setTextSize(55);
paint.setFakeBoldText(false);
paint.setShadowLayer(1, 0, 0, Color.BLACK); //This only shadows my whole view...
I'm trying to give my first steps on working with ActivityGroups. To be more specific, I have a parent activity with a layout containing several buttons, and another layout below them in order to add other activities' layouts by means of the "addView()" method. Well, everything works fine in functionality terms; but I'm experiencing a weird behavior inside the layout where other activities are kind of loaded into. A black line along the top border of the layout plus a slight shadow do appear when I run the application on the emulator. I have tried to play changing the paddings, margins, etc. with no success.
Has any of you experienced such weird behavior?
I am displaying a custom marker on my Google Map. They are placed fine, but they have this funny shadow. How can I remove the shadow? code...
View 1 Replies View RelatedHow can i get rid of the shadow when I scroll ListView.
I have shadows appearing on top and bottom of the list.
I've a widget which i would like to delete programmatically if the user gives the command by clicking on some button or so.. But as per my knowledge the app programme and the widget programme will be running in different processes. So how is it possible to get the controll of another process remote view and delete the same clearing all the db contents related to the widget?
View 1 Replies View RelatedThis must be a first? I searched here and on google. This screen shot was taken while I was holding down the square widget so it would "hide" the dock and you could see the widget hanging off the edge. Is there anyway to delete it? I'm not rooted.
View 4 Replies View RelatedIf I draw a round rect shape by code I can use setShadowLayer to get a shadow drawn for the shape. Is there an equivalent when defining shapes in XML?The following example draws a round rect background to a shape. What would I need to add to get a shadow added to the shape? Is it even possible using XML? Code...
View 1 Replies View RelatedHow do i create a drop shadow to add it to a custom drawable i made using shape?
View 1 Replies View RelatedYa its won't go green it just freezes and I need to delete it and then put it back on. Fix
View 3 Replies View RelatedIn my map application I am using overlay items and texts. I need shadows for both. For overlayitems I am able to display shadows. How to show shadow for the text drawn?
View 4 Replies View Related