powerup-android icon indicating copy to clipboard operation
powerup-android copied to clipboard

Improving UI responsiveness: Use of INCLUDE and MERGE tags to re-use layouts

Open ShriyaSalian opened this issue 7 years ago • 7 comments

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 tag in_xml_file

The merge content(game_end.xml): to_be_merged

Output: 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

ShriyaSalian avatar Jan 07 '18 18:01 ShriyaSalian

@MeepyMay @codingblazer @aanchal07 May I proceed?

ShriyaSalian avatar Jan 07 '18 18:01 ShriyaSalian

This is a lot of work with the estimated hours. We're pushing this to the next dev lifecycle.

mayburgos avatar Feb 10 '18 19:02 mayburgos

Okay!! @MeepyMay :)

ShriyaSalian avatar Feb 14 '18 05:02 ShriyaSalian

Hey can i work on this issue.

Tanvi-Goyal avatar Feb 20 '19 10:02 Tanvi-Goyal

@ShriyaSalian i would like to work on this one

devanshi7799 avatar Feb 23 '20 18:02 devanshi7799

May I work on this issue?

Mehulipal avatar Mar 08 '20 10:03 Mehulipal

@isabelcosta @mayburgos @Rimjhim28 can I work on this issue??

aditmehta9 avatar Mar 09 '20 15:03 aditmehta9