nproth / pin

A minimalistic note-taking app for android utilizing your phone's notification area.
GNU General Public License v3.0
116 stars 7 forks source link

Incorrect position of the "three dots" in the text action menu #38

Closed di72nn closed 2 years ago

di72nn commented 3 years ago

The button that opens the overflow menu in the text action menu is slightly offset. Same issue with the arrow button that closes that menu.

Screenshots from an Android 9 emulator:

Actual layout Expected layout
Screenshot_1630756234 Screenshot_1630756248
Screenshot_1630756236 Screenshot_1630756250

Some experimentation showed that removing <item name="android:fitsSystemWindows">true</item> from values-v19/styles.xml solves the problem with the menu (but draws the UI under the on-screen keyboard; also removing android:windowTranslucentStatus produces the result under "Expected layout"). I'm not very good with Android UI so I didn't investigate any further.

This may not look like a serious issue, but it makes it much harder to open the overflow menu to reach the "Select all" action.

Thanks for developing the app!

nproth commented 2 years ago

Thank you, also for hunting the cause down. I think I have solved it, but I'm not very good with Android UI either ;)