Merge "LayoutLib: downsize the SparseArray when possible."