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 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!
@@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
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?
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.
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
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.
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 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!
@@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!
@@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
@@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.
@@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!
@@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.
@@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
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.
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!
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?
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?
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.
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
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?
@@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.
@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?
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?
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!
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
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:
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
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
@@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
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.
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!
@@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?
@@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 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
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?
@@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 :(
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
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
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.
Thanks! Probably one of the best comments I've read
@@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!
@@sukanyabanerjee1666 Hey you can check my GitHub page from the vector image if you want. here's the link
github.com/Practical-Coding3/calculatorApp
@@PracticalCoding
I couldn't find it,as I checked previously also.
@@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
Strg + Shift + Alt + J for multiple cursors at same selections really comes in handy in this tutorial.
Thanks man
Thankyou so much this is my first app ❤️
That's Great! Glad I could help you make your first app!
Excellent tutorial explaining the steps in continuous improvement with "why". I learned layout really well from this lecture.
You can also control click all the buttons and change the button attributes at once by searching with the attribute name
Good to know. I had no idea that was even a thing. I'll have to try it out
It's too good to learn...thank u
Glad you liked the video!
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?
the backspace button takes the updated color, but the buttons in the table remain old color
Same problem, how to solve it!!?
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.
Hi, a bit late, but I found a solution to it when googling "android studio backgroundtint not working" the trick is to rename your "
@@GamesCourier It was just in the refreshed video that this was discussed. It's here: ruclips.net/video/1ssYYy8Li48/видео.html
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
When I use backgroundTint it doesn't update my preview. Also gives me a problem when running it
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.
it's because the primary colors are set to purple. you can change it in the themes.xml
@@alianaxelcrooc4982 hey, do you know how to change this specifically? I have the same issue
Hello, please enter your code in one wordfile...It's will be very useful for us..
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.
Yeah, you can use different types of buttons and apply different backgrounds to them
please make video on music player and gallery app
@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!
@@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!
@@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
@@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.
@@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!
@@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.
Hpw to mace calculator sound when press
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 ?
same
@@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
@@PracticalCoding thanks a lot, it works 🦾
@@a123etvs Good to hear!
@@a123etvs hello can u tell me how did u do it I have the same problem
Button background not changing bro plz help
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.
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!
@@PracticalCoding Thanks for answer . It worked for me !
@@salabis Sweet. Good stuff
@@salabis oh did it now??!!?!
@@PracticalCoding doing this changed all my other buttons to black
🙏thank u so much
Why is my button background did not change even though I did as you said? can you help me with this problem?
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?
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?
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?
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?
Did you ask this in the Discord channel yesterday? I only ask because someone had the same issue last night.
@@PracticalCoding one minute I'll enter it .
@@PracticalCoding link has expired give another plz
@@3uz discord.gg/H2P89STbaS
@@3uz This one doesn't work anymore
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
@Practical Coding
@@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.
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.
Nice
what is your themes.xml file look like?
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
When I tried changing colours to red, green and dark blue, it is always purple. Why is that? Thank you for making this video. :)
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?
@@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.
@@PracticalCoding You are right. Perhaps I shouldn't worry about the colours anymore.
@@PracticalCoding pastebin.com/SXAifkVy
Sorry I can't paste it into a comment as the format does not permit me to send the message.
@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?
my color back ground dose not changes can some on help me ?
Yeah, I can help you work through the problem. What version of android studio do you currently have?
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?
Are you getting any error messages in the LogCat?
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?
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!
While running it's showing error in values.xml so please help to solve that
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
the background color of my buttons and the background tint do not take effect they took the theme color
i managed to fix it, nevermind
☺
@@PracticalCoding I am using jdk 14 but the mathparser only works upto jdk 13, what do you recommend that i do?
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:
@@sergioferrergimeno124 change the buttons from to
@@godwillmonthe995 Omg it worked, don´t know how many things I tried haha. Thanks! :)
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?
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
@@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
@@imdm Did you change both the normal and night them XML files? You should have modified the parent attribute in both files.
@@PracticalCoding yes it worked! Thank you
@PracticalCoding i cant get the emulator to work im not sure why
that used to be an issue for me with windows home i couldnt but the went windows pro after that it helped.
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.
Still having troubles getting it borderless most everything else is working
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!
Got an error or message in my circle.xml "Element Solid is not allowed here"
Can you put the code you're using in your circle.xml file so I can take a look at it?
@@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?
@@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?
@@PracticalCoding yep. After i imported it. It has grey highlight to it.
@@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
Backspace button not working
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?
Sir can you give me all codes for diffrent color
pls
Here you go
Red: #DD2C00
Green: #43A047
Dark Blue: #263238
@Practical Coding
When I tried to add the input_delete icon I got the error: AAPT: error: not well-formed (invalid token).
code:
@@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].
@@PracticalCoding What is your github username?
@@PracticalCoding I invited you to a project on github.
@@PracticalCoding shows me that the invitation to the github repository is still not received
@@PracticalCoding I sent the invitation again.
When I reference “@drawable/circle” nothing happens to my button
And when I add the text color the box turns Grey and says “Button”
@@PracticalCoding
@@PracticalCoding the colours stay purple even after cleaning and rebuilding the system. Do you know what is wrong? :)
@@PracticalCoding Here. I am quite confused as I followed each step on your videos correctly. It could be a version mismatch. streamable.com/qu072z
@@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 :(
İ don’t have style in android
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
hallo frend..
Translate bahasa indonesianya kemana teman?
saya lihat di vidio sebelumnya terdapat subtitle bahasa indonesia nya.
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