Should I put all Android view attributes into the style?
<p>I've seen that some Android devs promote this form of declarative layout:</p>

<pre><code>&lt;TextView style="@style/my_textview_style" /&gt;
</code></pre>

<p>i.e. that pretty much all the attributes (including the ID) go into the style definition. It certainly makes for shorter layout files, but is it a step too far?</p>

<p>What would you recommend goes in the style definition, and what should stay in the layout, and why?</p>

<p>I've started doing Android dev this year, but have prior experience of development. Issues like this are so important, the "way" we use the tools, the habits, to be more efficient. I appreciate you sharing your views on what works for you, for clarity, for efficiency, for maintainability, for app reliability.</p>
