Skip to content

Commit

Permalink
Fix new lint 31.1 detections
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Jul 10, 2023
1 parent 82ec0e1 commit f4e102f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions feature/about/src/main/res/values/strings_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
\n\n<big><b>Palette</b></big>
\n&#8195;&#8226;&#8194;The displayed Swatches and their order can be changed with the dropdown below the slider.
\n&#8195;&#8226;&#8194;Long tap a swatch in the list to copy colors.
\n&#8195;&#8226;&#8194;Don\'t set <tt>resizeBitmapSize</tt> too high, because it slows down.
\n&#8195;&#8226;&#8194;Dont set <tt>resizeBitmapSize</tt> too high, because it slows down.
</string>

<string name="cf_about_faq_title">FAQ (Frequently Asked Questions)</string>
Expand All @@ -48,7 +48,7 @@
\nFeel free to send any kind of comment, request, suggestion, error report;
just about any thought regarding this application.

\n\n<b>I don\'t like the built-in keyboards!</b>
\n\n<b>I dont like the built-in keyboards!</b>
\nYou can turn them off in the Settings, and feel free to leave some feedback about it!
</string>

Expand Down
2 changes: 1 addition & 1 deletion feature/base/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<string name="cf_info_ok">Thanks</string>
<string name="cf_info_copy_toast">Copied to clipboard</string>
<string name="cf_info_copy_toast_arg">%s copied to clipboard</string>
<string name="cf_info_code">Here\'s the current code:</string>
<string name="cf_info_code">Heres the current code:</string>

<string name="cf_share_title">Share</string>
<string name="cf_share_picker_title">Share Color Filter</string>
Expand Down
4 changes: 2 additions & 2 deletions feature/palette/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
\n\nYou can specify the maximum number of color swatches extracted from which the above six named ones are selected.
Good values for <tt>maximumColorCount</tt> depend on the source image type.
For landscapes, a good values are in the range 12&#8211;16.
For images which are largely made up of people\'s faces then this value should be increased to 24&#8211;32.
For images which are largely made up of peoples faces then this value should be increased to 24&#8211;32.
The default <tt>maximumColorCount</tt> is 16.
The number of returned swatches may be less than <tt>maximumColorCount</tt>, but at least one is always returned.
Not all of the above named ones are guaranteed to be found.
\n\nA swatch consists of a main background color and two text colors.
The text colors are guaranteed to have sufficient contrast when drawn over the background color.
\n\nYou can also specify the size of the image from which the palette is generated. The default is 192px.
If the bitmap\'s largest dimension is greater than <tt>resizeBitmapSize</tt>, then the bitmap will be resized so that it\'s largest dimension matches the value.
If the bitmaps largest dimension is greater than <tt>resizeBitmapSize</tt>, then the bitmap will be resized so that its largest dimension matches the value.
If the bitmap is smaller or equal, the original is used as-is.
\n<tt>resizeBitmapSize</tt> has a large effect on the processing time. The larger the resized image is, the greater time it will take to generate the palette.
The smaller the image is, the more detail is lost in the resulting image and thus less precision for color selection.
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ org.gradle.warning.mode=fail

# Android Gradle Plugin setup
android.useAndroidX=true
#noinspection GradleDependency no need to keep up to date, it's a development tool.
#android.experimental.lint.version=8.2.0-alpha10

# Build setup
kapt.incremental.apt=true
Expand Down

0 comments on commit f4e102f

Please sign in to comment.