Skip to content

Conversation

luiscruz
Copy link

@luiscruz luiscruz commented Jan 6, 2017

Hi,

I am developing a tool to automatically refactor Android applications with the goal of improving energy efficiency.
This pull request has the changes generated while applying the rule "ObsoleteLayoutParam".

While developing your application's views you might be specifying attributes in a view's artefact that are not necessary due to the nature of its parent. In this PR, those attributes were replaced by a comment.

I have made a previous validation of the changes and they seem correct.
Unfortunately, this tool is not able keep the original whitespace of the files, so comparison without ignoring whitespace might be confusing.
Please consider the changes and let me know if you agree with them.

Best,
Luis

@lestofante
Copy link

this pr only removes android:layout_alignParentBottom="true" from java/res/layout/input_stone_popup.xml and java/res/layout/keyboard_popup.xml .
It also add </org.pocketworkstation.pckeyboard.LatinKeyboardBaseView> but maybe that is something that got removed in meantime and is added back because of whitespace issues

@luiscruz
Copy link
Author

luiscruz commented Feb 5, 2021

Indeed it only removes android:layout_alignParentBottom="true" from java/res/layout/input_stone_popup.xml and java/res/layout/keyboard_popup.xml. Does tags are supposed to be meaningless in the given context.

The </org.pocketworkstation.pckeyboard.LatinKeyboardBaseView> is not part of this PR. I think it is a legacy tag since this PR was done back in 2017.

Feel free to close this PR if it no longer makes sense.

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

Successfully merging this pull request may close these issues.

2 participants