Open VishnuSanal opened 2 years ago
i would like to contribute! what i need to do now?
i would like to contribute!
Sure!
what i need to do now?
As said in the comment, the purpose of this issue is essentially to reduce overdraw on activity_about
. Moving all the nested layouts to a ConstraintLayout
would be a good start. Making "contributors" & "translators" sections dynamic would help too (@VishalNehra should these be individual issues?)
Making "contributors" & "translators" sections dynamic would help too (@VishalNehra should these be individual issues?)
@ArunPrasanth-V seems like you can decide this - can you work on both under this, provided this is a Issue-Easy (good first issue)
? If not, feel free do the migration to ConstraintLayout
only, we can make the other parts a new issue.
since it is my first contribution. i need to move all the nested layout to a constraintLayout. if there any reference means that would be more helpfull either video or blog.
@ArunPrasanth-V Hi! Thanks for showing interest. I think docs would be a good place to started with ConstraintLayout. Also, feel free to join our telegram group if you've any queries :)
@VishnuSanal i'm having doubt As you said moving all the nested layouts such as Relative layout. whether i need to replace all the RelativeLayout to ConstraintLayout in the code.
@ArunPrasanth-V Nope, I felt like everything can be done with a single ConstraintLayout as the root. If we replace every RelativeLayout with ConstraintLayout, we aren't reducing any overdraw.
@VishnuSanal I need to change root layout (LinearLayout) to ConstraintLayout right! in the given code
1) In line number 63 only (or) i need change 76, authors (207)
2) translators ,contributors to RecyclerView.
if i'm worng correct me!
@ArunPrasanth-V
- In line number 63 only
Need not replace the root LinearLayout
(L#63), IMO - because it only contains elements that should be arranged linearly.
(or) i need change 76, authors (207), translators ,contributors to RecyclerView.
Yes, you'd need to replace every LinearLayout
s inside those five CardView
s to ConstraintLayout
s
@ArunPrasanth-V Any updates here?
@VishnuSanal I have changed LinearLayout to ConstraintLayout. Have a look at it!
@VishnuSanal I couldn't figure out where the view was overdrawn.
@VishnuSanal I couldn't figure out where the view was overdrawn.
@ArunPrasanth-V I'll review your PR & give you my suggestions there, in a while. :)
@ArunPrasanth-V
@VishnuSanal I couldn't figure out where the view was overdrawn.
Okay, as pointed out early, changes on #3109 does not reduce any overdraw. The intention of this issue was to necessarily remove the nested layouts and replace them with a ConstraintLayout
at the root.
Please refer to the tageed comment from this thread for reference. :)
- In line number 63 only
Need not replace the root
LinearLayout
(L#63), IMO - because it only contains elements that should be arranged linearly.(or) i need change 76, authors (207), translators ,contributors to RecyclerView.
Yes, you'd need to replace every
LinearLayout
s inside those fiveCardView
s toConstraintLayout
s
@ArunPrasanth-V Are you still working on this?
Hi @VishnuSanal , I am new to open source contribution, But i know development. Can i start working on this as this is good first issue?
Is it still open to work? Can i contribute to it?
Overdraw issue has been fixed in activity_about.xml. Should i open pull request now?
activity_about.xml
currently usesLinearLayout
s, nestedRelativeLayout
s etc. I think we can reduce overdraws by using aConstraintLayout
. Moving "Translators" and "Contributors" toRecyclerView
s would be helpful too.