-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #3572 revision_card_fragment.xml files merged into two xml file #4101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArchitJain1201 also change the title of PR it should be FIx #bugnum
<dimen name="revision_card_fragment_layout_margin_end">28dp</dimen> | ||
<dimen name="revision_card_fragment_layout_margin_top_button">48dp</dimen> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArchitJain1201 remove this extra line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ma'am How can I remove revision_card_fragment_layout_margin_top_button as its value is being change in port and land mode and even it carry a different value than revision_card_fragment_layout_margin_top_text. ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need to remove it, you wont be able to merge 4 files into 1 as tab layout is different than mobile layout so just merge 2 tab layouts into 1 and 2 mobile into one using the dimens files and adding the required values there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes was made
app/src/main/res/values/dimens.xml
Outdated
@@ -593,4 +593,13 @@ | |||
|
|||
<!-- StoryFragment --> | |||
<dimen name="story_fragment_padding_bottom">160dp</dimen> | |||
|
|||
<!-- Revision Card Fragment--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArchitJain1201 write name of file without spacing as StoryFragment is written
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes was made
PTAL @bkaur-bkj |
Unassigning @ArchitJain1201 since a re-review was requested. @ArchitJain1201, please make sure you have addressed all review comments. Thanks! |
android:layout_marginTop="48dp" | ||
android:layout_marginEnd="28dp" | ||
android:layout_marginStart="@dimen/revision_card_fragment_layout_margin" | ||
android:layout_marginTop="@dimen/revision_card_fragment_layout_margin_top_button" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArchitJain1201 if instead of naming dimension as margin_top_button it will look more proper as buttom_margin_top, PTAL and change it along all the files, also in 1-2 files still the extra lines are not removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry Ma'am, not able to get you, which extra lines you are talking about?
<dimen name="revision_card_fragment_layout_margin_end">28dp</dimen> | ||
<dimen name="revision_card_fragment_layout_margin_top_button">48dp</dimen> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need to remove it, you wont be able to merge 4 files into 1 as tab layout is different than mobile layout so just merge 2 tab layouts into 1 and 2 mobile into one using the dimens files and adding the required values there
@ArchitJain1201 also the branch has merge conflicts you need to resolve them by updating your branch with develop |
PTAL @bkaur-bkj |
Unassigning @ArchitJain1201 since a re-review was requested. @ArchitJain1201, please make sure you have addressed all review comments. Thanks! |
<!-- RevisionCardFragment--> | ||
<dimen name="revision_card_fragment_layout_min_width" tools:ignore="MissingDefaultResource">512dp</dimen> | ||
<dimen name="revision_card_fragment_padding_bottom">160dp</dimen> | ||
<dimen name="revision_card_fragment_layout_text_margin_top">36dp</dimen> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will work but I guess it is not preferred to do this way. cc @rt4914 PTAL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HAve consulted to sir and the required changes were made
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArchitJain1201 Please add before and after screenshots in PR description. Thanks a lot.
PTAL @bkaur-bkj @rt4914 |
Unassigning @ArchitJain1201 since a re-review was requested. @ArchitJain1201, please make sure you have addressed all review comments. Thanks! |
@ArchitJain1201 Please reply to all the comments above so that the reviewer can know whether that suggestion was applied or not. |
PTAL @rt4914 sir I have reply to each and every comment please have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArchitJain1201 PTAL thanks.
PTAL @rt4914 |
Unassigning @ArchitJain1201 since a re-review was requested. @ArchitJain1201, please make sure you have addressed all review comments. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArchitJain1201 One change is pending.
PTAL @rt4914 |
Unassigning @ArchitJain1201 since a re-review was requested. @ArchitJain1201, please make sure you have addressed all review comments. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
Unassigning @rt4914 since they have already approved the PR. |
Explanation
Fix #3572
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then:
Before
After
Before
After
Before
After
Before
After
@ptal bkaur-bkj