Merge "Fixed button bar alignment issue in RTL languages" am: 403c8f72e3
am: 2063b1f792
Change-Id: I7493a720ef88f0b40ebed483d474a34ad9ee5da4
This commit is contained in:
@@ -151,7 +151,7 @@ public class ButtonBarLayout extends LinearLayout {
|
||||
|
||||
private void setStacked(boolean stacked) {
|
||||
setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL);
|
||||
setGravity(stacked ? Gravity.RIGHT : Gravity.BOTTOM);
|
||||
setGravity(stacked ? Gravity.END : Gravity.BOTTOM);
|
||||
|
||||
final View spacer = findViewById(R.id.spacer);
|
||||
if (spacer != null) {
|
||||
|
||||
Reference in New Issue
Block a user