Babelish
Babelish copied to clipboard
Android strings.xml indented with tabs instead of spaces
In generated strings.xml files for Android, tabs are used instead of spaces for indentation causing Android Studio to complain. Can a config flag be added that'll help developers adhere to the coding standard they follow?
ok I am wondering if tabs are even needed, as when i look at other adapter, only spaces are used. @raragod Do you know if eclipse or other editors require tabs?
I'm not sure about the other editors but this is the default formatting setting in Android Studio which follows the Code Style Guide defined for Android by Google: https://source.android.com/devices/architecture/hidl/code-style. Indentation formatting is here: https://source.android.com/devices/architecture/hidl/code-style#formatting