AiAnswerDimensionsBuilder

Builder размеров AiAnswer.

Functions

Link copied to clipboard
open fun actionsGap(actionsGap: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ между content и actions.

Link copied to clipboard
abstract fun build(): AiAnswerDimensions

Возвращает готовые размеры.

Link copied to clipboard
open fun contentGap(contentGap: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ между title и content.

Link copied to clipboard
open fun loadingGap(loadingGap: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ между spinner и loading-текстом.

Link copied to clipboard
open fun paddingBottom(paddingBottom: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ снизу.

Link copied to clipboard
open fun paddingEnd(paddingEnd: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ справа.

Link copied to clipboard
open fun paddingStart(paddingStart: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ слева.

Link copied to clipboard
open fun paddingTop(paddingTop: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ сверху.

Link copied to clipboard
open fun suggestionsGap(suggestionsGap: Dp): AiAnswerDimensionsBuilder

Устанавливает отступ между actions и suggestions.