commit | 7396348dfcfb45b7ad055f4c18cabbe5e8270d26 | [log] [tgz] |
---|---|---|
author | Xavier Ducrohet <xav@android.com> | Mon Feb 06 14:57:22 2012 -0800 |
committer | Xavier Ducrohet <xav@android.com> | Mon Feb 06 15:11:12 2012 -0800 |
tree | 66b6607b253b5197e19194bd423f2e4cedd2836b | |
parent | 0afa7e2d95a1ae047ceddf2ca67f05c67ac30770 [diff] |
Setup ActionBars in layoutlib the same way the platform does it. Instead of using a simple ImageView for the icon, this uses the platform layout/action_bar_home which uses a custom class to position and resize the icon (and also supports the Up icon that we don't yet support). This ensures that the icon is properly positionned and sized like on devices. Change-Id: I57432afa82d257bb043247001320b368045d7f55