anitab-org / powerup-android

PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.
GNU General Public License v2.0
117 stars 430 forks source link

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

Open ShriyaSalian opened 6 years ago

ShriyaSalian commented 6 years ago

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]

Checklist

Definition of Done

Estimation

48-70 hours

ShriyaSalian commented 6 years ago

@MeepyMay @codingblazer @aanchal07 May I proceed?

mayburgos commented 6 years ago

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

ShriyaSalian commented 6 years ago

Okay!! @MeepyMay :)

Tanvi-Goyal commented 5 years ago

Hey can i work on this issue.

devanshi7799 commented 4 years ago

@ShriyaSalian i would like to work on this one

Mehulipal commented 4 years ago

May I work on this issue?

aditmehta9 commented 4 years ago

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