EduardoElias Well-Known Member Licensed User Longtime User Apr 11, 2016 #1 I have kept my application with the android:targetSdkVersion="10" to force that 3 dots menu appear and the user can call my PreferencesScreen. However this is a problem for me since the google play only recognize my app as tablet compatible if I get version 11 ou above. I see that moving the targetSdkVersion to 11 Android 6 does show the 3 dots. However most of my customers are using early 4 versions (4.0.4 or 4.1.1) and in those version there is no menu, and then no way to configure the app. Is there a easy way to add this application menu based on the PreferenceScreen/PreferenceManager that I have already implemented? Thanks
I have kept my application with the android:targetSdkVersion="10" to force that 3 dots menu appear and the user can call my PreferencesScreen. However this is a problem for me since the google play only recognize my app as tablet compatible if I get version 11 ou above. I see that moving the targetSdkVersion to 11 Android 6 does show the 3 dots. However most of my customers are using early 4 versions (4.0.4 or 4.1.1) and in those version there is no menu, and then no way to configure the app. Is there a easy way to add this application menu based on the PreferenceScreen/PreferenceManager that I have already implemented? Thanks
Erel B4X founder Staff member Licensed User Longtime User Apr 11, 2016 #2 You should set the targetSdkVersion to 14+. The three dots will appear in the top right corner on all Android 4+ devices that don't have a physical menu button. Upvote 0
You should set the targetSdkVersion to 14+. The three dots will appear in the top right corner on all Android 4+ devices that don't have a physical menu button.
EduardoElias Well-Known Member Licensed User Longtime User Apr 11, 2016 #3 Thanks Just tested on 4.0.4 with targetsdkversion=14 and 15 and did not show up the 3 dots. Interesting that calling Activity.OpenMenu does not work either. When I revert back to target=10 the 3 dots comes back, and if I call the OpenMenu directly it does work. (using b4a 3.82 and preferenceactivity 1.01) Upvote 0
Thanks Just tested on 4.0.4 with targetsdkversion=14 and 15 and did not show up the 3 dots. Interesting that calling Activity.OpenMenu does not work either. When I revert back to target=10 the 3 dots comes back, and if I call the OpenMenu directly it does work. (using b4a 3.82 and preferenceactivity 1.01)
Erel B4X founder Staff member Licensed User Longtime User Apr 11, 2016 #4 Which device are you using? Upvote 0
EduardoElias Well-Known Member Licensed User Longtime User Apr 12, 2016 #5 I am using a Motorola Xoom Tablet MZ605 upgraded to Android 4.0.4 it is an old device, but I have a lot of customers with it using as a POS and is actually pretty good to develop with. Upvote 0
I am using a Motorola Xoom Tablet MZ605 upgraded to Android 4.0.4 it is an old device, but I have a lot of customers with it using as a POS and is actually pretty good to develop with.
Erel B4X founder Staff member Licensed User Longtime User Apr 12, 2016 #6 Are you hiding the title bar? Upvote 0
EduardoElias Well-Known Member Licensed User Longtime User Apr 13, 2016 #7 bingo! changed the IncludeTitle to true and the overflow menu appeared on the titlebar. I would never find it. Thanks! Upvote 0
bingo! changed the IncludeTitle to true and the overflow menu appeared on the titlebar. I would never find it. Thanks!