Skip to content

Fix: increase touch target for weather widget #1403

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

Conversation

Avinash-Codes
Copy link
Contributor

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with gradlew connectedObaGoogleDebugAndroidTest to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them for the initial submission of the pull request. When addressing comments on a pull request, please push a new commit per comment when possible (reviewers will squash and merge using GitHub merge tool)

fixes #1387

@@ -96,20 +96,20 @@
<androidx.cardview.widget.CardView
android:id="@+id/weatherView"
android:layout_marginEnd="16dp"
android:layout_marginTop="16dp"
android:layout_marginTop="10dp"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep it 16.

@amrhossamdev
Copy link
Member

Hmmm, after testing that for me, the view of the weather is not acceptable, so I think it's better in the current state
image

@Avinash-Codes
Copy link
Contributor Author

Avinash-Codes commented Apr 5, 2025

Hmmm, after testing that for me, the view of the weather is not acceptable, so I think it's better in the current state image

I was thinking the same and waiting for your opinion. Can we just increase the touch target not the size using TouchDelegate?
@amrhossamdev What you say?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weather Widget Touch Target Too Small
2 participants