Please advise which dimensions need to be made divisible by 4/8 to fit on a grid better…
- User
Please advise which dimensions need to be made divisible by 4/8 to fit on a grid better "
code - Assistant
- User
Can you do that again but with mentioning the numbers of the lines from the original code and forgoing division by 8
- Assistant
Certainly! Here are the dimensions that can be adjusted without considering division by 8, with their respective line numbers from the original code:
android:layout_margin(line 12)android:layout_marginEnd(line 15)android:layout_marginVertical(line 23)android:layout_marginStart(line 28)android:layout_marginEnd(line 28)android:paddingStart(line 38)android:paddingTop(line 38)android:paddingEnd(line 38)android:paddingBottom(line 38)android:paddingStart(line 47)android:paddingEnd(line 47)android:paddingStart(line 57)android:paddingEnd(line 57)android:paddingVertical(line 57)android:paddingStart(line 57)android:paddingEnd(line 57)android:paddingStart(line 66)android:paddingStart(line 66)
- User
Please add original and resulting dimensions
- Assistant
- User
How do I update a pull reqwithout making a new one?
- Assistant
To update an existing pull request without creating a new one, you can follow these steps:
-
Make sure you have cloned the repository locally and have it set up as a Git remote in your environment.
-
Switch to the branch associated with the pull request locally. For example, if your pull request is on a branch called
feature/my-feature, use the following command:codegit checkout feature/my-feature -
Make the necessary changes and commits to your local branch. These changes will be reflected in the pull request.
-
Push the changes to the remote branch. Use the following command:
codegit push origin feature/my-featureReplace
feature/my-featurewith the actual branch name. -
The changes should now be reflected in the existing pull request. You may need to refresh the pull request page to see the updated changes.
-
- User
Sorry I hit enter accidentally. Meant to ask "I have a PR with comments on GItHub that had some comments from the reviewer. I've finished amending the code and am ready to push/commit from android studio. Please give me step-by-step instructions on what do I need to do so I update the Pull Request without making a new one(so that I can keep and answer comments there)
- Assistant
To update a pull request on GitHub with your amended code while keeping the existing comments, you can follow these steps:
-
Open Android Studio and make the required changes to your code based on the reviewer's comments.
-
Once you are satisfied with the changes, you need to commit and push them to the branch associated with the pull request.
-
In Android Studio, go to the Git tool window. You can find it by navigating to "View" -> "Tool Windows" -> "Version Control".
-
Select the file or files you want to commit and push. Right-click on them and choose "Commit".
-
In the commit dialog, provide a meaningful commit message that describes the changes you made.
-
Select the option to "Push commits". This will push your changes to the remote repository.
-
Now, switch to your web browser and open the repository on GitHub.
-
Navigate to the pull request that you want to update.
-