oppia-android
oppia-android copied to clipboard
Add CI check to ensure all TextViews have a style check
Related issue: #3971. We need to make sure that TextViews have a centrally managed style set so that RTL/LTR settings can be properly managed. To do this, we need a CI check that runs a script which parses all layout files to ensure that TextView elements have a style set that corresponds to a local codebase style (i.e. uses @style/
).
For reference, I suggest looking at the manifest transformation script since it parses & modifies XML today (so it's a good basis for the parsing needs of this new TextView script).
/cc @veena14cs
@BenHenning I would like to work on this issue
@BenHenning I would like to work on this issue
Sounds good! Assigning this to you @yash10019coder.
Unassigning myself to free it up for others. Will pick it up later if it's still available.