Setting style=“?android:attr/buttonBarStyle” to parent layout and style=“?android:attr/buttonBarButtonStyle” to buttons make them invisible
问题 I followed Android recommendation and set style="?android:attr/buttonBarStyle" to parent layout and style="?android:attr/buttonBarButtonStyle" to buttons. So now my layout is something like this: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" style="?android:attr/buttonBarStyle"> <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout