I am building an android app and been following a particular design on this link
This is the design I have build so far
I have been trying to make a background similar to the one in the link. Which is transparent. Or I don't know what it's called.
Could someone help me provide any details to it? What it is called and how can I make one?
Seems like in the link it is just a blurred image. You can create on yourself and set it as background.
You can use this for make your background transparent
android:background="#android:color/transparent"
Related
How can I set up a popup window in an Android Cordova application to have a blurred background? The content behind it will not be known in advance, and may contain both images and other components from multiple sources. It will not necessarily only appear over a single image. The effect I'm looking for will look something like this:
Things I've investigated so far:
The approaches described in the answers to Background blur with CSS, which tend to rely on having the background already available as an image (e.g. here's a modification of the accepted answer that shows that only the background image gets blurred, and that any text placed on top of the background is lost by the effect), or use the CSS property backdrop-filter which isn't currently implemented on Android's web view component.
Using html2canvas and similar approaches to generate an image then blurring the image. This sort-of works, but is too slow to use on complex layouts on low end phones, resulting in an unacceptably long delay before the popup appears.
Is there another approach that can make this work?
If you use crosswalk-plugin for android, add --enable-experimental-web-platform-features to XWALK_COMMANDLINE, then you can use backdrop-filter, but It still have some bug. you can test this feature in you chrome, open chrome://flags and open enable-experimental-web-platform-features.
Did you try svg filter?
Maybe this can help you https://www.w3schools.com/graphics/svg_fegaussianblur.asp :)
I want to have a scrollabeView (pagingControl) exactly like this image, where I can show 2 pages at the same time or more and swipe between them on Ios And Android.
In iOS you can have a look at the property clipViews. For Android it is currently not possible without adjusting the SDK. Have a look at this ticket: https://jira.appcelerator.org/browse/TIMOB-25635. It is a feature request to have this kind of layout. Also it features some links that explain how to add it to the sdk.
I fixed this problem by creating this widget com.developatic.pagingControl. I hope that will be useful.
I'm attempting to create an activity which allows a user to mask out part of an image. The way I'm trying to achieve this (yes trying, because it still isn't working for me, please see my other SO questions), is by painting a color over the base image using the canvas. I saw an app this morning which basically does exactly what I need and I thought I'd ask here if anyone knows how the app is doing the hard work and if there is a good tutorial or documentation somewhere for this concept?
Basically you press part of the image and it automatically masks out to the edges of the object in the image, you press again to add more, and press to remove.
the app is called "AThumb Cut" and hope its ok to link to it here https://play.google.com/store/apps/details?id=com.instacut2
This is an amazing application indeed. They work like Magi tool in PhotoShop. Try this tutorial it tells you how to do it in Java.
I need to add help menu in my android application to help users know about the app for first time when they start Should show pop up screen like this
well, I can do this by adding such images but Is there any library or sample project available that I can use to achieve this!
here is developers link down there is a semi transparent image
What needs to happen is getting the locations of the relevant views and pass them, in an intent, to a help activity with a transparent background. Luckily, there is an open source library for this. Check out ShowcaseView . It is what you are looking for.
In my app I want to display different icons for the application. Changes should be according to the scenario. For example, it will mark the number of days remaining for the task completion. On the android menu this icon will display the number of days remaining. If anyone has any idea for this, I would appreciate it. Thanks.
There are actually a number of ways to achieve this. If you notice Google's clock app these days, it does show the current time.
You can refer to this tutorial: https://blog.jakelee.co.uk/programmatically-changing-app-icon/
Or find even more ways here: How to change an application icon programmatically in Android?
As far as i know, you cant. Also refer to this answer:
Android Application Icon Change
I am afraid you can't change your app's icon programmatically. How to change an application icon programmatically in Android?
This can be done easily. Within your activity code, just write:
getActionBar().setIcon(R.drawable.new_icon);