Profile

Cover photo
Andrea Pivetta
Attends Università degli Studi di Bologna
Lives in Bologna
179 followers|447,787 views
AboutPostsPhotosYouTube

Stream

Andrea Pivetta

Shared publicly  - 
 
A window to your Android
1
Add a comment...

Andrea Pivetta

Help Center  - 
 
I'm trying to display a snackbar when a certain event occurs.

I have a FAB inside a CoordinatorLayout in my activity.

I'm passing my fab to the make method to show the snackbar:
Snackbar.make(myFAB, content, Snackbar.LENGTH_SHORT).show();


I'd expect to see the fab moving up when the snackbar when it's displayed, but it doesn't.

Am I missing something? Any ideas?
1
abhishek awasthi's profile photoTomas Skäre's profile photoAndrea Pivetta's profile photo
5 comments
 
Ok I've found the problem.

FAB must be the last child of CoordinatorLayout. I had a ProgressBar after FAB and that was the problem. 
Also, layout_anchorGravity is not needed.
Add a comment...

Andrea Pivetta

Discussion  - 
 
Does anybody know where I can find something like http://developer.android.com/distribute/tools/promote/device-art.html but with dell xps 13?
1
Nathan Osman's profile photoAndrea Pivetta's profile photo
2 comments
 
+Nathan Osman thanks, I think I've seen some screenshots of desktops inside an xps13 but maybe it was a dream. I can find nothing but macbooks
Add a comment...

Andrea Pivetta

commented on a video on YouTube.
Shared publicly  - 
 
This is the difference between Apple and Google. Apple does really great stuff. Really. Impressive. But they never do something that you say "oh, this is simply impossible.". Apple makes great software, Google makes magic.
1
Add a comment...
Have him in circles
179 people
Stefano Volontè's profile photo
Mirko Martini's profile photo
Frankie Cleary's profile photo
Ironhack's profile photo
Tiziana Tomè's profile photo
Xavier A's profile photo
Claudio d'Angelis's profile photo
Feng Liu's profile photo
Carmelina Mancini's profile photo

Andrea Pivetta

Shared publicly  - 
 
From the last time I wrote about Blum, a lot of things are changed, since I've had some more time to work on it. Performance Thanks to a more clever way to manage tweets in the timeline and the switch from Picasso to Glide to load images, the amount of RAM used is dropped by about 50%.
1
Add a comment...

Andrea Pivetta

Shared publicly  - 
 
Do you know what I like about XML? Nothing.
3
Add a comment...

Andrea Pivetta

commented on a video on YouTube.
Shared publicly  - 
 
First thing I did after watching this video was installing say. 
Thanks.
3
Add a comment...

Andrea Pivetta

Questions  - 
 
I have to send the content of a local file to a servlet via AJAX.

The user inserts the absolute path of a local file (which is always a plain text file), and I have to send the content of this file encoded with JSON via AJAX to a servlet.

I can't use jquery and any other framework or library.

I don't even know how to start.

Any advice?
2
Andrea Pivetta's profile photoOlindo Pindaro's profile photoKhải Hoàng's profile photoThomas Beavers's profile photo
12 comments
 
Everything after IE 10 supports the FileAPI.
Add a comment...

Andrea Pivetta

Tartışma  - 
 
I noticed that there are a lot (hundreds) of pixels which are showing the wrong color on my laptop. I can't see them if the screen is almost white but, with dark content I do.
Is this fixable? Will this getting worse?

Thanks :/
3
Andrea Pivetta's profile photoHilder Gill's profile photoMohammad Ilyas Soomro's profile photo
6 comments
 
Spot
Add a comment...
People
Have him in circles
179 people
Stefano Volontè's profile photo
Mirko Martini's profile photo
Frankie Cleary's profile photo
Ironhack's profile photo
Tiziana Tomè's profile photo
Xavier A's profile photo
Claudio d'Angelis's profile photo
Feng Liu's profile photo
Carmelina Mancini's profile photo
Education
  • Università degli Studi di Bologna
    Computer Engineering, 2012 - present
  • ITIS Kennedy
    Chimica, 2006 - 2011
Basic Information
Gender
Male
Looking for
Friends, Networking
Birthday
October 26, 1992
Relationship
Engaged
Story
Tagline
I don't believe in the moon. I think it's just the back of the sun.
Bragging rights
I know every line from the movie Pulp Fiction.
Work
Occupation
Developer
Skills
Android, QML, and basics of a lot of other things
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Bologna
Previously
Fontanafredda - Trieste
Links
Contributor to