After we had successfully integrate the icons to the application as statements for condition panel and action panel, my team told me to work on delete feature to remove an icon when it had been placed on either condition panel or action panel. During this discussion, we decided to make the delete feature looks similar like Facebook Version 6.0 for iPhone. Therefore, the icon can be removed by dragging it to the delete area at the bottom of the screen.
From this idea, my team member, Hendry, helped me in making this feature by giving me Nicolas Desjardins's Project from the internet that is really useful for me. I took some knowledge from his project and ended up in having a small gray rectangle at the bottom of the screen with trash icon and "Delete" text in it with a little transparency which basically looks like this:
When I had completed this feature, I realized that our project's condition panel and action panel are using Linear Layout which only enables multiple statements in one row. Therefore, I changed their layouts into Grid-View Layout.
No comments:
Post a Comment