September 16th, 2011, 11:38 PM
|
#2 (permalink)
|
|
New Member
Join Date: Sep 2011
Posts: 3
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
|
I'm new at Android stuff, but I think I see your problem. Starting with button 5 you started using android:layout_alignLeft="@+id/divided"
What's happening is the left side of button 5 is aligning to the left side of the divide button... plus your margin. So, instead of the left side of button 5 aligning to the left side of button 8, what happens is the edge of the 5dp margin on the left side of button 5 aligns to the left side of button 8.
You should probably try using android:layout_toRightOf="@+id/number4" similar to what you did for button 8. Either that or make your left margin 0 on button 5.
It's really all coding discrepancies. You should try using the same basic code as you did in line two for the rest of your buttons.
|
|
|
Last edited by rminkler; September 16th, 2011 at 11:46 PM.
|
|