i did some research about it and got somethings like Bitmap, getting View then transforming it into a blurred version of it then again adding it to the original; view , all this approach seems too hacky and almost whatever i founded is more than 2 or 3 years old solutions which are now not compatible with the new apis is there's any more clean way for it or any approach which is supportable for the new latest apis if yes then please let me know ??
You have many solutions :
use a library like this one : https://github.com/Manabu-GT/EtsyBlur
use a example code which seems not too dirty : https://futurestud.io/blog/how-to-blur-images-efficiently-with-androids-renderscript
use photoshop, if it is a drawable pre-blur it and add it in your project
others possibilities here : https://android-arsenal.com/tag/176
Related
I need to reproduce this.
I've made the code for the blue rectangle so far but I can't find a way to add that white blurr around the rectangle.
Does anyone know how to do it?
It's easy in all languages except Kotlin...
You need to make use of third party libraries. Such designs patterns are called neumorphisms . These can be achieved easily using these library :
Fornewid-Neumorphism
https://github.com/fornewid/neumorphism
Synth-CRED
https://github.com/CRED-CLUB/synth-android
Thank you all for your answers.
I've finally found Jetpack Compose (don't know why I didn't see it sooner) and I will be using that going forward.
It seems to be the better way of building an app's UI in Kotlin.
I'm new in xamarin and I wanted to put my TabbedPage in the bottom in Xaml by using this tutorial:
https://learn.microsoft.com/fr-fr/xamarin/xamarin-forms/platform/android/tabbedpage-toolbar-placement-color
Then, when it didn't work, I tried to rebuild the project like suggested in this stackoverflow question:
Where can I find ToolbarPlacement attribute of TabbedPage?
I saw some people using a old nugget package, but I don't really want to use it, especially if there is a native way of doing it.
Xamarin forms version : 4.1.0.555618
Android version : 9
I hope there is someone that have the same problem as me,
Thank you in advance,
halonico,
Setting the placement and color of the toolbar on a TabbedPage, you just add the following code:
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
android:TabbedPage.BarItemColor="#666666"
android:TabbedPage.BarSelectedItemColor="Red"
android:TabbedPage.ToolbarPlacement="Bottom"
Although there are still many mistakes, you don't meed to worry about these, you try to clean your project, then build your project directly, you will see it works fine.
I am trying to implement a layout which is able to draw lines between views. Here is a sample picture of a library that does the job but seems outdated, just like other solutions I've found:
Any ideas or code samples?
As #SĂgvardrĂ“lavrsson pointed out, google material steppers represent the best solution here: https://material.io/guidelines/components/steppers.html
I tried using #drawable/dialog_holo_light_frame or abc_menu_dropdown_panel_holo_light but didnt work, can you help me by listing good shadows provided default like aboves
I did iterative checking #drawable/abc_ and found #drawable/abc_popup_background_mtrl_mult to be of my need, may be it would be help to someone :D
How Do I make deafult ICS style tabs in android 2.2. I don't want to use ActionBarSherlock, instead I need to apply custom drawables. Can someone help ?
I tried using 9.png but didn't help much, as it didn't fill the complete tab, instead it shows only some blurred extended background. If you are suggesting some drawables - Please provide the drawable as well.
You can download ready made demo from this link: ICSStyleTab. I tried it for one of the project and it is working fine. If you wanted to add pager functionality, you can easily add using FragmentPager from Support V4 Library.
Update: ICSStyle Tab With Pager Demo
Thanks.
HoloEverywhere is a library to provide ICS/Holo theme to pre-3.0 devices:
https://github.com/Prototik/HoloEverywhere
Even if you really want to write your own code, you can gain a great deal of insight simply by looking into its source.