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!
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 trial
Patrick John Barry1,645 Points
There's a grey bar in between the two buttons, how do I remove it?
I've placed both buttons, but there seems to be a divider between the two. How can I remove it or change the colour?
Aarthi Singh3,373 Points
You can add a custom style to button to remove that grey line:
The final code will look like:
android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Continue home to Earth" android:id="@+id/choiceBtn1" android:layout_above="@+id/choiceBtn2" android:layout_alignStart="@+id/choiceBtn2" android:background="#ffffff" android:shadowColor="#ffffff" android:textColor="#3a8aec" style="?android:attr/borderlessButtonStyle"/> ```