I am working on an android project and I have a LinearLayout which contains 2 horizontal buttons using borderless button style.
I am trying to show dividers in between each button but they are not showing up but I can't see any reason why not. Below is the XML layout:
<LinearLayout android:id="@+id/call_log_select_host_button_group"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_alignParentBottom="true"
android:divider="#ffffff"
android:showDividers="middle"
android:dividerPadding="22dp">
<Button android:id="@+id/call_log_select_btnCancel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cancel"
style="?android:attr/borderlessButtonStyle" />
<Button android:id="@+id/call_log_select_btnBlock"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Block"
style="?android:attr/borderlessButtonStyle" />
</LinearLayout>
Thanks for any help you can provide.