Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrendan Milton
9,050 Pointsmaking an alternate version of the story app and having trouble separating the buttons.
Making an alternate version of the story app and having trouble separating the buttons. If I try to do it in the design view my buttons go to far from each other, tried stack overflow but cant figure out how to get them evenly spaced and separated from one another.
my button code is below
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|center"
android:text="Start Quiz"
android:id="@+id/button"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginBottom="46dp"
android:textColor="#6F809F"
android:background="#ffffffff"
android:clickable="true" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|center"
android:text="Start Queen Mary History"
android:id="@+id/button2"
android:layout_above="@+id/button"
android:layout_alignLeft="@+id/button"
android:layout_alignStart="@+id/button"
android:clickable="true"
android:background="#ffffffff"
android:textColor="#6F809F" />
any help would be great!
Brendan Milton
9,050 PointsBrendan Milton
9,050 PointsI would add a screenshot but im not sure If I can?