How to Make Android Apps 9 Android Themes and Styles

  Рет қаралды 117,706

Derek Banas

Derek Banas

Күн бұрын

Пікірлер: 107
@ashwinmurali4345
@ashwinmurali4345 9 жыл бұрын
Your channel was the first resource I referred for code and continues to be my top choice :)
@derekbanas
@derekbanas 9 жыл бұрын
+Ashwin murali Thank you for the nice compliment :)
@kenargo
@kenargo 9 жыл бұрын
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.
@mehhhdiiiiiiiiii
@mehhhdiiiiiiiiii 4 жыл бұрын
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.
@sunnyrekhi1351
@sunnyrekhi1351 9 жыл бұрын
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
@akrep55tr
@akrep55tr 10 жыл бұрын
Wow, it is another wonderful tutorial. It's a must-watch.
@derekbanas
@derekbanas 10 жыл бұрын
Thank you :)
@BiTrOiX
@BiTrOiX 9 жыл бұрын
This is very interesting, very useful and a very high quality of explanation. Big thanks man!
@derekbanas
@derekbanas 9 жыл бұрын
BiTrOiX Thank you for the compliment :) You're very welcome
@astrologersheaven3403
@astrologersheaven3403 8 жыл бұрын
Awesome stuff !!! Thanks a lot. Great Tutorial.
@derekbanas
@derekbanas 8 жыл бұрын
Thank you very much :)
@stevenheynderickx583
@stevenheynderickx583 10 жыл бұрын
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!
@be9concepts
@be9concepts 8 жыл бұрын
Awesome, This is a great explanation! Not just tutorial.
@be9concepts
@be9concepts 8 жыл бұрын
The inherit tip was key! now it looks like CSS to me
@derekbanas
@derekbanas 8 жыл бұрын
+Be9Concepts LLC Thank you very much :)
@Tywele
@Tywele 10 жыл бұрын
Again another great and helpful tutorial. :)
@derekbanas
@derekbanas 10 жыл бұрын
Thank you :)
@AppleJuiceTeaching
@AppleJuiceTeaching 10 жыл бұрын
Derek! I loved it one question. What do you use and how do you make those nifty youtube thumbnail pictures?
@derekbanas
@derekbanas 10 жыл бұрын
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!!!
@benchakalaka
@benchakalaka 10 жыл бұрын
Extremely useful!!! Thanks a lot
@derekbanas
@derekbanas 10 жыл бұрын
Ihor Karpachev Thank you :) You're very welcome
@anthony452
@anthony452 5 жыл бұрын
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?
@sebastians8871
@sebastians8871 10 жыл бұрын
I can't seem to find Values V-11 folder after I create them in the res folder. :/
@Hanymakvid
@Hanymakvid 7 жыл бұрын
stackoverflow.com/questions/26811212/android-studio-newly-created-directory-not-appearing-in-folders-view
@ivopalchev
@ivopalchev 10 жыл бұрын
Hi Derek, I wondered if there is a way to change the color of the action bar ?
@derekbanas
@derekbanas 10 жыл бұрын
ivopalchev No you can't do that with App Inventor
@ivopalchev
@ivopalchev 10 жыл бұрын
I mean android studio
@jakishtra
@jakishtra 10 жыл бұрын
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 !
@derekbanas
@derekbanas 10 жыл бұрын
jakou Yes it is sort of like how we use html and css for different things.
@alaslipknot
@alaslipknot 10 жыл бұрын
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
@derekbanas
@derekbanas 10 жыл бұрын
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.
@teinvanderlugt1
@teinvanderlugt1 10 жыл бұрын
Hi Derek, What is the difference between inheriting styles and adding a parent attribute? When do you use which one? Thanks!
@pulkittyagi1990
@pulkittyagi1990 10 жыл бұрын
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 ?
@hasansyed5572
@hasansyed5572 9 жыл бұрын
Hi Derek, do you have a tutorial on 2D animations such as creating a box or few lines and moving them around?
@derekbanas
@derekbanas 9 жыл бұрын
+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.
@TheKatanowaki
@TheKatanowaki 10 жыл бұрын
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!
@derekbanas
@derekbanas 10 жыл бұрын
Jeff Schreiner Thank you for the tip. I'll cut down on the zooming
@Tipsy92
@Tipsy92 10 жыл бұрын
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?
@derekbanas
@derekbanas 10 жыл бұрын
Wolowitz75 Yes that is pretty much it. I plan on covering interfaces in much more detail very soon
@jent1523
@jent1523 5 жыл бұрын
How do you get to that startup screen because my Android Studio automatically opens without the setup screen you're using
@TheProximator
@TheProximator 10 жыл бұрын
Excellent :) Thank you very much, your Karma has increased indeed :)
@aboriad15
@aboriad15 10 жыл бұрын
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 :)
@semirumutkurt6635
@semirumutkurt6635 7 жыл бұрын
when i run the app default base theme isn't changing even though i changed it from dropdown list where you showed us
@sukhjinder619
@sukhjinder619 10 жыл бұрын
Another great tutorial thanks :D
@derekbanas
@derekbanas 10 жыл бұрын
Thank you :) Fragments are next. It should be up in 2 days.
@sluggoslavic
@sluggoslavic 9 жыл бұрын
Derek, I am actually more interested in theming the UI. Do you have a tutorial on that? Thanks
@derekbanas
@derekbanas 9 жыл бұрын
+sluggoslavic I get into that later in the series. I'll cover more soon.
@sluggoslavic
@sluggoslavic 9 жыл бұрын
+Derek Banas Until then I will keep trying to learn how to theme the system UI on my own! Cheers
@sarathnagesh4893
@sarathnagesh4893 9 жыл бұрын
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
@splinter6434
@splinter6434 9 жыл бұрын
Sarath Nagesh me too ...
@maryamhezaveh
@maryamhezaveh 9 жыл бұрын
TunisiaNews Channel stackoverflow.com/questions/26811212/android-studio-0-8-14-newly-created-directory-not-appearing-in-folders-view
@sarathnagesh4893
@sarathnagesh4893 9 жыл бұрын
Thank you maryam hezaveh
@sherimehmood
@sherimehmood 9 жыл бұрын
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?
@derekbanas
@derekbanas 9 жыл бұрын
+Sheharyar Mehmood Have you seen this stackoverflow.com/questions/5861661/actionbar-text-color and this stackoverflow.com/questions/26720759/no-app-icon-on-actionbar
@pg86131314
@pg86131314 7 жыл бұрын
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 ?
@burhanuddinsadikot4300
@burhanuddinsadikot4300 4 жыл бұрын
Which language are you using for creating this app
@derekbanas
@derekbanas 4 жыл бұрын
Java
@burhanuddinsadikot4300
@burhanuddinsadikot4300 4 жыл бұрын
@@derekbanas thank you, can you also please share some study material/link to starr with basic Thanks
@NextGenerationFIVE
@NextGenerationFIVE 10 жыл бұрын
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?
@dineshsunny18
@dineshsunny18 10 жыл бұрын
Is there any best book available on Material design in market?
@derekbanas
@derekbanas 10 жыл бұрын
Dinesh Sunny Not that I have seen. I'll cover material design and other interface topics in depth very soon.
@razvanstanciu2655
@razvanstanciu2655 9 жыл бұрын
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 :) .
@JustinBieberFanSA
@JustinBieberFanSA 9 жыл бұрын
+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)
@razvanstanciu2655
@razvanstanciu2655 9 жыл бұрын
Owen Nel Thank you!
@TheMetaFramer
@TheMetaFramer 10 жыл бұрын
This is excellent. Thank you. :)
@derekbanas
@derekbanas 10 жыл бұрын
Debdatta Basu You're very welcome :)
@kirill4531
@kirill4531 9 жыл бұрын
great, thanks for the video!
@derekbanas
@derekbanas 9 жыл бұрын
+Kirill Karmazin You're very welcome :)
@lsp0
@lsp0 9 жыл бұрын
No Theme.Material?
@Dilroopsingh
@Dilroopsingh 5 жыл бұрын
Great work
@derekbanas
@derekbanas 5 жыл бұрын
Thank you 😁
@kevinnarul2266
@kevinnarul2266 8 жыл бұрын
do u have tutorial on how to implement SQLite to android studio?
@derekbanas
@derekbanas 8 жыл бұрын
Yes here you go kzbin.info/www/bejne/jX3SqpKor5Zlia8
@kevinnarul2266
@kevinnarul2266 8 жыл бұрын
thnks Derek Banas .. ur tutorial is the best!!
@VarunKumarvroom
@VarunKumarvroom 9 жыл бұрын
Trying to change themes since one week, and now finally
@mostafasharami7160
@mostafasharami7160 9 жыл бұрын
Thanks, perfect.
@derekbanas
@derekbanas 9 жыл бұрын
Mostafa Sharami Thank you :)
@uzmarauf8550
@uzmarauf8550 9 жыл бұрын
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
@derekbanas
@derekbanas 9 жыл бұрын
Uzma Rauf Have you tried running the code I link to in the description? Is this the first video that is causing errors?
@uzmarauf8550
@uzmarauf8550 9 жыл бұрын
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.
@mujahidhafeez744
@mujahidhafeez744 10 жыл бұрын
can u plz upload the tutorial of notifcatifcation in nofcation bar,broadcast receiver ,services , content provider and SurfaceView ..thnx
@derekbanas
@derekbanas 10 жыл бұрын
Mujahid Hafeez Those videos are coming.
@avinashthakur4744
@avinashthakur4744 9 жыл бұрын
how can I make my app to switch to night mode ? Please answer quickly
@kikiluksic1079
@kikiluksic1079 10 жыл бұрын
Hi ! I have a problem with importing contacts in my android application. I hope you can help me.
@derekbanas
@derekbanas 10 жыл бұрын
Are you using SQLite or MySQL on a server?
@kikiluksic1079
@kikiluksic1079 10 жыл бұрын
Derek Banas I'm using SQLite
@Jullix993
@Jullix993 9 жыл бұрын
What theme and color fonts are you using in your Android Studio?
@derekbanas
@derekbanas 9 жыл бұрын
Jullix993 I use the standard theme and the monaco font
@fykristalcaylambating661
@fykristalcaylambating661 4 жыл бұрын
Maybe I would enjoy to do all your tutorials if I only have that what you call "Android Studio." 😅😅
@BrickleRex
@BrickleRex 7 жыл бұрын
thenewboston vs Derek Banas? I prefer Derek.
@derekbanas
@derekbanas 7 жыл бұрын
Thank you just for comparing me to the biggest tutorial guy on KZbin :)
@BrickleRex
@BrickleRex 7 жыл бұрын
Lol.Btw I dont mean thenewboston is bad. I just prefer your tutorials over his.
@derekbanas
@derekbanas 7 жыл бұрын
I know :) Thank you
@y-key6424
@y-key6424 7 жыл бұрын
i would prefer something in the middle. derek is too fast for me, bucky to slow. i like cave of programming
@kop3sh
@kop3sh 10 жыл бұрын
You talk very fast. But the tutorial is very helpful. Slow down of you speed. Thanks
@derekbanas
@derekbanas 10 жыл бұрын
Kirollos Adel Sorry about the speed. I'm working to improve.
@ITWorksSoftware
@ITWorksSoftware 5 жыл бұрын
You can set the playback speed in to .50x which slows down the video & makes him sound drunk. 😂
@LizardanNet
@LizardanNet 10 жыл бұрын
So much XML discourages me. Great tutorial though.
@derekbanas
@derekbanas 10 жыл бұрын
Thank you :) I have an xml tutorial. After you get it you'll see that it isn't a big deal
@LizardanNet
@LizardanNet 10 жыл бұрын
Derek Banas That's great! I'll def take a look at it. Thanks.
@KnicklichtGangster
@KnicklichtGangster 6 жыл бұрын
i hate how his voice goes up every time he ends a sentence
@lsp0
@lsp0 9 жыл бұрын
Argh zoom! (Sorry Derek, but it gets slightly annoying, considering i'm trying to catch up with your fast stuff)
@derekbanas
@derekbanas 9 жыл бұрын
lsp0 Sorry about the zooming
@yugioh8810
@yugioh8810 5 жыл бұрын
Are you Andrew the nard dog?
@derekbanas
@derekbanas 5 жыл бұрын
I went to Cornell. Ever heard of it :)
@yugioh8810
@yugioh8810 5 жыл бұрын
@@derekbanas Then you got a management position, it's in anger, but still.
How to Make Android Apps 10 Android Fragments
11:17
Derek Banas
Рет қаралды 104 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
How to Make an Android App for Beginners
19:18
Treehouse
Рет қаралды 6 МЛН
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2,4 МЛН
5 Hidden Windows Features You Should Be Using in 2025!
8:05
Kevin Stratvert
Рет қаралды 107 М.
I Made an Android App in MINUTES with This AI Tool
10:21
Creator Magic
Рет қаралды 225 М.
💀 R.I.P. YouTube Tutorials: Gemini 2.0 AI is the NEW Teacher
10:00
Teacher's Tech
Рет қаралды 99 М.
Activities & the Activity Lifecycle - Android Basics 2023
12:47
Philipp Lackner
Рет қаралды 173 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23