Profile

Cover photo
Eduard Bolos
Works at Appsrise
Attends Universitatea "Babes-Bolyai" Cluj-Napoca
Lived in Budila, Brasov, Romania
87 followers|69,478 views
AboutPostsPhotosYouTubeReviews

Stream

Eduard Bolos

Shared publicly  - 
 
 
We have been playing with +Firebase for a bit at +Novoda and we wrote and app and a blog post to share our thoughts. novoda.com/blog/bonfire/
One of the big announcements of IO 2016 was Firebase. Is this new platform ready for all your projects? Should you spend time learning everything about it?
View original post
1
Add a comment...

Eduard Bolos

Shared publicly  - 
 
Easily display two timezones at the same time! The first timezone reads lik...
1
Add a comment...

Eduard Bolos

Shared publicly  - 
1
tengu drift's profile photo
 
Salut Eduard, vreau sa discut cu tine despre un proiect pe android la care am nevoie de un developer. Nu ti-am gasit alte date de contact nicaieri :)  numarul meu este 0753415188, email: performancezone@yahoo.com, skype: cozmutaflorin
Contacteaza-ma te rog sa discutam. 
florin
 ·  Translate
Add a comment...
 
Hi! I created this watchface for my Moto360, and I am sharing it with you. Enjoy!
Handcrafted from the heart of Transylvania, this clean watchface with minim...
4
Rabbit Liu's profile photo
 
downloading
Add a comment...

Eduard Bolos

Shared publicly  - 
 
Mit readfy kannst du über 25.000 eBooks kostenlos lesen und hast deine Bibl...
1
Add a comment...

Eduard Bolos

Shared publicly  - 
 
 
I'll just leave this here...

Thanks to +Ron Amadeo for posting this originally.

#iPhone6   #iOS   #Apple   #iPhone  
149 comments on original post
1
Add a comment...
Have him in circles
87 people
ortelecan vlad's profile photo
Alex Ruiz's profile photo
Roland Szabo's profile photo
Sergiu-Ioan Ungur's profile photo
Gabriel Gaby's profile photo
Nadine Kost's profile photo
Bogdan Boca's profile photo
ro.mobileshop.eu's profile photo
Paqui Robledillo Garcia's profile photo

Eduard Bolos

Shared publicly  - 
 
Click to see the pic and write a comment...
1
Add a comment...

Eduard Bolos

Discussion  - 
 
Hello! Am I the only one who got a British charger with their Meizu MX4 Ubuntu edition? I was expecting for a European (CEE) one...
1
Fabio Colella's profile photoAnatole Guyot-Reeb's profile photoEduard Bolos's profile photo
15 comments
 
Same here, I picked up the package today from the post office and I was very disappointed :(
Add a comment...

Eduard Bolos

Shared publicly  - 
 
 
Pro-tip: layout_ attributes are instructions to the parent ViewGroup and found in its LayoutParams
When writing your layout XML files, you'll use a lot of different attributes to get things looking great. Looking up the documentation behind the attributes can give you a lot of insight into what exactly each does - but where do you find that documentation?

Take a look at a simple example:
<android.support.design.widget.AppBarLayout>
  <android.support.v7.widget.Toolbar
    app:layout_scrollFlags="scroll|enterAlways" />
</android.support.design.widget. AppBarLayout >

Your first thought in figuring out what app:layout_scrollFlags does might be to look at Toolbar's documentation, but you'll find that Toolbars don't actually know anything about scrolling. The prefix layout_ denotes attributes that are instructions to the parent ViewGroup - in this case, an AppBarLayout. But looking at the documentation of AppBarLayout still doesn't show that attribute. Hmm.

Turns out: those attributes are stored in what are called LayoutParams - a helpful class associated with each View where the parent ViewGroup can store, you guessed it, parameters that affect how the ViewGroup will lay out that child View (such as how that view should react to scroll events). Every View has a getLayoutParams() [1] method which must return a non-null value once a View is attached to a parent.

This also explains why it is so important to pass in a non-null parent to LayoutInflater.inflate() [2] - only then will the appropriate LayoutParams be created (passing null means all layout_ attributes will be effectively ignored!).

In this case, AppBarLayout.LayoutParams [3] is a custom subclass of LayoutParams that contains all of the information about the layout_ attributes (and their programmatic alternatives) that are specific to AppBarLayout - including the layout_scrollFlags!

This means that retrieving the LayoutParams involves casting the result of getLayoutParams() to the correct subtype based on the parent of the View:
AppBarLayout.LayoutParams params = (AppBarLayout.LayoutParams) toolbar.getLayoutParams();
// Now you can call params.getScrollFlags() or params.setScrollFlags()

This also helps explain the difference between android:gravity (instructions to the View on where to position its contents) and android:layout_gravity (instructions to the parent ViewGroup on where to put the View).

[1] - http://developer.android.com/reference/android/view/View.html#getLayoutParams()
[2] - http://developer.android.com/reference/android/view/LayoutInflater.html#inflate(int,%20android.view.ViewGroup,%20boolean)
[3] - http://developer.android.com/reference/android/support/design/widget/AppBarLayout.LayoutParams.html
7 comments on original post
1
Add a comment...

Eduard Bolos

Watch Face Designs  - 
 
Hi! I've created this watchface for my Moto 360, and now I am sharing it with you. Enjoy! #moto360 #watchface
Handcrafted from the heart of Transylvania, this clean watchface with minim...
1
Add a comment...

Eduard Bolos

Original faces  - 
 
Here it's my watchface, called Circles Watchface.
#watchface  
16
Tim Williamson's profile photoEduard Bolos's profile photoOmar Lugo's profile photo
4 comments
 
Great development. 
Add a comment...

Eduard Bolos

Shared publicly  - 
 
Scriu acest text nu pentru că m-am gândit că e la modă sa scrii scrisori deschise, ci pentru că am o durere reală. M-am născut in Brașov acum peste 28 de an
1
Add a comment...
People
Have him in circles
87 people
ortelecan vlad's profile photo
Alex Ruiz's profile photo
Roland Szabo's profile photo
Sergiu-Ioan Ungur's profile photo
Gabriel Gaby's profile photo
Nadine Kost's profile photo
Bogdan Boca's profile photo
ro.mobileshop.eu's profile photo
Paqui Robledillo Garcia's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Budila, Brasov, Romania
Work
Occupation
Android Software Developer
Employment
  • Appsrise
    Android Software Developer, 2013 - present
    Crafting great Android apps :)
  • Myself
    Freelancer, 2010 - present
  • Fellan Soft
    Co-Founder, 2012 - 2014
Education
  • Universitatea "Babes-Bolyai" Cluj-Napoca
    2011 - present
  • C.N. "Andrei Saguna" Brasov
    2007 - 2011
Basic Information
Gender
Male
Apps with Google+ Sign-in
  • 99 Problems
  • Bombing Bastards: Touch!
  • The Tower
  • Thumb Drift - Furious Racing
Public - a month ago
reviewed a month ago
Public - a month ago
reviewed a month ago
There is a waiting line, and the eggs royale were mediocre. The earl grey tea was good though.
Public - a month ago
reviewed a month ago
Impressive stuff
Public - 4 months ago
reviewed 4 months ago