Android :: Canvas Drawline With Semi Transparent Lines Overlap?
Aug 26, 2010
I am drawing several lines on a canvas using drawline, the lines are semi transparent (their paint has an alpha value <255) only problem is that the point at which they cross creates a dot of less transparent color (obviously) is there a simple way to avoid this?
View 1 Replies
Apr 2, 2010
I never really liked the look of the original HTC Sense UI Lock Screen. The arc across the screen never appealed to me. So recently i switched the Nexus style one. But i kind of missed the Sense UI Lock Screen because of the additional information and capabilities it provided. So i decided to see what it would look like without the arc and just transparent. Doesn't look too bad...
Default wallpaper and "new" lock screen
Default wallpaper and "new" lock screen displaying missed call information
Black wallpaper and "new" lock screen
Incoming call and "new" lock screen (I also changed the green android image)
View 35 Replies
View Related
Feb 10, 2012
is it possible to make the navbar semi-transparent?
View 1 Replies
View Related
Mar 4, 2014
After 2 years I am finally back from iOS to Android 4.4.2 on my new Nexus 5.
I flashed the newest version Paranoid Android and now I am seeking for a lockscreen layout that can replace the iOS lockscreen notifications I got really used to.
Dashclock combined with Dash Notifier seems like a good alternative but I now have some strange lockscreen behaviour of which I don't know if it's normal or because of some settings I missed.
Every time I expand / shrink for security code input I see a semi transparent white rectangle (as seen in the pictures attached).
Is this normal? If not is there any setting I missed, if yes, is there any possibility to avoid this? I don't use any lockscreen replacement at the moment...
View 1 Replies
View Related
Oct 17, 2012
I want to know how to make the notification pull menu semi-transparent on a custom ROM.I am no developer...I am using ARHD Rom and want to make the notification pull down menu semi-transparent like in ViperX ROM.
View 1 Replies
View Related
Jul 23, 2010
I am working on a paint application for Android. Now I want to implement an eraser to allow erasing parts of a loaded bitmap by using touch input and making the bitmap transparent along the finger's path.
A very good example of what I try to achieve is shown in the application Steamy Window for Android. Steamy Window simulates a fogged window, where a user can wipe parts of the fog via touch input.
UPDATE: I have posted the most important sections of my current code below. I am not really happy with it for the following reasons:
Drawing is quite sluggish. What can I improve here?
I am looking for a way to use an alpha mask in order to set the pixel transparency/alpha of the pixels as I want to simulate a paint brush. Any suggestions how this could be achieved?
CODE:...................
View 1 Replies
View Related
Apr 4, 2009
I'm trying to make an app that requires me to draw over a layout with buttons, etc. I want to build a transparent canvas over the current layout and draw onto that canvas. How is this done?
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
Jul 7, 2010
My loadMap() method generate a canvas.throwIfRecycled exception when i try to load a new map.
When i start the game, the initial map loads and work fine though,
its only when i try to load a new map that i get the exception ..
How can i "reset" canvas and the bitmap i use to draw into, so i can startover fresh with them ?
here's what i use to create and draw my maps:
CODE:.........
So basicaly once i created and used picDest and canvas, i cannot figure how to reset it all for when i want to load a new map..
View 1 Replies
View Related
Sep 4, 2009
I want to overlap two imageView. I tried View.offsetLeftAndRight, but it does not work.
My code is as below:
code:.....................
View 3 Replies
View Related
Jun 7, 2009
Is it possible to have overlapping views in Android? I would like to have an ImageView with a transparent png in the front and another view in the background.
edit:
This is what I have at the moment, the problem is that the image in the imageView is not transparent, the parts that should be transparent are just black. code...
View 6 Replies
View Related
Apr 28, 2010
I am trying to style my ListView with two 9-patch background images (16px * 9px), one dark image for default state and another green image for selected and pressed state.
It works except for just one problem that when I select or press one list item, it seems that the selected item overlap the next one a little bit as I can see some pixels of the green background image is on the top of next item.
View 1 Replies
View Related
Apr 19, 2009
Is it possible to add a view dynamically that overlaps other views in the layout. I have Linear Layout defined for the activity. As part of the Layout I have a custom View. The content changes dynamically and sizes appropriately based on the content size, with fill_parent for width and wrap_content for height. But what I want is, dynamically take over the full screen and then based on a click go back to the normal mode. Is there a mode to display a view where - in it can overlap all other views in the layout?
View 3 Replies
View Related
Jun 20, 2010
I haven't confirmed if this trick can be achieved on the default or other home launchers, but just now, I was able to overlap widgets together. Could be a bug with LauncherPro. I can actually press in between the top layer of widgets to access the underlying Facebook widget.
View 2 Replies
View Related
Sep 4, 2013
finding an app where I can overlap or layer two different maps? My goal would be to overlap a map I have on file onto a modern map, maybe google maps or a similar program.
View 4 Replies
View Related
Nov 30, 2009
I was wondering what kind of knowledge you guys have about the LI-ION batteries in this badboy. I see a lot of conflicting things online, and from what I gather...you shouldn't be charging overnight, and you shouldn't frequently do full cycle discharge. So, what is the best practice? Charging semi frequently and shutting it off at night? I dislike this because I use the phone as an alarm, and don't want to wake up with the battery starting at 90 for the day.
Also, if you're not supposed to charge overnight (which i've done with many other phones and they were fine), then if I do get the media dock...it would charge overnight every night as my alarm clock.... isn't that bad for the battery? I'm just concerned about ruining my battery, what have you guys heard, and what effects have you seen?
View 34 Replies
View Related
Mar 15, 2014
I am an android user, using sony xperia z with 4.3. I have problem about the google voice (GV for now) and keyboard, im not the same as everybody with missing GVT or wanting to disable it, i actually like it a lot, especially because it support my language (not english).
using voice input is easy:
1. i press the GV icon
2. i talk
3. text coming out, there will be miss typed/heard sentences
4. you know, if the system doubt your speech and want to correct it, you just tap the word with grey underline,it indicating that it have multiple option
5. then you choose the correct sentences
My step number 4 is a problem, because the correction that pop up to correcting/delete sentences is being blocked by keyboard, that is why i say it also a keyboard problem. so i cannot choose anything from it. and i have this problem since 4.2.2, the first day i upgraded it to 4.3 is okay, but suddenly it happen again. i don't think i will resetting or formatting because i have a lot of app and chat history that i cannot delete.
here is the screenshot and i highlighted the point of this thread with red in case you want to skip reading. [URL] .....
View 2 Replies
View Related
Jun 12, 2010
Was wondering where one can find an semi-accurate estimation of the Incredible total units sold. Anyone know?
View 39 Replies
View Related
Mar 3, 2012
Is it possible to have an image view overlap a listview? Basically I want to put a vertical line done the center of my list view to make a vertical dividier between the textviews in a listview row that are statically sized horizontally and dynamically sized vertically.
View 5 Replies
View Related
Sep 7, 2010
I rooted my vibrant and then i installed an update.zip file to fix the lag and during that process my phone's screen went black i waited like 7 minutes. the phone wouldn't do anything when i pressed the buttons so i just pulled out the battery. Now when i start the phone it goes past the S logo but with a black screen. the phone doesn't do anything at all and the lights for the menu and back touch keys stay on. I can go into recovery mode but what can I do to get my phone back?
View 4 Replies
View Related
Dec 7, 2009
The subject says it all, just curious if I've missed something or does displaying a quick warning to the user require code such as the following; Dialog msg = new AlertDialog.Builder(Login.this) .setPositiveButton("OK", null) .setMessage("Please enter both login name and password") .create(); msg.show();
View 8 Replies
View Related
Apr 28, 2010
How to draw different types of lines like thick line, dashed line etc using opengl android?
View 6 Replies
View Related
Oct 5, 2010
I am trying to get two lines in the same row in a list view and I looked at some things online but found it hard to apply to what I am trying to achieve. Could anyone look at my code please and suggest me how I can make it possible. Code...
View 7 Replies
View Related
Oct 4, 2010
I have a problem with designing an UI Android activity. There are two blocks of misplaced graphics on the left and right of the activity - they are two lines just bellow the titlebar with 1px height and about 5-10px width. They cause buttons to break at their left and right parts. I cannot figure out what the problem is. I am using Eclipse with Android SDK 0.9.9. The lines appear not only with the emulator but in a HTC Wildfire (Android 2.1). These lines are also visible in a newly created Android project (HelloWorld).
Link to the Broken widgets - note the button's left and right sides
XML layout:
CODE:....................
View 1 Replies
View Related
Oct 29, 2010
This gives me error: EditText messageEdit = (EditText)findViewById(R.id.description_text);
Why can I not do like this on a eittext with lines?
This is how the Edittext looks like
CODE:.................
View 1 Replies
View Related
Jun 20, 2009
Is there a way to do a linear layout with multiple lines? I want to lay out a variable set of buttons with variable labels, so I'd like to use a layout that works as a simple horizontal LinearLayout, but with multiple lines, so the buttons spill into a second (or third) line if they don't fit on the first one.
View 3 Replies
View Related
May 7, 2010
i have a customized LinkedEditText extends from EditText, and override the onDraw method as below:...........................
View 9 Replies
View Related
Jul 29, 2010
I'm wondering how can I split single line text into few lines. I need it for game. I want to make it in canvas. It will be notification popup, but sometimes text is too long (I draw text canvas.drawText()), and I need to split it and draw in few lines in rows. Anyone knows a good solution? I saw methods mPaint.measureText() or TextUtils . split () , but it isn't so good in my case. Is there other method?
View 5 Replies
View Related
Jul 13, 2010
I am trying to put a background image and draw on top of that screen. I assumed activity will have a on draw method, but it does not have. it seems i need to use surfaceview. Can I put a surfaceview on top of the image view and make it transparent ? any example/tutorial i can refer to ?
View 5 Replies
View Related