powerup-android
powerup-android copied to clipboard
Improving UI responsiveness: Use of INCLUDE and MERGE tags to re-use layouts
Description
To improve the application's UI responsiveness, taking into consideration the further expanse of the project as well, as more scenes are included, re-usability of layouts to embed the scene specific layout in the generalised layout would enhance the efficiency. I propose to use the include and merge tags for this. This is a powerful way to create reusable layouts. The merge tag will help to avoid redundant layouts, further enhancing the application.
Mocks
Example: the mini game end xml files.
Portion of the specific xml file with
The merge content(game_end.xml):
Output:
Acceptance Criteria
The repeated code can be written in a separate file under the merge tag and the existing xml files are thus modified
Update [Required]
- [ ] Additional xml file is created containing the re-usable layout and the specific xml files use the include tag to increase the UI responsiveness
Enhancement to Update [Optional]
- [ ] Unnecessary nested layouts omitted to improve the performance
Checklist
- [ ] I have performed a self-review of my own code
- [ ] My PR follows the style guidelines of this project
Definition of Done
- [ ] All of the required items are completed.
- [ ] Approval by 1 mentor.
Estimation
48-70 hours
@MeepyMay @codingblazer @aanchal07 May I proceed?
This is a lot of work with the estimated hours. We're pushing this to the next dev lifecycle.
Okay!! @MeepyMay :)
Hey can i work on this issue.
@ShriyaSalian i would like to work on this one
May I work on this issue?
@isabelcosta @mayburgos @Rimjhim28 can I work on this issue??