Styling Text - Android Jetpack Compose - Part 5

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 79

  • @hadjsaidaoumer3058
    @hadjsaidaoumer3058 9 днів тому +1

    Thanks Philipp 🥰 , You are the best teacher 🙏

  • @randypenajimenez3893
    @randypenajimenez3893 3 роки тому +22

    Jetpack compose will make android developers life happier.

  • @IsraelAnibal
    @IsraelAnibal 3 роки тому +29

    As a dev with experience using Flutter I really find jetpack compose very easy to use

    • @D3M0320
      @D3M0320 3 роки тому +2

      I was just about to say it seems VERY similar to flutter syntax

    • @BoxingHacker
      @BoxingHacker 11 місяців тому

      Which one do you guys like more

    • @hidayatramadhanisupriyatna876
      @hidayatramadhanisupriyatna876 4 місяці тому

      I had learned flutter for 6 months, but suddenly got news that Android native released jetpack compose which is conceptually similar to flutter.
      Since then, I thought for a long time whether to continue learning flutter or not, until finally I switched to native with various considerations:
      1. I don't use a macbook, so why learn flutter?
      2. I want to explore more about android
      3. With native, the application is able to be smoother and the size is not too big.

  • @code-with-vivek
    @code-with-vivek 10 місяців тому

    Great way of teaching Philipp. I earlier tried a training video on Oreilly learning and was stuck up with outdated code. I applaud you for instructions and code which is updated and works smooth without any hassles.

  • @The-Way-of-Life.
    @The-Way-of-Life. 2 роки тому +16

    Я - обычный студент из России. Хочу выразить огромную благодарность за твои ролики. Ты лучший из всех на ютубе, кто преподает действительно с нуля. Спасибо тебе! :)

  • @LightDante
    @LightDante 2 роки тому +2

    The final effect is just amazing as this video.

  • @MrSaylica
    @MrSaylica 3 роки тому +1

    Thank you Philipp for this. At first I was skeptical about Jetpack Compose but after trying out I think I am falling in love with it.

  • @sokrates297
    @sokrates297 3 роки тому +6

    Thank you for the great videos, I'm glad you stuck to Android dev, as I'm currently doing it for college. Exams started today actually. We're not using jetpack, but I'm more into it than the traditional development with xml and kotlin, as it reminds me more of development with js / react than xml did compared to html and js.
    Looking forward to learn more from you, keep at it 💜

  • @halimabdul9198
    @halimabdul9198 Рік тому

    thank you philip your tutorial is awesome, i decide to follow all your tutorial

  • @chuka_obi5167
    @chuka_obi5167 3 роки тому +2

    Thanks for the tutorial Philipp!I think the new textDecoration is really cool. I used to use layered drawables to achieve the same result, now, it can be done with just one line of text.

    • @rahulmatte6621
      @rahulmatte6621 3 роки тому

      Example please 🙏🏻

    • @chuka_obi5167
      @chuka_obi5167 3 роки тому

      Within the Text overidden function Text(), add the property textDecoration = TextDecoration.LineThrough. Check this video at minute 6:20

  • @JoãoAzeredo-x2i
    @JoãoAzeredo-x2i 6 місяців тому +1

    Now we define fontFamily with style:
    style = TextStyle(
    fontFamily = fontFamily,
    fontWeight = FontWeight.Light,
    )
    obs: 3y later its still the best compose course

  • @MrGiane
    @MrGiane Місяць тому

    Is it still worth to use jetpack to create android apps. What is the best use cases for use jetpack instead of other technologies

  • @shadownet3960
    @shadownet3960 Рік тому

    Plz I have a question do we write jetpack compose inline with our functionality. Like I mean design and implement it's function

  • @doroparker6470
    @doroparker6470 10 місяців тому

    Ever since downloading the google fonts and copying them into the project - as shown in the video - Android Studio does not work properly anymore. It keeps closing my project automatically, especially when I switch from AS to another program or browser. Anyone else having this problem? I already uninstalled and reinstalled AS twice, updated AS, worked on all issues listed under 'Problems' in my project.

  • @mohammadaminmardasi1129
    @mohammadaminmardasi1129 Рік тому +1

    i have a question about setting the font family list.
    you set a list of fonts to Text , which one it will use?

  • @Mikes-Code
    @Mikes-Code 2 роки тому

    In the previous video you placed the text style (color, size) in a TextStyle block, in this video you did not.
    What is the use of TextStyle?

  • @talhashaikh1435
    @talhashaikh1435 3 роки тому +3

    R.font is not working ...font directory is not detected in my arctic fox 2020.3.1 why ?

    • @rnnfranca
      @rnnfranca 3 роки тому +3

      Make sure the font name is separated with an underscore and not a dash

    • @DigitFalconer
      @DigitFalconer 2 роки тому

      @@rnnfranca Won't help, it seems the ve made changes, font part of the video is no longer up to date with the new changes

    • @arianaarifaj7263
      @arianaarifaj7263 2 роки тому +3

      @@DigitFalconer except replacing dash with underscore, change the letters from uppercase to lowercase and it will work

    • @albertofreddo2249
      @albertofreddo2249 3 місяці тому

      @@arianaarifaj7263 Thanks, now it works :)

  • @ayasaeed2944
    @ayasaeed2944 2 роки тому

    I need to add icon as drawabe start with the Text how to do that?

  • @andrewdunbar828
    @andrewdunbar828 Рік тому

    Is it OK to hard-code font sizes? If so, only with .sp?

  • @SatishKanaujiyaeb
    @SatishKanaujiyaeb 2 роки тому

    Thanks for a great tutorials Philip. Just a quick question how can we make withstyle clickable

  • @prakharagarwal6237
    @prakharagarwal6237 3 роки тому

    Super Helpfull! Thank You!

  • @MaulikDodiaHollywoodMovieLover
    @MaulikDodiaHollywoodMovieLover 3 роки тому +1

    You downloaded all font family. By default which font will get apply? You have defined all the variants of fonts in the builder.

    • @PhilippLackner
      @PhilippLackner  3 роки тому +3

      By default the font you defined as normal

    • @okhalil28
      @okhalil28 Рік тому

      @@PhilippLackner So when I want to add a specific font, I adopt this method, that is, I download all the fonts, and by default it chooses the appropriate font?

    • @charleslyell3748
      @charleslyell3748 4 місяці тому

      @@okhalil28 fontWeight parameter defines your font among the chosen family.

  • @mystride
    @mystride 2 роки тому

    Can't see font folder after paste. You are demonstrating something not visible on the screen.

  • @gtry-bq5mw
    @gtry-bq5mw 3 роки тому

    How to use typography when styling the text?

  • @JamesBond-mq7pd
    @JamesBond-mq7pd 3 роки тому

    8:23 for mac OS :
    OPTION + COMMAND + L

  • @shumakmanohar2078
    @shumakmanohar2078 3 роки тому

    Can u do vid on , MVVM ( Room Database) with jetpack compose , and also about Themeing in jetpack compose !!
    Thank You

  • @re_allyedge
    @re_allyedge 3 роки тому +5

    Google... Why did you wait for me to switch to add these kinda stuff 😤😤😤

  • @kuntito
    @kuntito 2 роки тому

    Anyone know how to make the color of the `TextDecoration.LineThrough` different from the text color?

    • @carlosmspk
      @carlosmspk 2 роки тому

      I doubt that's possible. It'd be the same as changing bold or italics color

  • @CosmoVision1
    @CosmoVision1 Рік тому

    thank you

  • @LucasAlfare
    @LucasAlfare 3 роки тому

    Is possible to change the Font Family only in a specific withStyle() call?

  • @chaitanyagopinadh6764
    @chaitanyagopinadh6764 3 роки тому

    Hi i have one doubt ,
    Is there any attribute for drawable right for textview in jetback compose

  • @UserBkj
    @UserBkj 3 роки тому

    Awesome

  • @РоманТолстиков-н4е

    Hi, thank you for your lessons! But do you have lessons with dataBinding and how to implement it in your app? I think it is important theme, especially with MVVM and Retrofit

    • @PhilippLackner
      @PhilippLackner  3 роки тому +2

      Don't have a video about that as I'm not a fan of data binding

    • @КонстантинЪЪЪ
      @КонстантинЪЪЪ 3 роки тому

      с выходом композа, датабиндинг выглядит костылем)))

    • @xaviersoh
      @xaviersoh 3 роки тому

      @@PhilippLackner Me too

    • @xaviersoh
      @xaviersoh 3 роки тому

      @@КонстантинЪЪЪ 😂😂😂 of course

  • @funnymoment9164
    @funnymoment9164 3 роки тому

    Thanks

  • @potrebitel2008
    @potrebitel2008 3 роки тому

    Very good tutorials Philipp, thank you!
    Actually textAlign = TextAlign.Center doesn't center your text as expected, why?

    • @PhilippLackner
      @PhilippLackner  3 роки тому +1

      TextAlign.Center centers the text within the bounds of the text, not within the container the text composable is in

  • @WiiHack
    @WiiHack 3 роки тому

    Thank you :)

  • @alfian3570
    @alfian3570 3 роки тому +1

    nice

  • @stefanosgiannakis7151
    @stefanosgiannakis7151 3 роки тому

    Thx

  • @dmytromarchuk3023
    @dmytromarchuk3023 3 роки тому

    Styling text made easy

  • @imnithish
    @imnithish 3 роки тому

    dope

  • @congdanhtruong433
    @congdanhtruong433 3 роки тому

    Will Jetpack Compose become the future of Android?

    • @PhilippLackner
      @PhilippLackner  3 роки тому +6

      I think it becomes the prioritized option for UI design but XML will stay a valid option for many (at least for the next 2-3 years)

  • @AntonioGonzalezsanchez
    @AntonioGonzalezsanchez 2 роки тому

    Comment below

  • @dominick253
    @dominick253 11 місяців тому +1

    I might be retarded but I just spent in half hour trying to make text 32 size and I failed. 😂😂😂 I made the same app a year ago and I just wanted to remake it for several reasons fun to redo it and fix bugs and because I lost the key to the original app. I must be dumb I must be missing something it cannot be this hard to make text a different size. 😂😂😂

  • @JokerZipon
    @JokerZipon 3 роки тому

    Спасибо, за разборы compose with android

  • @somith16
    @somith16 3 роки тому

    Hello h ow r u sir?

  • @denisk3852
    @denisk3852 3 роки тому +1

    Smth like SwiftUI

  • @tharoseth8064
    @tharoseth8064 3 роки тому

    Thanks man

  • @mohammadamirkanjoori138
    @mohammadamirkanjoori138 2 роки тому

    nice