Styling Text - Android Jetpack Compose - Part 5

Поделиться
HTML-код
  • Опубликовано: 17 дек 2024

Комментарии • 78

  • @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.

  • @The-Way-of-Life.
    @The-Way-of-Life. 2 года назад +16

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

  • @LightDante
    @LightDante 2 года назад +2

    The final effect is just amazing as this video.

  • @code-with-vivek
    @code-with-vivek 9 месяцев назад

    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.

  • @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 💜

  • @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

  • @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

  • @JamesBond-mq7pd
    @JamesBond-mq7pd 3 года назад

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

  • @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!

  • @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?

  • @MrGiane
    @MrGiane 28 дней назад

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

  • @re_allyedge
    @re_allyedge 3 года назад +5

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

  • @shumakmanohar2078
    @shumakmanohar2078 3 года назад

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

  • @doroparker6470
    @doroparker6470 9 месяцев назад

    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.

  • @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 2 месяца назад

      @@arianaarifaj7263 Thanks, now it works :)

  • @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.

  • @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

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

    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

  • @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?

  • @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?

  • @alfian3570
    @alfian3570 3 года назад +1

    nice

  • @gtry-bq5mw
    @gtry-bq5mw 3 года назад

    How to use typography when styling the text?

  • @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

  • @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

  • @mystride
    @mystride 2 года назад

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

  • @UserBkj
    @UserBkj 3 года назад

    Awesome

  • @LucasAlfare
    @LucasAlfare 3 года назад

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

  • @dmytromarchuk3023
    @dmytromarchuk3023 3 года назад

    Styling text made easy

  • @chaitanyagopinadh6764
    @chaitanyagopinadh6764 3 года назад

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

  • @CosmoVision1
    @CosmoVision1 Год назад

    thank you

  • @funnymoment9164
    @funnymoment9164 3 года назад

    Thanks

  • @WiiHack
    @WiiHack 3 года назад

    Thank you :)

  • @stefanosgiannakis7151
    @stefanosgiannakis7151 3 года назад

    Thx

  • @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 10 месяцев назад +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