Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android strings.xml indented with tabs instead of spaces #126

Open
raragod opened this issue Mar 31, 2020 · 2 comments
Open

Android strings.xml indented with tabs instead of spaces #126

raragod opened this issue Mar 31, 2020 · 2 comments

Comments

@raragod
Copy link

raragod commented Mar 31, 2020

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?

@netbe
Copy link
Owner

netbe commented Apr 1, 2020

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?

@raragod
Copy link
Author

raragod commented Apr 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants