When I build my app locally using eclipse and deploy to a device I see my top and bottom headers correctly. After using adobe phonegap build I have a new soft button at the bottom of the screen and have to scroll to see my bottom header.
PhoneGap Build version with extra soft button
Local build version without extra softbutton.
PhoneGap Build version with extra soft button
Local build version without extra softbutton.
- 3 Posts
- 0 Reply Likes
- frustrated
Posted 6 years ago
John Weidner, Champion
- 435 Posts
- 80 Reply Likes
What does your config.xml look like? Post it here within <code> </code> tags. I'm thinking that maybe the preferences for android-minSdkVersion or anrdroid-targetSdkVersion might cause that.
- 3 Posts
- 0 Reply Likes
Hi John,
Looks like you were correct. In my case the issue wasn't the values specified in those elements, it was the fact that I did not have those elements in the config.xml file at all.
I added the elements (min version of 11 and target version of 19) and the extra soft button disappeared.
Now of course the question is ... if I wanted such a soft button how would I go about creating one intentionally and would it be cross platform or an android specific artifact?
Looks like you were correct. In my case the issue wasn't the values specified in those elements, it was the fact that I did not have those elements in the config.xml file at all.
I added the elements (min version of 11 and target version of 19) and the extra soft button disappeared.
Now of course the question is ... if I wanted such a soft button how would I go about creating one intentionally and would it be cross platform or an android specific artifact?
John Weidner, Champion
- 435 Posts
- 80 Reply Likes
If you wanted another button at the bottom, I would think you'd just add that to your html file.
- 3 Posts
- 0 Reply Likes
Yes....
If I wanted a html button. What if I wanted an native android task bar with soft buttons that would only show up under specific condition?
If I wanted a html button. What if I wanted an native android task bar with soft buttons that would only show up under specific condition?
John Weidner, Champion
- 435 Posts
- 80 Reply Likes
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
I found several articles that claim, that
in the Android Manifest would introduce the additional menu button on the right side of the soft key bar.
I haven't tried it, but adding these 'SdkVersion' variables and values (as preferences) to your config.xml might be translated to the Manifest line by PGB.
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" />
in the Android Manifest would introduce the additional menu button on the right side of the soft key bar.
I haven't tried it, but adding these 'SdkVersion' variables and values (as preferences) to your config.xml might be translated to the Manifest line by PGB.
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers


