‏إظهار الرسائل ذات التسميات avoid. إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات avoid. إظهار كافة الرسائل

الخميس، 26 ديسمبر 2013

Any way to avoid "android:" statements in Android XML layout file?

Is there any way to avoid hundreds of "android:" statements in an Android XML layout file? I am new to Android and I find the "android:" statements make layouts very hard to read. Plus they are a pain to constantly type.

For example, instead of this:

android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_column="2"

I would like to just see this:

layout_width="wrap_content"layout_height="wrap_content"layout_column="2"

View the original article here