Your channel was the first resource I referred for code and continues to be my top choice :)
@derekbanas9 жыл бұрын
+Ashwin murali Thank you for the nice compliment :)
@kenargo9 жыл бұрын
What is the difference between creating a style and setting the parent vs inheriting a style? It appears the both can do the same thing.
@mehhhdiiiiiiiiii4 жыл бұрын
When you inherit the style, you need to reference with the whole name within your widget, therefore, you can remember where is its parent origin immediately. This enhances code readability and will be helpful when you deal with many different styles and inheritances.
@sunnyrekhi13519 жыл бұрын
Thank you for the video! I understand that you make different style files for different API levels, but does any specific android device know to disregard the style files that it doesn't have the API to understand? How do you make sure that your style file for API
@akrep55tr10 жыл бұрын
Wow, it is another wonderful tutorial. It's a must-watch.
@derekbanas10 жыл бұрын
Thank you :)
@BiTrOiX9 жыл бұрын
This is very interesting, very useful and a very high quality of explanation. Big thanks man!
@derekbanas9 жыл бұрын
BiTrOiX Thank you for the compliment :) You're very welcome
@astrologersheaven34038 жыл бұрын
Awesome stuff !!! Thanks a lot. Great Tutorial.
@derekbanas8 жыл бұрын
Thank you very much :)
@stevenheynderickx58310 жыл бұрын
Very good tutorial, a bit fast at times but very good... You did not mention the cascading effect or hierachy, so I am still wondering... Would a style that overwrites the Android:style/Widget/TextView come first and after that a custom style? Or does the order in which styles get declared in the styles.xml file determine what the final state of an attribute would be? I also think it is confusing that you use the same name for your style as for your @id of the widget. This could give the wrong impression that you need to declare a style for every widget you use in your layout. because viewers might think the names should be identical. In my case I tried setting general styling by overwriting the parent widget and it did nothing for me... So I will need to search for a more detailed tutorial... But still I like the way you explain things... nice job!
@be9concepts8 жыл бұрын
Awesome, This is a great explanation! Not just tutorial.
@be9concepts8 жыл бұрын
The inherit tip was key! now it looks like CSS to me
@derekbanas8 жыл бұрын
+Be9Concepts LLC Thank you very much :)
@Tywele10 жыл бұрын
Again another great and helpful tutorial. :)
@derekbanas10 жыл бұрын
Thank you :)
@AppleJuiceTeaching10 жыл бұрын
Derek! I loved it one question. What do you use and how do you make those nifty youtube thumbnail pictures?
@derekbanas10 жыл бұрын
I draw everything in either Illustrator or Inkscape depending on the computer I have. They are both very similar. I have an Inkscape tutorial if you want to learn. Inkscape is free!!!
@benchakalaka10 жыл бұрын
Extremely useful!!! Thanks a lot
@derekbanas10 жыл бұрын
Ihor Karpachev Thank you :) You're very welcome
@anthony4525 жыл бұрын
Would these Android studios tutorials be appropriate now that they're up to 9.0? Would I still be able to go through all of these or have most of these features been changed?
@sebastians887110 жыл бұрын
I can't seem to find Values V-11 folder after I create them in the res folder. :/
Hi Derek, I wondered if there is a way to change the color of the action bar ?
@derekbanas10 жыл бұрын
ivopalchev No you can't do that with App Inventor
@ivopalchev10 жыл бұрын
I mean android studio
@jakishtra10 жыл бұрын
So we can change the apperance both in the layout.xml and in styles.xml right ? as a good practice should put as far as possible everything related to the apperance solely in the styles.xml ? Thanks again for this tutorial Derek !
@derekbanas10 жыл бұрын
jakou Yes it is sort of like how we use html and css for different things.
@alaslipknot10 жыл бұрын
Excellent !! Btw, is it possible to make live episodes from time to time ?? it's very challenging but one of my favorites channels on KZbin is PushyPixels and their "cooking with unity" live episodes, and the reason is because we will be able to see you solve the problem (specially when it's technical and have nothing with real coding skills) and then we will learn better how to face similar problems in the future. thank you
@derekbanas10 жыл бұрын
I'll think about that. The idea behind the last 2 videos was to show the whole process while at the same time cut out the pauses. That is basically everything I do while making an app. Most of my videos are 100% unscripted except for the use case description I write ahead of time. I'll see if I can do a live coding video just to see what happens.
@teinvanderlugt110 жыл бұрын
Hi Derek, What is the difference between inheriting styles and adding a parent attribute? When do you use which one? Thanks!
@pulkittyagi199010 жыл бұрын
i hope you got the answer by now . For anyone else wondering , Parent attribute can be used if you are trying to override a base theme attribute while .(inheretence ) can be used to extend / add more attributes . Am i right Derek Banas ?
@hasansyed55729 жыл бұрын
Hi Derek, do you have a tutorial on 2D animations such as creating a box or few lines and moving them around?
@derekbanas9 жыл бұрын
+hasan syed At the end of my Java tutorial I make a paint app, talk about animation and make a game. I'll be making cross platform mobile games very soon.
@TheKatanowaki10 жыл бұрын
You asked a few videos back if you should stop zooming in and I think I forgot to say something. My vote would be a polite yes. I find it hard to follow when I can't see more than 3 words on the screen. I have you playing on a 900p monitor not even full screen and I can read your zoomed out code nicely. Just my .02c. Thanks for the fantastic videos Derek!
@derekbanas10 жыл бұрын
Jeff Schreiner Thank you for the tip. I'll cut down on the zooming
@Tipsy9210 жыл бұрын
So each styles.xml file is a specific theme? So if i wanted to make another custom theme, I'd have to make another styles.xml file?
@derekbanas10 жыл бұрын
Wolowitz75 Yes that is pretty much it. I plan on covering interfaces in much more detail very soon
@jent15235 жыл бұрын
How do you get to that startup screen because my Android Studio automatically opens without the setup screen you're using
@TheProximator10 жыл бұрын
Excellent :) Thank you very much, your Karma has increased indeed :)
@aboriad1510 жыл бұрын
In the manifest, shouldnt you use AppBaseTheme instead of AppTheme so the style changes in values-v14 actually happen because in styles in v14 you set the style name to app base theme. I have a 4.4.2 device and the changes are not being shown. Thanks a lot :)
@semirumutkurt66357 жыл бұрын
when i run the app default base theme isn't changing even though i changed it from dropdown list where you showed us
@sukhjinder61910 жыл бұрын
Another great tutorial thanks :D
@derekbanas10 жыл бұрын
Thank you :) Fragments are next. It should be up in 2 days.
@sluggoslavic9 жыл бұрын
Derek, I am actually more interested in theming the UI. Do you have a tutorial on that? Thanks
@derekbanas9 жыл бұрын
+sluggoslavic I get into that later in the series. I'll cover more soon.
@sluggoslavic9 жыл бұрын
+Derek Banas Until then I will keep trying to learn how to theme the system UI on my own! Cheers
@sarathnagesh48939 жыл бұрын
I created the values-v11 directory as you said, but android studio is not showing it in the project window. When I try to create it again, it says, it already exists
Hi Derek, How do i change the text/color of the aciton bar in a theme? Also can i insert a picture in the action bar somehow?
@derekbanas9 жыл бұрын
+Sheharyar Mehmood Have you seen this stackoverflow.com/questions/5861661/actionbar-text-color and this stackoverflow.com/questions/26720759/no-app-icon-on-actionbar
@pg861313147 жыл бұрын
How do I make themes for android phones not for apps but for phone its self ? Like desktop and other themes what tools do I need ?
@burhanuddinsadikot43004 жыл бұрын
Which language are you using for creating this app
@derekbanas4 жыл бұрын
Java
@burhanuddinsadikot43004 жыл бұрын
@@derekbanas thank you, can you also please share some study material/link to starr with basic Thanks
@NextGenerationFIVE10 жыл бұрын
What is android:theme="@style/AppTheme" referencing? Why does it work even without adding to the values_11 and values_14? In values_11 and values_14, how is AppTheme defined if it is never mentioned? Why mention it in the values folder only?
@dineshsunny1810 жыл бұрын
Is there any best book available on Material design in market?
@derekbanas10 жыл бұрын
Dinesh Sunny Not that I have seen. I'll cover material design and other interface topics in depth very soon.
@razvanstanciu26559 жыл бұрын
Nice work with this tutorials, Derek! After 5 min, when you create the Directory in values I am lost...my Android Studio 1.3.1 creates the Directory in a new location and I can't find it.Is it possible to make a tutorial creating a theme for android full( for example img13.deviantart.net/af6b/i/2012/286/f/0/senses_hd_miui_android_theme_by_symbianart-d5hnujo.jpg ) ? Thank you, I am going to watch the Python tutorial untill then :) .
@JustinBieberFanSA9 жыл бұрын
+razvan stanciu Hey, just click the expand button next to styles.xml, it nests it if you are in Android workspace. Alternative is to work in Project workspace then check under app > src > main > res > values-v(your desired version)
@razvanstanciu26559 жыл бұрын
Owen Nel Thank you!
@TheMetaFramer10 жыл бұрын
This is excellent. Thank you. :)
@derekbanas10 жыл бұрын
Debdatta Basu You're very welcome :)
@kirill45319 жыл бұрын
great, thanks for the video!
@derekbanas9 жыл бұрын
+Kirill Karmazin You're very welcome :)
@lsp09 жыл бұрын
No Theme.Material?
@Dilroopsingh5 жыл бұрын
Great work
@derekbanas5 жыл бұрын
Thank you 😁
@kevinnarul22668 жыл бұрын
do u have tutorial on how to implement SQLite to android studio?
@derekbanas8 жыл бұрын
Yes here you go kzbin.info/www/bejne/jX3SqpKor5Zlia8
@kevinnarul22668 жыл бұрын
thnks Derek Banas .. ur tutorial is the best!!
@VarunKumarvroom9 жыл бұрын
Trying to change themes since one week, and now finally
@mostafasharami71609 жыл бұрын
Thanks, perfect.
@derekbanas9 жыл бұрын
Mostafa Sharami Thank you :)
@uzmarauf85509 жыл бұрын
Derek Banas when I try to run a simple hello world program in emulator with minSdkVersion 10 and targetSdkVersion 22. It gives error "unfortunately Hello_World has stopped. I made three style.xml, one to target API10 and lower. one for API 11 and one for API 14 and above just like you. Do I need to make more changes to run emulator. Thanks
@derekbanas9 жыл бұрын
Uzma Rauf Have you tried running the code I link to in the description? Is this the first video that is causing errors?
@uzmarauf85509 жыл бұрын
Derek Banas Thanks for the quick response. The issue resolved as I made a style.xml for V22 as targetSdkVersion is 22 for my app. but I don't seem to understand it. Would we need to make style.xml for each and every API that comes in future so our Apps could run on them. what if I make only one style.xml with Theme.holo and want it to run on all future APIs. That's not desirable I know but is that not possible either? It's very confusing for me.
@mujahidhafeez74410 жыл бұрын
can u plz upload the tutorial of notifcatifcation in nofcation bar,broadcast receiver ,services , content provider and SurfaceView ..thnx
@derekbanas10 жыл бұрын
Mujahid Hafeez Those videos are coming.
@avinashthakur47449 жыл бұрын
how can I make my app to switch to night mode ? Please answer quickly
@kikiluksic107910 жыл бұрын
Hi ! I have a problem with importing contacts in my android application. I hope you can help me.
@derekbanas10 жыл бұрын
Are you using SQLite or MySQL on a server?
@kikiluksic107910 жыл бұрын
Derek Banas I'm using SQLite
@Jullix9939 жыл бұрын
What theme and color fonts are you using in your Android Studio?
@derekbanas9 жыл бұрын
Jullix993 I use the standard theme and the monaco font
@fykristalcaylambating6614 жыл бұрын
Maybe I would enjoy to do all your tutorials if I only have that what you call "Android Studio." 😅😅
@BrickleRex7 жыл бұрын
thenewboston vs Derek Banas? I prefer Derek.
@derekbanas7 жыл бұрын
Thank you just for comparing me to the biggest tutorial guy on KZbin :)
@BrickleRex7 жыл бұрын
Lol.Btw I dont mean thenewboston is bad. I just prefer your tutorials over his.
@derekbanas7 жыл бұрын
I know :) Thank you
@y-key64247 жыл бұрын
i would prefer something in the middle. derek is too fast for me, bucky to slow. i like cave of programming
@kop3sh10 жыл бұрын
You talk very fast. But the tutorial is very helpful. Slow down of you speed. Thanks
@derekbanas10 жыл бұрын
Kirollos Adel Sorry about the speed. I'm working to improve.
@ITWorksSoftware5 жыл бұрын
You can set the playback speed in to .50x which slows down the video & makes him sound drunk. 😂
@LizardanNet10 жыл бұрын
So much XML discourages me. Great tutorial though.
@derekbanas10 жыл бұрын
Thank you :) I have an xml tutorial. After you get it you'll see that it isn't a big deal
@LizardanNet10 жыл бұрын
Derek Banas That's great! I'll def take a look at it. Thanks.
@KnicklichtGangster6 жыл бұрын
i hate how his voice goes up every time he ends a sentence
@lsp09 жыл бұрын
Argh zoom! (Sorry Derek, but it gets slightly annoying, considering i'm trying to catch up with your fast stuff)
@derekbanas9 жыл бұрын
lsp0 Sorry about the zooming
@yugioh88105 жыл бұрын
Are you Andrew the nard dog?
@derekbanas5 жыл бұрын
I went to Cornell. Ever heard of it :)
@yugioh88105 жыл бұрын
@@derekbanas Then you got a management position, it's in anger, but still.