Create util methods to get attribute from style.

Test: manually
Bug: 132735953
Change-Id: Ic4c6754ed9024a9939de4b0da8242cc630f352da
2 files changed