If the buttons are set as singleLine = “false” in a LinearLayout and If they have multiline text, there may be alignment problem between the buttons.
As in the shown below;
The horizontal LinearLayout implements baseline alignment to the objects. In this situation, the second buttos is trying to align with the first one’s text line.
Here is the solution;
Disabling the base line alignment of the buttons’ container LinearLayout will fix the problem as in the shown below
android:baselineAligned="false"
Be First to Comment