How to make a calculator in Android Studio 2020 | Part 2

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

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

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

    Fucking love your channel. This is the first channel that sintesizes the information you need and goes straight to the point. If I could subscribe twice i'd do it. Keep going. You're gold, man.

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

      Thanks! Probably one of the best comments I've read

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

      @@PracticalCoding Hey!
      Would you please share the drawable/ic_input_delete file as I'm unable to set backspace key on button due to large size image !!!
      It doesn't show the round corners on backspace button,which I've made.
      Hope, You get my point.
      Share it ASAP,as I have to submit this assignment on Monday.
      Otherwise everything works fine!

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

      @@sukanyabanerjee1666 Hey you can check my GitHub page from the vector image if you want. here's the link
      github.com/Practical-Coding3/calculatorApp

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

      @@PracticalCoding
      I couldn't find it,as I checked previously also.

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

      ​@@sukanyabanerjee1666 The drawable file that we created should be there. here's the link to it
      github.com/Practical-Coding3/calculatorApp/blob/master/app/src/main/res/drawable/backspace.xml
      And for the vector image, Android Studio could have changed what it looks like or even the name. There's nothing I can really do about that if they did. There should be other vectors you could choose from. Or worst comes to worst you could always make one

  • @naraksama3903
    @naraksama3903 2 года назад +1

    Strg + Shift + Alt + J for multiple cursors at same selections really comes in handy in this tutorial.

  • @yagnakusumanchi7346
    @yagnakusumanchi7346 3 года назад +6

    Thankyou so much this is my first app ❤️

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

      That's Great! Glad I could help you make your first app!

  • @ingyukoh
    @ingyukoh 2 года назад +1

    Excellent tutorial explaining the steps in continuous improvement with "why". I learned layout really well from this lecture.

  • @enriquellerena4779
    @enriquellerena4779 3 года назад +2

    You can also control click all the buttons and change the button attributes at once by searching with the attribute name

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

      Good to know. I had no idea that was even a thing. I'll have to try it out

  • @sabailyas9639
    @sabailyas9639 4 года назад +3

    It's too good to learn...thank u

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

    hi, i used the same color you did for the background. but after that i went to change the color, but it does not change the color in activity_main.xml. i delelted the circle.xml, and deleted all the lines under button, then again created the new circle.xml, and added the new lines to all the buttons, but it still takes the old color, which seems to be stuck in its memory. how to change to color of the background?

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

      the backspace button takes the updated color, but the buttons in the table remain old color

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

      Same problem, how to solve it!!?

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

      I found that buttons just taking primary color defined in themes.xml. Maybe is there a way to override the primary color, but I don't know how to do it. Any suggestions? Or probably I can define my own style for each button in themes.xml, but I don't know how to do it either.
      Edit: I know this comment is old.

    • @GamesCourier
      @GamesCourier 2 года назад +1

      Hi, a bit late, but I found a solution to it when googling "android studio backgroundtint not working" the trick is to rename your "

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

      ​@@GamesCourier It was just in the refreshed video that this was discussed. It's here: ruclips.net/video/1ssYYy8Li48/видео.html

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

    Hello, thank you for your lessons. They were very useful.
    However, i am not able to receive identical application. Text not visible on buttons. I am trying to attach image to this post, but it doesn't allow. i am asking for help, but cannot find any different communication

  • @Dark-bj3xo
    @Dark-bj3xo 2 года назад

    When I use backgroundTint it doesn't update my preview. Also gives me a problem when running it

  • @AKSS_-bq1wi
    @AKSS_-bq1wi 2 года назад +3

    Hi, thanks for your helpful videos. I did try the same colour code #26328 but I got purple colour 🟣 and then i change the colours of clear and equal to red and green but still purple colour the code shows red dot and on the other green dot on front of the code. I don't know if the problem from the table layout or what. Because the colour work on backspace BTN only.

    • @alianaxelcrooc4982
      @alianaxelcrooc4982 2 года назад +1

      it's because the primary colors are set to purple. you can change it in the themes.xml

    • @joannalfante6016
      @joannalfante6016 2 года назад +1

      @@alianaxelcrooc4982 hey, do you know how to change this specifically? I have the same issue

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

    Hello, please enter your code in one wordfile...It's will be very useful for us..

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

    Hello, is it possible to use an image in every buttons? Like background image or something?, I have a laboratory exercise that we need to build a calculator in android studio, i havent use android studio yet but theres a criteria on the design, so i think i should exel more on the design since most of us will share the source code.

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

      Yeah, you can use different types of buttons and apply different backgrounds to them

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

    please make video on music player and gallery app

  • @jackseitz8100
    @jackseitz8100 4 года назад +2

    @PracticalCoding I have been tasked with making an app for my coding class, and this is my first time using android studio. Your video has been awesome to help with that. My question is: When I reference "@drawing/circle", nothing changes with my buttons, and if I hover over it, it says "Empty Statelist". Is this something that can be fixed, or can I just ignore it and assume the buttons will change when the code actually runs? Thanks a lot!

    • @jackseitz8100
      @jackseitz8100 4 года назад +1

      @@PracticalCoding I do have the code you sent at the top of my activity_main.xml file. Here's the code for one of my butons:
      android:id="@+id/clearBTN"
      style="@style/Widget.AppCompat.Button.Borderless"
      android:layout_width="0dp"
      android:layout_height="wrap_content"
      android:layout_weight="1"
      android:text="@string/clear"
      android:background="@drawable/circle"
      android:textColor="#FFFFFF"
      android:layout_margin="5dp"
      android:textSize="24sp"
      android:backgroundTint="#DD2C00"/>
      and here's the code for the circle.xml file:






      also, if this information helps: my buttons started out as purple rectangles with slightly curved edges, rather than just the plain white that yours did. I just ignored that originally thinking it would just go away after the code, but they're still the purple even when I @drawing/circle (hence the problem). The only button that has changed to the navy blue/proper shape has been the delete button. Not sure if that information helps at all. Thanks for responding!

    • @jackseitz8100
      @jackseitz8100 4 года назад

      @@PracticalCoding I tried rebuilding the project but the buttons are still the same. I actually am having difficulties even running the phone emulator, but I think that may be an issue with my computer more than the code and I'm looking into it. I'm kind of running out of things to try even after doing my own research, so if we could maybe try the GitHub thing that would be awesome, thanks

    • @jackseitz8100
      @jackseitz8100 4 года назад

      @@PracticalCoding Sorry it took some time for me to actually upload it to Github, it's there now. I shared the repository with you, my username is: jackseitz
      I actually finished the videos in this series so the entire code from the calculator should be there. If you could just take a look at your earliest convenience, I would really appreciate it!
      By the way, your videos in the series were super easy to understand and super helpful. Keep up the great work.

    • @jackseitz8100
      @jackseitz8100 4 года назад

      @@PracticalCoding Thanks a lot for taking a look at it. I'm really sorry but I'm not exactly sure what you mean by looking at the comment... This is my first time using GitHub so I don't know all the vocabulary yet, or if it's something to do with the code. Sorry thanks!

    • @jackseitz8100
      @jackseitz8100 4 года назад

      @@PracticalCoding Ohh okay, I didn't even realize that. Thanks. And sounds good, I really appreciate all the help. Looking forward to hearing how it runs on yours.

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

    Hpw to mace calculator sound when press

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

    my buttons have other constant color when i am trying to change it by background and backgroundTint, but backspace color changing, how can i fix it ?

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

      same

    • @PracticalCoding
      @PracticalCoding  3 года назад +2

      @@CleanyBeats Hey when I made this video series, Android Studio wasn't using Material Design as the default theme for the views. What you'll have to do is go into your themes folder (the light and night themes) and change the parent attribute to
      Theme.AppCompat.Light.NoActionBar
      And you should be good to go. Let me know if you're still running into any issues once you change that
      If you're having trouble with anything, you can always join this channel's Discord server to get help too. Here's the link if you wanna check it out
      discord.gg/H2P89STbaS

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

      @@PracticalCoding thanks a lot, it works 🦾

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

      @@a123etvs Good to hear!

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

      @@a123etvs hello can u tell me how did u do it I have the same problem

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

    Button background not changing bro plz help

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

    I love the series so far but I have a problem. When I try to change the color of the background nothing happens. When I look at the attributes it says that it has the backgroundcolor but it doesn't show it. I hope you get what I try to say and that you can help me.

    • @PracticalCoding
      @PracticalCoding  3 года назад +3

      You're probably using the newest version of Android Studio. When I made this series, I was using an older version. They changed a few of the defaults around for their views so that's why it's not changing the background as you'd expect.
      There are two things you can do about this though. I'd recommend taking a look at the updated series I made last month. The video quality is infinitely better and I used the newest version of Android Studio. Here's the link to the playlist if you want to swap over to the newer series:
      ruclips.net/p/PLcSIMAULmMycI309W6uMMaQX1ePy8_1iV
      If you want to keep plugging away with this series, all you'd have to do is go into your themes folder and open up both the default them and the night them XML files. In both of those files, you should see a "style" tag with a parent attribute. You need to set the parent attribute equal to this:
      Theme.AppCompat.Light.NoActionBar
      Hope that helps!

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

      @@PracticalCoding Thanks for answer . It worked for me !

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

      @@salabis Sweet. Good stuff

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

      @@salabis oh did it now??!!?!

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

      @@PracticalCoding doing this changed all my other buttons to black

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

    🙏thank u so much

  • @historiapaul5288
    @historiapaul5288 4 года назад

    Why is my button background did not change even though I did as you said? can you help me with this problem?

    • @PracticalCoding
      @PracticalCoding  4 года назад

      You know sometimes weird stuff like this happens. Can you put the code you're using for both the button and the drawable resource file in a comment so I can take a look at what you have?

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

    Hi
    The backgroundTint attribute does not change the color of the clear and equal buttons for me. They still have the blue color we defined in our circle.xml file. Can you please help?

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

      I saw that you made it to the end of the video series. Did you end up getting this problem worked out = or do you still need help?

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

    12:49
    When I uploaded the program to the drive and downloaded it to my mobile, all the buttons did not appear, how do I solve it?

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

      Did you ask this in the Discord channel yesterday? I only ask because someone had the same issue last night.

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

      @@PracticalCoding one minute I'll enter it .

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

      @@PracticalCoding link has expired give another plz

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

      @@3uz discord.gg/H2P89STbaS

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

      @@3uz This one doesn't work anymore

  • @azuapps6696
    @azuapps6696 4 года назад +1

    Hey. I'm green in xml. When I tried to run the application it gave me an error that strings.xml has a bad end. Finally, I have Enter in a value

    • @azuapps6696
      @azuapps6696 4 года назад

      @Practical Coding

    • @azuapps6696
      @azuapps6696 4 года назад

      @@PracticalCoding Thanks!
      Indeed I forgot to close the resources tag. Now everything is fine. It's a pity that so few people are watching you.

    • @PracticalCoding
      @PracticalCoding  4 года назад

      Just adding this comment back. I changed to a brand account and for some reason all of my comments are gone
      At a quick glance, that line of code that defines the displays string looks fine. What I would do is take a look at the other strings you defined and make sure that the other string tags don't have any typos in them. Also, make sure that the "resources" tag is closed. Let me know if that helps.

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

    Nice

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

    what is your themes.xml file look like?

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

      When I made this video, I hadn't updated Android Studio yet so I didn't have a themes folder. I made a newer calculator series that has the themes folder if you want to watch that series instead
      here's the link
      ruclips.net/video/1ssYYy8Li48/видео.html

  • @udemycourses725
    @udemycourses725 4 года назад +1

    When I tried changing colours to red, green and dark blue, it is always purple. Why is that? Thank you for making this video. :)

    • @udemycourses725
      @udemycourses725 4 года назад

      Btw when I remove the line which makes the shape as the background, the colour red appears though the button becomes squarish again. Do you think this is a layer issue?

    • @udemycourses725
      @udemycourses725 4 года назад

      @@PracticalCoding I fixed the issue which colours cannot be displayed by changing the buttons to image buttons. Though after changing it to image buttons, all the text are now not visible.

    • @udemycourses725
      @udemycourses725 4 года назад

      @@PracticalCoding You are right. Perhaps I shouldn't worry about the colours anymore.

    • @udemycourses725
      @udemycourses725 4 года назад

      @@PracticalCoding pastebin.com/SXAifkVy
      Sorry I can't paste it into a comment as the format does not permit me to send the message.

    • @PracticalCoding
      @PracticalCoding  4 года назад

      @Udemy Courses Can you put the code you're using for one of the buttons and the code for the shape of the buttons in a comment so I can take a look at it?

  • @snisher
    @snisher 4 года назад

    my color back ground dose not changes can some on help me ?

    • @PracticalCoding
      @PracticalCoding  4 года назад

      Yeah, I can help you work through the problem. What version of android studio do you currently have?

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

    I have a problem when I want to open the phone. I can wait for hours and the phone is still gonna be black. I press on the power button but its not working. Do you know how to solve it?

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

      Are you getting any error messages in the LogCat?

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

    I cannot find the styles.xml file. Despite making the circle.xml file, I am not getting the round buttons. Can someone pls help me here?

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

      Hey! The problem is likely because you're using the newest version of android. When I made this, Material Design wasn't the default theme. I actually made a new calculator series to make up for the update. Here's the link if you'd rather just watch that video series instead
      ruclips.net/p/PLcSIMAULmMycI309W6uMMaQX1ePy8_1iV
      If you want to keep plugging away with this series, all you'd have to do is go into your themes folder and open up both the default theme and the night theme XML files. In both of those files, you should see a "style" tag with a parent attribute. You need to set the parent attribute equal to this:
      Theme.AppCompat.Light.NoActionBar
      Hope that helps!

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

    While running it's showing error in values.xml so please help to solve that

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

      Hey! Yeah, I'd be happy to help you out. Is there any way you could possibly join this channel's Discord server and post your question in the Android Studio channel? It's just easier to solve problems when you can send pictures and videos of what's going on.
      Here's the link:
      discord.gg/H2P89STbaS

  • @godwillmonthe995
    @godwillmonthe995 4 года назад +1

    the background color of my buttons and the background tint do not take effect they took the theme color

    • @godwillmonthe995
      @godwillmonthe995 4 года назад

      i managed to fix it, nevermind

    • @godwillmonthe995
      @godwillmonthe995 4 года назад

      @@PracticalCoding I am using jdk 14 but the mathparser only works upto jdk 13, what do you recommend that i do?

    • @sergioferrergimeno124
      @sergioferrergimeno124 4 года назад +1

      Hey!, I´m facing the same issue, how did you manage to fix it? I see that the color in all my buttons is the one defined as primary color in the themes.xml, like if the button was unable to override that configuration.
      Example of the code of my buttons:

    • @godwillmonthe995
      @godwillmonthe995 4 года назад +3

      @@sergioferrergimeno124 change the buttons from to

    • @sergioferrergimeno124
      @sergioferrergimeno124 4 года назад +1

      @@godwillmonthe995 Omg it worked, don´t know how many things I tried haha. Thanks! :)

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

    So i did everything u said and the background on the buttons is not working.
    i have the latest android studio version and the code i used in @drawable/circle was




    Could you help me out?

    • @PracticalCoding
      @PracticalCoding  3 года назад +2

      So Android Studio updated to a new version not too long ago which changed a few of the defaults when creating a new project. One of the changes affects the way that we change the background of our buttons. What you need to do is go into your themes folder. Open both the default them along with the night theme. There should be a style tag with a parent attribute. You need to change that attribute to
      Theme.AppCompat.Light.NoActionBar
      I started a new calculator series to account for the update. If you want to check out what I've posted so far, just follow this link:
      ruclips.net/video/1ssYYy8Li48/видео.html

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

      @@PracticalCoding it worked, but it has an issue still.
      when i started the app on my phone the colors were purple because i have dark mode activated, but once i turned it off the button were back to the colors they were supposed to be

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

      @@imdm Did you change both the normal and night them XML files? You should have modified the parent attribute in both files.

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

      @@PracticalCoding yes it worked! Thank you

  • @aashutoshkulakarni9614
    @aashutoshkulakarni9614 4 года назад

    @PracticalCoding i cant get the emulator to work im not sure why

    • @immortalmonsterhybrid975
      @immortalmonsterhybrid975 4 года назад

      that used to be an issue for me with windows home i couldnt but the went windows pro after that it helped.

    • @PracticalCoding
      @PracticalCoding  4 года назад

      That's weird. I would make sure that you have an emulator installed and that one is selected in the dropdown where you pick the device you want to run your app on. Should be next to the play button.
      I also made a video on getting an emulator setup if you want to check it out. I think it's like 3 minutes. Here's the link if you wanna check it out:
      ruclips.net/video/HpK9DPRoorM/видео.html
      Let me know if you still can't get it to work after watching that video.

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

    Still having troubles getting it borderless most everything else is working

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

      Hey, I'm not which reply you're gonna see first but one thing I would try to do is modifying the two theme XML files. If you open them both up, you should see a style tag in both the day and night themes. In those tags, there's a parent attribute. I would change it to the following
      Theme.AppCompat.Light.NoActionBar
      If that doesn't work, you can always check out the new calculator series. Right now only one video is out but I updated Android Studio to 4.1 for the video.
      Let me know if that helps!

  • @earlkevin6228
    @earlkevin6228 4 года назад

    Got an error or message in my circle.xml "Element Solid is not allowed here"

    • @PracticalCoding
      @PracticalCoding  4 года назад

      Can you put the code you're using in your circle.xml file so I can take a look at it?

    • @earlkevin6228
      @earlkevin6228 4 года назад

      @@PracticalCoding Thanks for fast reply. What my real problem is in the later part of the tutorial String result = String.valueOf(exp.calculate()); got an red error on calculate, the error says " cannot resolve method 'calculate' in 'Exception'. But I think the was the JDK. Thou I was able to download and install JDK version 8 and did update the JDK location in Project structure. Of course right after putting the new library (mathparser) and put the import for it. Any clue how to fix it?

    • @PracticalCoding
      @PracticalCoding  4 года назад

      @@earlkevin6228 I'm just making sure that I understand what's going on. Android Studio is telling you that it doesn't recognize the calculate method even after you imported mXparser?

    • @earlkevin6228
      @earlkevin6228 4 года назад

      @@PracticalCoding yep. After i imported it. It has grey highlight to it.

    • @PracticalCoding
      @PracticalCoding  4 года назад

      @@earlkevin6228 Can you put the code in the equals button method in a comment so I can take a look at it? If there's not a problem with the code I think I'm going to have you try and reinstall the library again because if the JDK matches the one you have installed on your computer it should be fine

  • @sharath5090
    @sharath5090 4 года назад

    Backspace button not working

    • @PracticalCoding
      @PracticalCoding  4 года назад

      Can you tell me a little bit more about what's happening? Is it not erasing the correct characters, is it clearing the screen, or is it just not erasing anything? And can you copy and paste the code you're using into the comment so I can take a look at it?

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

    Sir can you give me all codes for diffrent color
    pls

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

      Here you go
      Red: #DD2C00
      Green: #43A047
      Dark Blue: #263238

  • @azuapps6696
    @azuapps6696 4 года назад

    @Practical Coding

  • @kiwifly1956
    @kiwifly1956 4 года назад

    When I tried to add the input_delete icon I got the error: AAPT: error: not well-formed (invalid token).
    code:

    • @kiwifly1956
      @kiwifly1956 4 года назад

      @@PracticalCoding after pasting this code into the backspace.xml file I get an error:
      AAPT: error: "TODO" does not match the inputType (attr) attribute flags [data = 20, datetime = 4, none = 0, number = 2, numberDecimal = 8194 , numberPassword = 18, numberSigned = 4098, phone = 3, text = 1, textAutoComplete = 65537, textAutoCorrect = 32769, textCapCharacters = 4097, textCapSentences = 16385, textCapWords = 8193, textEmailAddress = 33, textEmailSubject = 49, textFiltermeme = 177, textFilterme = 177 = 262145, textLongMessage = 81, textMultiLine = 131073, textNoSuggestions = 524289, textPassword = 129, textPersonName = 97, textPhonetic = 193, textPostalAddress = 113, textShortMessage = 65, textUri = 17, textVisiblePersonetic = 129, textPersonetic = 97 = 193, textPostalAddress = 113, textShortMessage = 65, textUri = 17, textVisiblePebassEword = 145Webdress = 161, textWebdress = 145Webdress = 161, textWebPassword = 225, time = 36].

    • @kiwifly1956
      @kiwifly1956 4 года назад

      @@PracticalCoding What is your github username?

    • @kiwifly1956
      @kiwifly1956 4 года назад

      @@PracticalCoding I invited you to a project on github.

    • @kiwifly1956
      @kiwifly1956 4 года назад

      @@PracticalCoding shows me that the invitation to the github repository is still not received

    • @kiwifly1956
      @kiwifly1956 4 года назад

      @@PracticalCoding I sent the invitation again.

  • @abbySTAD
    @abbySTAD 4 года назад

    When I reference “@drawable/circle” nothing happens to my button

    • @abbySTAD
      @abbySTAD 4 года назад

      And when I add the text color the box turns Grey and says “Button”

    • @abbySTAD
      @abbySTAD 4 года назад

      @@PracticalCoding

    • @udemycourses725
      @udemycourses725 4 года назад

      @@PracticalCoding the colours stay purple even after cleaning and rebuilding the system. Do you know what is wrong? :)

    • @udemycourses725
      @udemycourses725 4 года назад

      ​@@PracticalCoding Here. I am quite confused as I followed each step on your videos correctly. It could be a version mismatch. streamable.com/qu072z

    • @abbySTAD
      @abbySTAD 4 года назад

      @@PracticalCoding hi nothing changed but I still got my calculator to look nice. Now I’m having issues putting it on the little phone. I’m still on this tutorial. When I tell it to run on the phone it doesn’t appear :(

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

    İ don’t have style in android

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

      Hey so that most likely means that you're using the latest version of Android Studio. In one of the past updates they changed a few things around. One of the things they changed was replacing the styles.xml file with a folder called themes. This folder should have two xml files in it: one for a light theme and one for a night theme. In this series I don't think I ever add anything to the styles folder, but one thing you will have to do is change the parent attribute for each style tag in the xml files contained in your themes folder to the following
      Theme.AppCompat.Light.NoActionBar
      If you're not 100% sure on how to do that, you can check out my new updated calculator series which will how you how. Here's the link if you wanna watch that one instead
      ruclips.net/video/1ssYYy8Li48/видео.html

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

    hallo frend..
    Translate bahasa indonesianya kemana teman?
    saya lihat di vidio sebelumnya terdapat subtitle bahasa indonesia nya.

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

      Hey, I'm not sure actually. I didn't even know there were subtitles on the last video. I know people can translate videos and upload subtitles to the video. Maybe someone did that for the first video but not the second one