Profile cover photo
Profile photo
Santhyago Gallão
1,639 followers -
Para pessoas interessadas, nem o céu é o limite!
Para pessoas interessadas, nem o céu é o limite!

1,639 followers
About
Santhyago's posts

Hi, fellows, I can't sync/pair my Google Glass with My Glass app. I'm using a Samsung Galaxy S7 with Android Nougat. Any idea? 

Post has shared content

Post has shared content

Post has attachment

Post has attachment

Post has shared content
Nos ajude a fazer melhores vídeos para os desenvolvedores brasileiros

O nosso principal objetivo é fazer conteúdos que ajudem o desenvolvedor brasileiro, por isso estamos pedindo uma pequena ajuda da comunidade! ;-)

Basta preencher um pequeno formulário, coisa rápida, nos dando o seu feedback dos vídeos atuais e também com sugestões de novos formatos e conteúdo que você gostaria de ver no nosso canal!

Formulário: http://goo.gl/forms/ZWHDBi1Ew5

Post has shared content
#androidDev , Yesterday I've been playing with the CoordinanorLayout, CollapsingToolbarLayout, and so on, trying to replicate the profile animation shown in the new hangouts app [0]. 

There are some interesting points to take into account in these views that could pass unnoticed.

For example, maybe, as in this example, you may require to have different parallax values on each view under a CollapsingToolbarLayout. The setParallaxMultiplier does the trick:

CollapsingToolbarLayout.LayoutParams petDetailsLp =
            (CollapsingToolbarLayout.LayoutParams)        
                     imageparallax
                          .getLayoutParams();

CollapsingToolbarLayout.LayoutParams petBackgroundLp =
            (CollapsingToolbarLayout.LayoutParams)
                       frameParallax
                             .getLayoutParams();

petDetailsLp.setParallaxMultiplier(0.9f);
petBackgroundLp.setParallaxMultiplier(0.3f);

imageparallax.setLayoutParams(petDetailsLp);
frameParallax.setLayoutParams(petBackgroundLp);

The movements of the circular image of the activity are managed by a custom CoordinatorLayout.Behavior set by the following attribute:

app:layout_behavior="saulmm.myapplication.AvatarImageBehavior"  

The behaviors are powerfull components that allow you to manipulate the movements and properties of a view regarding changes on other views that are called dependencies.

A common example to understand how the behaviours work is the FloatingActionButton, which in some layouts, is translated once a Snackbar is shown, that translation is managed by a CoordinatorLayout.Behaviour. Here is a nice article to implement and understand them [1]

There is another cool trick not referred with this example shown by +Ian Lake in a  _StackOverflow_ post [2], this is used on a NestedScroll to overlap the Appbar under the main content a few dps,

app:behavior_overlapTop="78dp"

[0] https://github.com/saulmm/CoordinatorLayoutExample
[1] https://lab.getbase.com/introduction-to-coordinator-layout-on-android/
[2] http://stackoverflow.com/questions/31039074/overlap-scrolling-view-with-appbarlayout
Animated Photo

Post has attachment
Jeferson Barros was tagged in Santhyago Gallão's album.
Photo

Post has attachment
Added photos to Mobile Test e English Talks.

Post has shared content
We’ve just released a new version of the Android Testing Support Library

This is mainly a bug fix release which includes fixes for Android Marshmallow, JaCoCo Code Coverage, Test Sharding and a more reliable way to close and synchronize with the Android software keyboard. For a comprehensive overview of the new features and fixes please refer to our release notes[1]. To get started with the latest version of ATSL, follow these instructions[2].

With this release we’re also announcing the deprecation of Android-Test-Kit [3]. We created a brand new website[4] dedicated only to ATSL. This website contains documentation, samples, downloads and more. Our support forum has also moved to a new home and can be found here[5].

The samples on github[6/7] have been updated to reflect the latest version of ATSL. New bugs should be filed against our new component on the AOSP bug tracker[8/9] and last but not least, we have a new logo, yay :-)

Happy testing from the ATSL team +Stephan Linzner, +Nick Korostelev & +Jose Alcérreca

[1] Release notes - https://goo.gl/Ry5cyQ
[2] Getting started - https://goo.gl/R3u2Y4
[3] Android-test-kit - https://goo.gl/vCPiul
[4] ATSL github page - https://goo.gl/O9C2yg
[5] Support forum - https://goo.gl/cdIrI8
[6] Testing samples - https://goo.gl/WPVFKl
[7] Testing blueprint - goo.gl/vnW7o4
[8] ATSL bug - https://goo.gl/v5n1Ot
[9] ATSL feature - https://goo.gl/M1eBfF

#androidTesting #buildBetterApps
Photo
Wait while more posts are being loaded