Customization: Сommon Styles

General style Usedesk.Common

Child attributes:

NameDescriptionStandard value
usedesk_common_root_background
General background of the element@color/usedesk_white_1
usedesk_common_toolbar_root_background
Toolbar background color@color/usedesk_white_2
usedesk_common_toolbar_divider_background
Toolbar divider color@color/usedesk_gray_2
usedesk_common_toolbar_back_image
Back button image style@style/Usedesk.Common.Toolbar.Back.Image
usedesk_common_toolbar_action_image
Action Button Image Style@style/Usedesk.Common.Toolbar.Action.Image
usedesk_common_toolbar_title_text
Header text style@style/Usedesk.Common.Toolbar.Title.Text

General style Usedesk.Common.Toolbar.Back.Image

Child attributes:

NameDescriptionStandard value
srcCompat
Image@drawable/usedesk_ic_back

General style Usedesk.Common.Toolbar.Action.Image

Standard Attributes ImageView


General style Usedesk.Common.Toolbar.Title.Text

Standard Attributes TextView


General style Usedesk.Common.BottomSheetDialog

Parent style: Theme.MaterialComponents.Light.BottomSheetDialog

General style Usedesk.Common.No.Permission.Snackbar

Child attributes:

Name Description Standard value
usedesk_text_1 Link to the text of the message @string/usedesk_need_permission
usedesk_text_2
Link to the text of the action button @string/usedesk_settings
usedesk_text_color_1
Link to the color of the action button @color/usedesk_white_2
usedesk_text_color_2
Link to the text color of the action button @color/usedesk_red
usedesk_background_color_1
General background color reference @color/usedesk_black_2

General style Usedesk.Common.Text.Field

Child attributes:

NameDescriptionStandard value
usedesk_common_field_text_input_layoutTextInputLayout Style@style/Usedesk.Common.Field.Text.InputLayout

usedesk_common_field_text_edit_textTextInputEditText Style@style/Usedesk.Common.Field.Text.EditText

usedesk_text_1Standard title text""

usedesk_text_2Error text""

usedesk_text_color_1Title text color@color/usedesk_gray_2

usedesk_text_color_2Color of the header asterisk@color/usedesk_red

Usedesk.Common.Field.Text.InputLayout Style

Standard Attributes TextInputLayout
Usedesk.Common.Field.Text.EditText Style

Standard Attributes TextInputEditText


General style Usedesk.Common.List.Field

Child attributes:

NameDescriptionStandard value
usedesk_common_field_list_title_textTitle text style@style/Usedesk.Common.Field.List.Title.Text
usedesk_common_field_list_value_textValue text style@style/Usedesk.Common.Field.List.Value.Text
usedesk_common_field_list_arrow_imageArrow Image Style@style/Usedesk.Common.Field.List.Arrow.Image
usedesk_text_color_1Title text color@color/usedesk_gray_2
usedesk_text_color_2Title star color@color/usedesk_red
Usedesk.Common.Field.List.Title.Text Style

Standard Attributes TextView

Usedesk.Common.Field.List.Value.Text Style

Standard AttributesTextView

Usedesk.Common.Field.List.Arrow.Image Style

Standard Attributes ImageView