nproth / pin

A minimalistic note-taking app for android utilizing your phone's notification area.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

di72nn opened this issue · comments

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!

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