可以更改 MaterialCheckBox 周围的间距吗?

Possible to change the spacing around MaterialCheckBox?

我很想知道是否可以更改 MaterialCheckBox 周围的默认间距...或者是否有计划允许这样做。

举例来说,我定义了一个 CheckBox,周围有四个 TextViews(在它的左边、右边、顶部和底部),我没有指定边距在五个 Views 中的任何一个上。如果我将我的应用程序的主题定义为 Theme.AppCompat.Light 那么这个 CheckBox 将在其周围以相等的间距呈现,如下所示:

如果我将应用程序的主题更改为 Theme.MaterialComponents.Light 并且不对应用程序进行其他更改,则 CheckBox 呈现如下:

请注意我想根据需要自定义的不等间距。 MaterialCheckBox documentation and I can't see anything obvious in the class definition 中没有提到能够更改此间距。

(值得一提的是,我使用的是 com.google.android.material:material library 的最新版本,即 1.1.0-alpha03。无论我是否定义 [=11=,我上面所说的一切都适用]、AppCompatCheckBoxMaterialCheckBox 在我的布局中。关键是将主题从 Theme.AppCompat.Light 更改为 Theme.MaterialComponents.Light。)

这看起来与在 CheckBox 样式中使用 android:minWidth 强制执行 48dp minTouchTargetSize 以实现可访问性的 MaterialCheckBox 有关(这应该添加到文档中)。将 android:minWidth 设置为 0dp 应该可以。