Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAPT: error: duplicate value for resource 'attr/textStyle' with config ''. #585

Open
ten-skv opened this issue Jul 7, 2022 · 0 comments

Comments

@ten-skv
Copy link

ten-skv commented Jul 7, 2022

.gradle/caches/transforms-2/files-2.1/717a955ea77a238245f5bda828ae15c0/core-5.2.4/res/values/values.xml:3:5
AAPT: error: duplicate value for resource 'attr/textStyle' with config ''.

    <!-- Calendar configuration -->
    <attr format="integer" name="numberOfVisibleDays"/>
    <attr format="boolean" name="restoreNumberOfVisibleDays"/>
    <attr format="boolean" name="showFirstDayOfWeekFirst"/>
    <attr format="boolean" name="showCurrentTimeFirst"/>
    <attr format="boolean" name="arrangeAllDayEventsVertically"/>

    <!-- Header bottom line -->
    <attr format="boolean" name="showHeaderBottomLine"/>
    <attr format="color" name="headerBottomLineColor"/>
    <attr format="dimension" name="headerBottomLineWidth"/>

    <!-- Header bottom shadow -->
    <attr format="boolean" name="showHeaderBottomShadow"/>
    <attr format="color" name="headerBottomShadowColor"/>
    <attr format="dimension" name="headerBottomShadowRadius"/>

    <!-- Time column -->
    <attr format="color" name="timeColumnTextColor"/>
    <attr format="color" name="timeColumnBackgroundColor"/>
    <attr format="dimension" name="timeColumnPadding"/>
    <attr format="dimension" name="timeColumnTextSize"/>
    <attr format="boolean" name="showMidnightHour"/>
    <attr format="boolean" name="showTimeColumnHourSeparator"/>
    <attr format="integer" name="timeColumnHoursInterval"/>

    <!-- Time column separator -->
    <attr format="boolean" name="showTimeColumnSeparator"/>
    <attr format="color" name="timeColumnSeparatorColor"/>
    <attr format="dimension" name="timeColumnSeparatorStrokeWidth"/>

    <!-- Time range -->
    <attr format="integer" name="minHour"/>
    <attr format="integer" name="maxHour"/>

    <!-- Header row -->
    <attr format="color" name="headerBackgroundColor"/>
    <attr format="dimension" name="headerPadding"/>
    <attr format="dimension" name="headerTextSize"/>
    <attr format="color" name="headerTextColor"/>
    <attr format="color" name="todayHeaderTextColor"/>
    <attr format="color" name="weekendHeaderTextColor"/>

    <!-- Week number -->
    <attr format="boolean" name="showWeekNumber"/>
    <attr format="color" name="weekNumberTextColor"/>
    <attr format="dimension" name="weekNumberTextSize"/>
    <attr format="color" name="weekNumberBackgroundColor"/>
    <attr format="dimension" name="weekNumberBackgroundCornerRadius"/>

    <!-- Event chips -->
    <attr format="dimension" name="eventCornerRadius"/>
    <attr format="dimension" name="eventTextSize"/>
    <attr format="boolean" name="adaptiveEventTextSize"/>
    <attr format="color" name="eventTextColor"/>
    <attr format="dimension" name="eventPaddingHorizontal"/>
    <attr format="dimension" name="eventPaddingVertical"/>
    <attr format="color" name="defaultEventColor"/>
    <attr format="dimension" name="allDayEventTextSize"/>

    <!-- Event margins -->
    <attr format="dimension" name="columnGap"/>
    <attr format="dimension" name="overlappingEventGap"/>
    <attr format="dimension" name="eventMarginVertical"/>
    <attr format="dimension" name="singleDayHorizontalPadding"/>

    <!-- Colors -->
    <attr format="color" name="dayBackgroundColor"/>
    <attr format="color" name="todayBackgroundColor"/>
    <attr format="color" name="pastBackgroundColor"/>
    <attr format="color" name="futureBackgroundColor"/>
    <attr format="color" name="pastWeekendBackgroundColor"/>
    <attr format="color" name="futureWeekendBackgroundColor"/>

    <!-- Hour height -->
    <attr format="dimension" name="hourHeight"/>
    <attr format="dimension" name="minHourHeight"/>
    <attr format="dimension" name="maxHourHeight"/>
    <attr format="boolean" name="showCompleteDay"/>

    <!-- Now line -->
    <attr format="boolean" name="showNowLine"/>
    <attr format="color" name="nowLineColor"/>
    <attr format="dimension" name="nowLineStrokeWidth"/>

    <!-- Now line dot -->
    <attr format="boolean" name="showNowLineDot"/>
    <attr format="color" name="nowLineDotColor"/>
    <attr format="dimension" name="nowLineDotRadius"/>

    <!-- Hour separators -->
    <attr format="boolean" name="showHourSeparator"/>
    <attr format="color" name="hourSeparatorColor"/>
    <attr format="dimension" name="hourSeparatorStrokeWidth"/>

    <!-- Day separators -->
    <attr format="boolean" name="showDaySeparator"/>
    <attr format="color" name="daySeparatorColor"/>
    <attr format="dimension" name="daySeparatorStrokeWidth"/>

    <!-- Scrolling -->
    <attr format="boolean" name="horizontalScrollingEnabled"/>

    <attr format="float" name="xScrollingSpeed"/>
    <attr format="boolean" name="verticalFlingEnabled"/>
    <attr format="boolean" name="horizontalFlingEnabled"/>
    <attr format="integer" name="scrollDuration"/>

    <!-- Font -->
    <attr format="string" name="fontFamily"/>
    <attr name="typeface">
        <enum name="normal" value="0"/>
        <enum name="sans" value="1"/>
        <enum name="serif" value="2"/>
        <enum name="monospace" value="3"/>
    </attr>
    <attr name="textStyle">
        <flag name="normal" value="0"/>
        <flag name="bold" value="1"/>
        <flag name="italic" value="2"/>
    </attr>

</declare-styleable>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant