Bug 879490: LinearLayout grew up to accept styles only very late. [r=margaret]

This commit is contained in:
Sriram Ramasubramanian 2013-06-04 14:18:02 -07:00
parent 07118340e6
commit c4dbe0093a

View File

@ -34,11 +34,7 @@ public class TwoLinePageRow extends LinearLayout {
}
public TwoLinePageRow(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public TwoLinePageRow(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
super(context, attrs);
setGravity(Gravity.CENTER_VERTICAL);