New dialog assets. Cancelable AlertDialogs may now be canceled by tapping outside.
Change-Id: I061f09bd79a5f2b627fb0f01aba36f37449b849d
This commit is contained in:
@@ -125,7 +125,7 @@ public class ButtonGroup extends LinearLayout {
|
||||
|
||||
@Override
|
||||
public void addView(View child, int index, ViewGroup.LayoutParams params) {
|
||||
if (mButtonBackgroundRes != 0) {
|
||||
if (child instanceof Button && mButtonBackgroundRes != 0) {
|
||||
// Preserve original padding as we change the background
|
||||
final int paddingLeft = child.getPaddingLeft();
|
||||
final int paddingRight = child.getPaddingRight();
|
||||
|
||||
Reference in New Issue
Block a user