Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You will implement an Android app that contains the following screen.
- Please reuse system UI whenever possible, no external framework is allowed.
- You don't need to consider the color but make sure the content is readable.
- +++++++++++++++++++++++++++++++++++++++++++++++
- + Menu Title + <--- Hamburger manu and navigation bar
- +++++++++++++++++++++++++++++++++++++++++++++++
- + + <--- static content for plan information
- + Plan name +
- + x minutes used | x total minutes +
- + +
- +---------------------------------------------+
- + +
- + Users + <--- List of the users
- +---------------------------------------------+
- + User A primary +
- + x minutes used +
- +---------------------------------------------+
- + User B secondary+
- + x minutes used +
- +---------------------------------------------+
- + +
- + +
- + See Detail + <-- Button
- +++++++++++++++++++++++++++++++++++++++++++++++
- assuming you have the following JSON payload from our backend server.
- {
- "response": {
- "messageCode": "",
- "status": "SUCCESS",
- "resultSize": 0,
- "pageNumber": 0,
- "errorCode": "",
- "errorMessage": "",
- "hasMore": false
- },
- "planName": "Premium",
- "totalMinutes": 200,
- "totalMinutesUsed": 28,
- "billingCycleStart": 1525892529000,
- "billingCycleEnd": 1528570929000,
- "usageBreakdown": [
- {
- "firstName": "Sujeeth",
- "userId": 2407,
- "userType": "primary",
- "minutesUsed": 0,
- "isPaused": false,
- "paused": false
- },
- {
- "firstName": "Enrico",
- "userId": 2499,
- "userType": "secondary",
- "minutesUsed": 0,
- "isPaused": false,
- "paused": false
- }
- ],
- "planUnlimited": false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement