bsoc-bitbyte / myLeave

myLeave is a user-friendly app that streamlines leave request submissions and management.
4 stars 14 forks source link

XML Layout for Recycler View Item in User and Admin Dashboard #8

Closed Agrim2112 closed 2 months ago

Agrim2112 commented 2 months ago

Create the XML layout for User Dashboard and Admin Dashboard based on the design provided in the Figma.

Your layout must follow these guidelines:

  1. Use Linear Layout to create the Recycler View item, no need to create the adapter .
  2. Adhere to the given Figma design
  3. Follow the specified naming convention for each view group ID to maintain consistency and clarity.
sujalagrawal2 commented 2 months ago

@Agrim2112 I would like to work on it. My approach is to make linear layout(orientation = vertical) and inside it I will place three TextView and for middle TextView I will use (layout_gravity=end). I will set margin according to the figma. I will follow the specified naming convention for each ID. Thank You.

ayushsaksena30 commented 2 months ago

@Agrim2112 I would like to work on this issue. My approach will be to use Card View to display rounded corners with margins from the edges and use padding inside the layout. I'll also use Linear Layout with proper margins and Gravity to display the three Text Views. I'll also follow the UI styles and naming conventions from the Figma provided. Thank You

Agrim2112 commented 2 months ago

@ayushsaksena30 You can take up the issue. Use nested Linear layouts within a Linear layout to make the Recycle View item.