DROID RAZR cuts off bottom of activity

vb1992

Well-Known Member
Licensed User
Longtime User
I tested an app on the new Verizon DROID RAZR by Motorola, and
the DROID BIONIC by Motorola last night, and noticed that the
bottom button was only showing half of it.

The button itself is 50 height, and I use

SearchButton.top = activity.height - 50

to place it on the bottom

My Activity is set to ShowTitle/True and Fullscreen/False
it was designed in the Abstract designer using
"Match Chosen Variant"

Has anyone see this problem?
Seems to be chopping off 25dips
on 2 devices....
 
Last edited:

ChrShe

Member
Licensed User
Longtime User
I ran into a similar thing going from Moto DroidX to Moto Droid Charge. What I ended up doing was to convert my app to have only dynamically generated activities, using percentages for x and y.

I.e. SearchButton.Top = Activity.Height - 10%y.
Or...
SearchButton.Top = 90%y
Or...
Activity.AddView(SearchButton, 0%x, 90%y, 50%x, 50dip)

Din't know the properties of your button, but the AddView will add a button 50 high and half as wide as the screen, to the bottom-left corner of the screen.

Hope this helps.

~Chris
 
Upvote 0

timo

Active Member
Licensed User
Longtime User
I ran into a similar thing going from Moto DroidX to Moto Droid Charge. What I ended up doing was to convert my app to have only dynamically generated activities, using percentages for x and y...

I agree. Since I'm using percentage I don't have any problems more with the downloads.
 
Upvote 0
Top