Gradient Button - Jetpack Compose

  Рет қаралды 18,391

Stevdza-San

2 жыл бұрын

🏆 My Online Courses
⭐Discount Coupon: LAUNCH-STEVDZA-SAN
stevdza-san.com
🐱‍👤 Wanna become a member? Join!
kzbin.info/door/YLAirIEMMXtWOECuZAtjqQjoin
📸 Instagram
stevdza_san
In this video I'm going to show you how to create a custom composable function to apply Gradient colors to a Button using Jetpack Compose. Watch the whole video to learn more about it. :)
💻 Source code:
github.com/stevdza-san/gradient-button-jetpackcompose

Пікірлер: 36
@original_anu
@original_anu 2 жыл бұрын
Great video. A gradient button is useful in many modern UIs The previews are cached so even if you delete the file and then recreate it with the same name, just writing the same composable preview function name will show the old preview. You can refresh the build after deleting the file/removing preview composable to clear the preview cache
@StevdzaSan
@StevdzaSan 2 жыл бұрын
Yeah it's cashing capabilites require rebuilding the project. Good tip 👍
@drogonthewarrior4421
@drogonthewarrior4421 2 жыл бұрын
This video interaction has really a great impact on ur video stev
@StevdzaSan
@StevdzaSan 2 жыл бұрын
I'm even more motivated to create new content 👌👍
@rizkyqidonk1617
@rizkyqidonk1617 2 жыл бұрын
Thank you for the tutorial, keep the good work :D
@StevdzaSan
@StevdzaSan 2 жыл бұрын
Thank you! 👌
@hadjsaidaoumer3058
@hadjsaidaoumer3058 5 ай бұрын
Thank yooooooooooou the best one 👌👌👌👌👌👌👌👌👌👌
@alij3fer
@alij3fer 2 жыл бұрын
Thank you ❤️
@attamuhammad68
@attamuhammad68 8 ай бұрын
Greate Sir Thank you Very much.
@seanaquillaemmanuel6257
@seanaquillaemmanuel6257 2 жыл бұрын
Thank you 😁
@tanaygupta6905
@tanaygupta6905 2 жыл бұрын
Please upload a video regarding navigation rail
@steinbeats
@steinbeats Жыл бұрын
Could you apply the gradient to the circular progress bar?
@muratcay3447
@muratcay3447 2 жыл бұрын
Could you please turn on the subtitles in your videos?
@TheDeeStain
@TheDeeStain 2 жыл бұрын
Are we able to do something similar to this for Icons/Images. For example I'm doing a dribble weather design implementation with compose and they have gradient clouds and moon/sun. I went into the SVG xml and sorta added a gradient but are we able to do this for that scenario as well?
@StevdzaSan
@StevdzaSan 2 жыл бұрын
A better approach is to just edit/modify your SVG file with some of the vector graphic softwares like Adobe Illustrator or Xd.
@TheDeeStain
@TheDeeStain 2 жыл бұрын
@@StevdzaSan I literally was thinking this when I was going to sleep lmao Genius I used a free tool called photopea thanks!
@bboydarknesz
@bboydarknesz 2 жыл бұрын
I having difficult converting css gradient that have degree to jetpack compose. Any idea how? thank you sir
@riyabaranwal6267
@riyabaranwal6267 5 күн бұрын
Just wanted to ask how to remember different composable , functions etc.. , everytime I have to open my previous code to look for the same ,can anybody please help me
@itszechs
@itszechs 2 жыл бұрын
you should try Philipp Lackner like webcam setup with green screen and all
@StevdzaSan
@StevdzaSan 2 жыл бұрын
I actually don't like green screen that much. Feels better this way. :)
@rahathossainhimel7177
@rahathossainhimel7177 2 жыл бұрын
Will you start new course with Jetpack Compose for KZbin?
@StevdzaSan
@StevdzaSan 2 жыл бұрын
I'm currently working on a new Jetpack Compose course where I'm going to teach you how to create an Android application fully in Jetpack Compose. Follow my Instagram and KZbin stories, I'm posting my progress there.
@MahbuburRahman-uc7np
@MahbuburRahman-uc7np 2 жыл бұрын
Please make a full app with state management and backend call to firebase some free http. Everyone is making tutorial just on compose not on whole app architecture and how to manage state.
@bboydarknesz
@bboydarknesz 2 жыл бұрын
LOL that import bug still appear 2:15 Anyway have you find out way to change height and the contentpadding of textinputfield() ? Don't tell me if I have to use BasicTextField :'((
@StevdzaSan
@StevdzaSan 2 жыл бұрын
You have the link to the source code in this video description. So you can check out the imports 👍
@janeshwar9140
@janeshwar9140 2 жыл бұрын
Make a code editor app
@abada-s
@abada-s 2 жыл бұрын
Can I use Preview annotation on every composable function?
@StevdzaSan
@StevdzaSan 2 жыл бұрын
Yes, but you need to make sure that you can satisfy all its parameters on the spot.
@abada-s
@abada-s 2 жыл бұрын
@@StevdzaSan thank you , I got it 🌷
@devildevil873
@devildevil873 2 жыл бұрын
Sir I have one doubt I can't explain it by writing I have to send the screen recording so how can I contact u so that u can help me 😭😭🙏🙏🙏🙏plz help me sir bcz.. it's my project and I got stuck in this problem
@smaig5196
@smaig5196 Жыл бұрын
gays if you heve problem when you wrate backgroundcolor and you have ERROR use my solution val buttonColors by remember { mutableStateOf(Color.Green) } Box( modifier = Modifier.fillMaxSize() ) { Button( colors = ButtonDefaults.buttonColors( buttonColors ),
@aminelhag
@aminelhag 2 жыл бұрын
Thank to You Stevdza-san ( ノ ゚ー゚)ノ Keep Going
@Hoti-ta
@Hoti-ta 2 жыл бұрын
Nice video, I'll just give you little advice what would be for me more comfortable to watch, unless you are editing videos, don't show us mistakes if its not done for purpose, beside that good job keep it going. : ))
@StevdzaSan
@StevdzaSan 2 жыл бұрын
Thank you for your suggestion. 🙏 But sometimes it's useful to see how someone is making a mistake, because you can learn from it. 👊
@bboydarknesz
@bboydarknesz 2 жыл бұрын
@@StevdzaSan Yes, I totally agree with you, we love to see mistakes for our best practise. But of course you should put the solution too like this video. right?
@StevdzaSan
@StevdzaSan 2 жыл бұрын
@@bboydarknesz On which mistake you are actually referring to? 🤔
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 75 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 118 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 161 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 75 МЛН