Android :: Create Drop Shadow For Drawable?Jan 18, 2010
How do i create a drop shadow to add it to a custom drawable i made using shape?
How do i create a drop shadow to add it to a custom drawable i made using shape?
I have an activity. It does not have a title bar. The content view is just a linear layout. It looks like android draws a drop shadow at the top of my content view, directly below the status bar. Is there a way to stop that from being drawn?
My layout is just:
I have no titlebar:
I have a PNG file with drop shadow that is supposed to be blended using multiply operation. I'm using an ImageView to show it.
However, the shadow is shown as solid gray.
What am I doing wrong?
I need to create a tiled drawable using BitmapDrawable but I need to create it from xml resource rather than code.View 3 Replies View Related
I want to set a specific background image for all my buttons. So, I changed my PNG file into a Ninepatch drawable using the "draw9patch" tool(by specifying the line of strecth).Then, I applied this as background to my button using
Now, the background appears for the button, but the lines of stretch are also visible on the android screen, wherever I'd specified them in the tool. Can you help? Is there something wrong in how I'm using the tool?
Creating a Drawable that is completely empty seems like a common need, as a place holder, initial state, etc., but there doesn't seem to be a good way to do this... at least in XML. Several places refer to the system resource @android:drawable/empty but as far as I can tell (i.e., it's not in the reference docs, and aapt chokes saying that it can't find the resource) this doesn't exist. Is there a general way of referencing an empty Drawable, or do you end up creating a fake empty PNG for each project?View 4 Replies View Related
I am running my application in the emulator using a high density skin (like WVGA800). However the ressources in my application are loaded from the drawable- mdpi folder instead of drawable-hdpi ... what else should I do so that android use the correct folder ?View 4 Replies View Related
I'm test driving Shadow rom right now.Is it weird? I'm getting lower Quadrant scores when I am using Set CPU with the settings on 998Mhz on the Performance governor.I'm using the Koush kernel that came with the rom.With Set CPU uninstalled, I consistently get higher Quadrant scores.Am I using the wrong settings in Set CPU?Kernel is capable of 1115Mhz, but is set at 998Mhz.Mods please move if I posted in the wrong place.View 2 Replies View Related
I have used both ROMS and they appear to be almost identical. am i missing something. The shadow settings and C6 settings and menu look exactly the same.View 1 Replies View Related
I'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 Related
The 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 Related
I 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.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 Related
How can i get rid of the shadow when I scroll ListView.
I have shadows appearing on top and bottom of the list.
If 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 Related
Downloaded Shadow ROM and so far so good. Was using LIQ FROYO 1.6 and this is just as snappy but with more bells and whistles. However, I can't install Angry Birds, while i was able to on liqfroyo1.6. Anyone able to install angry birds? if so, can anyone offer any guidance or tricks to get it on?
No Kernel, no overclock (other than what is stock on the ROM)
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.
In 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
How can i make shadow effect Text in Text View. Any Idea?View 1 Replies View Related
I was wondering if anyone has made an Invertnito Yellow theme for Shadow Rom? I LOVE Invertnito, but I also love Incognito Yellow. If anyone could help, or possibly make one, it would be much appreciated.View 1 Replies View Related
I'm scaling markers on a MapView with the following code
Which works, but the shadow below the marker has wrong offset when scaled. Also; i override the public boolean onTap(int index) in ItemizedOverlay to detect taps on the markers, but it seems inaccurate. I can click some range outside the marker and still trigger onTap...
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:
What can I do with the "shadow layer" of the the google maps overlays? I tried, naively, to draw something (an arc) only when (shadow == true) and got nothing? I'm interested in drawing arcs and arc shadows on a map. is there a nice google-maps way to do this?View 5 Replies View Related
Some information talk about the new Samsung Shadow smartphone, could be a Samsung "Nexus One".
-3.7" (800x400) AMOLED
-S5PC110 1GHz ARM processor
-1024GB RAM memory
-4GB internal memory
-MicroSD slot (Expandable to 32GB)
-Android mobile platform (compatible with Bada applications)
-8Mpx digital camera with AF and xenon flash
-Video HD (720p)
-Full voice control interface
The phone is completely black, with just one button on front, 2 buttons on the left side and one on the right.The charge mode is wireless, through a magnetic support.Samsung will launch this phone very soon.
I'm just not getting it. How do add files/folders to the android Dropbox? I've copied files and folders into the /sdcard/dropbox folder but they don't show up in the Dropbox app nor are they synched to my PC Dropbox. I don't see a way to paste into the app. In the Dropbox app I see "Upload" then "Add any file" but the only options are to add a photo, music or voice recorder file. I was hoping to use it to back up some ebooks and data files to my desktop.View 8 Replies View Related
I am the proud owner of a Hero, and like it! The only issue I have is that I use a website to book golf on-line. There's an icon which gives a list of all the courses. On a standard PC there's a bar on the right side of the list which you slide up or down to acess about 50 courses. On the Hero I can open the list, but it only shows the first 6 courses, and not the bar. For the life of me I have tried everything and I can't find a way to access the "hidden"courses. Does this problem ring a bell with anyone?View 7 Replies View Related
I am in NYC and get great connection speeds, often over 3000kbs.Then out of no where it drops to 600k, while my other phone, a mytouch still gets over 3000 right next to the N1.If i turn on airplane mode and then off, i start getting over 3000 again.View 5 Replies View Related
i have 3 smart phones on a family 1400 min plan .it costs over $ 200 a month . i like the incredible but it always pops up with another problem and its becoming a pain .sprint has the family for 1500 min shared with 2 evos for $ 129 .free mobile to mobile nights weekends .sounding better and better.anyone use sprint in the past?View 21 Replies View Related
I rooted this week, and my first two roms were alyousis (probably wrong spelling) and Evil Eris, both of which had wired tether built into the OS, and it would appear as an option in the usb selection screen. I was having problems with EE, so I went to the the rooted stock version of 2.1, which is very stable and is running well. I'm having problems with the wired tether in my current rom (I can't remember the dev who makes the stock ROM, I think it's ECLIPS3), but this ROM also doesn't have the dropdown tether option. In EE, tether worked pefectly with my mac and once I installed the drivers it worked perfectly on my XP thinkpad. In the stock ROM, it's the complete opposite. My mac doesn't recognize the eris as a new NIC and nor does XP or 7. Is there a better, more compatible version of wired tether for my ROM, and is there a way to get the same drop-down options that was in EE? Also, is there a fix for the 50% bug present in the eris official ROM?View 2 Replies View Related
How much time it takes for your battery to drop 10% when you're on 4G doing no downloads, no streaming, no Youtubing, nothing? In my case just 30 min. Complete discharge in approx 4 hours The temperature is very hot too. Do not put it under the pillow.check it out, this is ultimately just a 30 min test, and post it here (say to voice dialer "Open battery Info" for battery numbers and temperature instead of bars)View 11 Replies View Related
Placed Evo on counter with thumb on side toggle switch. Screen completely shattered! Had the phone for 6 days, and was never dropped or mishandled! Deductible $100. Wondering if anybody else had a shatter with no trauma?View 49 Replies View Related
I had a couple apps that were getting around 400 daily installs. They suddenly dropped down to around 50.View 5 Replies View Related
I'm having some trouble with spinners. Basically I just want a drop down menu when touched, the undrop when touched again. The code seems to work halfway. I just don't get a drop down menu section.View 2 Replies View Related
Charged my desire all through the night and unplugged this morn to check emails and surf web via wifi. must of been online for 5-10 mins and the battery had dropped to 91%. is that normal?View 7 Replies View Related
my max vloume is about half of what it used to be, I can barley hear my phone ,now im friggin pissedView 2 Replies View Related
I called two days ago and they said they no longer have waiting lists. I have been on two waiting lists for about 8 days now when the guy told me 3-6 days.Do they just deleted all the waiting lists with people on them and went to first come first serve?View 4 Replies View Related
is there any drag and drop support in android? Couldn't find anyView 4 Replies View Related
As many of you have probably read, the Wall Street Journal said yesterday that Verizon will be selling the Iphone early next year.How many of you will drop the Droid X for the Iphone?I am so fed up with the 3g drop issue! Verizon sent me a replacement phone. Not only did the replacement phone arrive with the same 3g drop issues, the replacement phone has such a bad buzzing in the ear piece that it's hard to hear someone speaking!View 49 Replies View Related
Has anyone done a drop test on the Droid?I love the phone but hate how my case makes it look even more clunky. I used to have a blackberry which I dropped many times, and it was fine.I'd love to just use a skin. Thoughts?View 2 Replies View Related
I have a MultiAutoCompleteTextView in my layout, I have attached an array adapter of email address to the MultiAutoCompleteTextView . Now when a user types any letters in this view it will show a drop down with the matching email address to the letter typed.
I wanted to modify the the drop down in such a way it also display's the Full name and email address one below the other . I tried using the ResourceCursorAdapter but could not get it to work.
How to drop a database in Android SDK?
Did not see any methods in android.database.sqlite.SQLiteOpenHelper or android.database.sqlite.SQLiteDatabase classes.
I have seen posts on using handbreak to convert to the correct file size and such but i was trying to just drag and drop avi files to the evo but they dont seem to be showing up once i disconnect from the pc. Is there a way to just drag and drop movies onto the evo or do i have to convert each one i want to put on the phone?
I am converting a avi right now through handbreak but it is taking forever! With my moment i could drag and drop i figured with this phone i could do the same but i guess not
Before i have to take the train to work i like to just throw a movie on the phone and watch it but it doesnt seem like ill be able to do this with the evo cause ill have to convert them all and that will take too long....
can anyone point me in the right direction?
I just rooted my moto droid. Now I am wondering if it is possible to drop 1.5 or other versions of the OS on the phone and if so how? If anyone could explain how I do this or link some forums that explain this. Or is there maybe a dual boot option b/c I don't want to always us 1.5 only for testing purposes.View 4 Replies View Related
I was wondering if it is possible to add an animation to the drop down menu? I searched a bit for this and found a few guides but for different phone models so my other question is as long as its for android could I still follow those guides and get a result?
P.S I just about managed to work out how to root and then add a custom rom to my phone by following the instructions exactly. I have a Samsung Galaxy S 2 (GT-I9100)
Android version: 4.0.3
Baseband version: I9100XXLPS
Kernel version: 3.0.15-I9100XXLPS-CL294511 se.infra@SEP-68 #3
Build number: Litening ROM v2.7