mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/26738 - Update MR onboarding with the latest illustrations
This commit is contained in:
parent
6cfe8c9008
commit
bdb4bffa35
@ -19,17 +19,6 @@
|
|||||||
column="5"/>
|
column="5"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
|
||||||
id="UnusedAttribute"
|
|
||||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
|
||||||
errorLine1=" android:foreground="?android:attr/selectableItemBackground">"
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/res/layout/collection_home_list_row.xml"
|
|
||||||
line="17"
|
|
||||||
column="5"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="UnusedAttribute"
|
id="UnusedAttribute"
|
||||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
||||||
@ -41,39 +30,6 @@
|
|||||||
column="9"/>
|
column="9"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
|
||||||
id="UnusedAttribute"
|
|
||||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
|
||||||
errorLine1=" android:foreground="?android:attr/selectableItemBackground""
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/res/layout/inactive_header_item.xml"
|
|
||||||
line="27"
|
|
||||||
column="9"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="UnusedAttribute"
|
|
||||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
|
||||||
errorLine1=" android:foreground="?android:attr/selectableItemBackground""
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/res/layout/inactive_header_item.xml"
|
|
||||||
line="63"
|
|
||||||
column="13"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="UnusedAttribute"
|
|
||||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
|
||||||
errorLine1=" android:foreground="?android:attr/selectableItemBackground""
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/res/layout/inactive_tab_list_item.xml"
|
|
||||||
line="20"
|
|
||||||
column="9"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="UnusedAttribute"
|
id="UnusedAttribute"
|
||||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
||||||
@ -294,6 +250,28 @@
|
|||||||
column="5"/>
|
column="5"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="InflateParams"
|
||||||
|
message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)"
|
||||||
|
errorLine1=" .inflate(R.layout.delete_history_time_range_dialog, null)"
|
||||||
|
errorLine2=" ~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt"
|
||||||
|
line="379"
|
||||||
|
column="73"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="MissingLicense"
|
||||||
|
message="The file must start with a comment containing the license"
|
||||||
|
errorLine1="package org.mozilla.fenix.ext"
|
||||||
|
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/java/org/mozilla/fenix/ext/Bitmap.kt"
|
||||||
|
line="1"
|
||||||
|
column="1"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="VectorRaster"
|
id="VectorRaster"
|
||||||
message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
|
message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
|
||||||
@ -305,6 +283,39 @@
|
|||||||
column="20"/>
|
column="20"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="VectorRaster"
|
||||||
|
message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
|
||||||
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" android:width="235dp" android:height="298dp" android:viewportWidth="235" android:viewportHeight="298">"
|
||||||
|
errorLine2=" ~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/res/drawable/ic_onboarding_sync.xml"
|
||||||
|
line="1"
|
||||||
|
column="128"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="VectorRaster"
|
||||||
|
message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more"
|
||||||
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" android:width="223dp" android:height="345dp" android:viewportWidth="223" android:viewportHeight="345">"
|
||||||
|
errorLine2=" ~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/res/drawable/ic_onboarding_welcome.xml"
|
||||||
|
line="1"
|
||||||
|
column="128"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="VisibleForTests"
|
||||||
|
message="This method should only be accessed from tests or within private scope"
|
||||||
|
errorLine1=" recentTabs = state.recentTabs.filterOutTab(action.recentTab)"
|
||||||
|
errorLine2=" ~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/java/org/mozilla/fenix/components/appstate/AppStoreReducer.kt"
|
||||||
|
line="74"
|
||||||
|
column="47"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="VisibleForTests"
|
id="VisibleForTests"
|
||||||
message="This method should only be accessed from tests or within private scope"
|
message="This method should only be accessed from tests or within private scope"
|
||||||
@ -312,7 +323,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
||||||
line="96"
|
line="97"
|
||||||
column="38"/>
|
column="38"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -323,7 +334,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
||||||
line="118"
|
line="119"
|
||||||
column="38"/>
|
column="38"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -334,7 +345,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
||||||
line="141"
|
line="142"
|
||||||
column="21"/>
|
column="21"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -345,7 +356,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
||||||
line="155"
|
line="156"
|
||||||
column="25"/>
|
column="25"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -356,7 +367,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
||||||
line="183"
|
line="184"
|
||||||
column="28"/>
|
column="28"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -367,10 +378,21 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
file="src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"
|
||||||
line="273"
|
line="274"
|
||||||
column="9"/>
|
column="9"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="VisibleForTests"
|
||||||
|
message="This method should only be accessed from tests or within private scope"
|
||||||
|
errorLine1=" } + searchSelectorMenu.menuItems()"
|
||||||
|
errorLine2=" ~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
|
line="725"
|
||||||
|
column="36"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="VisibleForTests"
|
id="VisibleForTests"
|
||||||
message="This method should only be accessed from tests or within private scope"
|
message="This method should only be accessed from tests or within private scope"
|
||||||
@ -378,7 +400,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt"
|
file="src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt"
|
||||||
line="138"
|
line="148"
|
||||||
column="20"/>
|
column="20"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -393,6 +415,17 @@
|
|||||||
column="5"/>
|
column="5"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="ModifierParameter"
|
||||||
|
message="Modifier parameter should be the first optional parameter"
|
||||||
|
errorLine1=" modifier: Modifier = Modifier,"
|
||||||
|
errorLine2=" ~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/java/org/mozilla/fenix/compose/ThumbnailCard.kt"
|
||||||
|
line="59"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="UseCompatLoadingForDrawables"
|
id="UseCompatLoadingForDrawables"
|
||||||
message="Use `AppCompatResources.getDrawable()`"
|
message="Use `AppCompatResources.getDrawable()`"
|
||||||
@ -411,74 +444,19 @@
|
|||||||
errorLine2=" ^">
|
errorLine2=" ^">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/values-nb-rNO/strings.xml"
|
file="src/main/res/values-nb-rNO/strings.xml"
|
||||||
line="71"
|
line="56"
|
||||||
column="231"/>
|
column="231"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Typos"
|
id="Typos"
|
||||||
message="Repeated word "zaman" in message: possible typo"
|
message="Repeated word "zaman" in message: possible typo"
|
||||||
errorLine1=" <string name="studies_description">Firefox zaman zaman araştırmalar yükleyip çalıştırabilir.</string>"
|
errorLine1=" <string name="studies_description_2">%1$s zaman zaman araştırmalar yükleyip çalıştırabilir.</string>"
|
||||||
errorLine2=" ^">
|
errorLine2=" ^">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/values-tr/strings.xml"
|
file="src/main/res/values-tr/strings.xml"
|
||||||
line="749"
|
line="705"
|
||||||
column="48"/>
|
column="47"/>
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="IntentFilterExportedReceiver"
|
|
||||||
message="When using intent filters, please specify `android:exported` as well"
|
|
||||||
errorLine1=" <activity-alias"
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/AndroidManifest.xml"
|
|
||||||
line="48"
|
|
||||||
column="10"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="IntentFilterExportedReceiver"
|
|
||||||
message="When using intent filters, please specify `android:exported` as well"
|
|
||||||
errorLine1=" <activity-alias"
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/AndroidManifest.xml"
|
|
||||||
line="72"
|
|
||||||
column="10"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="IntentFilterExportedReceiver"
|
|
||||||
message="When using intent filters, please specify `android:exported` as well"
|
|
||||||
errorLine1=" <activity"
|
|
||||||
errorLine2=" ~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/AndroidManifest.xml"
|
|
||||||
line="80"
|
|
||||||
column="10"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="IntentFilterExportedReceiver"
|
|
||||||
message="When using intent filters, please specify `android:exported` as well"
|
|
||||||
errorLine1=" <service"
|
|
||||||
errorLine2=" ~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/AndroidManifest.xml"
|
|
||||||
line="273"
|
|
||||||
column="10"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="IntentFilterExportedReceiver"
|
|
||||||
message="When using intent filters, please specify `android:exported` as well"
|
|
||||||
errorLine1=" <receiver"
|
|
||||||
errorLine2=" ~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/AndroidManifest.xml"
|
|
||||||
line="299"
|
|
||||||
column="10"/>
|
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
@ -532,7 +510,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/component_tracking_protection_panel.xml"
|
file="src/main/res/layout/component_tracking_protection_panel.xml"
|
||||||
line="199"
|
line="198"
|
||||||
column="6"/>
|
column="6"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -576,7 +554,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/collections/SaveCollectionListAdapter.kt"
|
file="src/main/java/org/mozilla/fenix/collections/SaveCollectionListAdapter.kt"
|
||||||
line="50"
|
line="49"
|
||||||
column="9"/>
|
column="9"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -587,7 +565,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt"
|
file="src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt"
|
||||||
line="384"
|
line="421"
|
||||||
column="13"/>
|
column="13"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -620,7 +598,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/fragment_browser.xml"
|
file="src/main/res/layout/fragment_browser.xml"
|
||||||
line="73"
|
line="87"
|
||||||
column="10"/>
|
column="10"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -756,28 +734,6 @@
|
|||||||
column="6"/>
|
column="6"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
|
||||||
id="UseCompoundDrawables"
|
|
||||||
message="This tag and its children can be replaced by one `<TextView/>` and a compound drawable"
|
|
||||||
errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
||||||
errorLine2=" ~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/res/layout/view_synced_tabs_title.xml"
|
|
||||||
line="5"
|
|
||||||
column="2"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="LogConditional"
|
|
||||||
message="The log call Log.i(...) should be conditional: surround with `if (Log.isLoggable(...))` or `if (BuildConfig.DEBUG) { ... }`"
|
|
||||||
errorLine1=" Log.i("Crash Reporter", "Report submitted: $didSubmitReport")"
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/java/org/mozilla/fenix/crashes/CrashReporterController.kt"
|
|
||||||
line="81"
|
|
||||||
column="9"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `@color/sync_error_background_color` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `@color/sync_error_background_color` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
@ -789,17 +745,6 @@
|
|||||||
column="9"/>
|
column="9"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
|
||||||
id="Overdraw"
|
|
||||||
message="Possible overdraw: Root element paints background `@color/white_color` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
|
||||||
errorLine1=" android:background="@color/white_color">"
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/res/layout/activity_migration.xml"
|
|
||||||
line="9"
|
|
||||||
column="5"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?android:selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
@ -835,9 +780,9 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?foundation` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="?foundation">"
|
errorLine1=" android:background="?attr/layer1">"
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/component_tracking_protection_panel.xml"
|
file="src/main/res/layout/component_tracking_protection_panel.xml"
|
||||||
line="13"
|
line="13"
|
||||||
@ -846,9 +791,9 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?foundation` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="?foundation""
|
errorLine1=" android:background="?attr/layer1""
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/connection_details_website_info.xml"
|
file="src/main/res/layout/connection_details_website_info.xml"
|
||||||
line="13"
|
line="13"
|
||||||
@ -868,9 +813,9 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?foundation` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="?foundation""
|
errorLine1=" android:background="?attr/layer1""
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/download_dialog_layout.xml"
|
file="src/main/res/layout/download_dialog_layout.xml"
|
||||||
line="10"
|
line="10"
|
||||||
@ -879,11 +824,33 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?above` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/scrimBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="?above">"
|
errorLine1=" android:background="?attr/scrimBackground">"
|
||||||
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/res/layout/fragment_bookmark_search_dialog.xml"
|
||||||
|
line="13"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="Overdraw"
|
||||||
|
message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
|
errorLine1=" android:background="?scrim""
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/fragment_crash_reporter.xml"
|
file="src/main/res/layout/fragment_create_collection.xml"
|
||||||
|
line="11"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="Overdraw"
|
||||||
|
message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
|
errorLine1=" android:background="?scrim""
|
||||||
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/res/layout/fragment_create_shortcut.xml"
|
||||||
line="11"
|
line="11"
|
||||||
column="5"/>
|
column="5"/>
|
||||||
</issue>
|
</issue>
|
||||||
@ -910,6 +877,17 @@
|
|||||||
column="5"/>
|
column="5"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="Overdraw"
|
||||||
|
message="Possible overdraw: Root element paints background `?scrim` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
|
errorLine1=" android:background="?scrim""
|
||||||
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/res/layout/fragment_pwa_onboarding.xml"
|
||||||
|
line="11"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?attr/scrimBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/scrimBackground` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
@ -923,9 +901,9 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?foundation` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="?foundation""
|
errorLine1=" android:background="?attr/layer1""
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/fragment_sign_out.xml"
|
file="src/main/res/layout/fragment_sign_out.xml"
|
||||||
line="10"
|
line="10"
|
||||||
@ -934,20 +912,9 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `@color/photonLightGrey30` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="@color/photonLightGrey30">"
|
errorLine1=" android:background="?attr/layer1""
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
|
||||||
file="src/main/res/layout/inactive_tabs_auto_close.xml"
|
|
||||||
line="11"
|
|
||||||
column="5"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
|
||||||
id="Overdraw"
|
|
||||||
message="Possible overdraw: Root element paints background `?foundation` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
|
||||||
errorLine1=" android:background="?foundation""
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/info_banner.xml"
|
file="src/main/res/layout/info_banner.xml"
|
||||||
line="11"
|
line="11"
|
||||||
@ -978,9 +945,9 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?foundation` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="?foundation""
|
errorLine1=" android:background="?attr/layer1""
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/navigation_toolbar.xml"
|
file="src/main/res/layout/navigation_toolbar.xml"
|
||||||
line="14"
|
line="14"
|
||||||
@ -1011,9 +978,9 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="Overdraw"
|
id="Overdraw"
|
||||||
message="Possible overdraw: Root element paints background `?foundation` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
message="Possible overdraw: Root element paints background `?attr/layer1` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
errorLine1=" android:background="?foundation""
|
errorLine1=" android:background="?attr/layer1""
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/stub_find_in_page.xml"
|
file="src/main/res/layout/stub_find_in_page.xml"
|
||||||
line="11"
|
line="11"
|
||||||
@ -1031,6 +998,17 @@
|
|||||||
column="5"/>
|
column="5"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="Overdraw"
|
||||||
|
message="Possible overdraw: Root element paints background `?attr/layer2` with a theme that also paints a background (inferred theme is `@style/NormalTheme`)"
|
||||||
|
errorLine1=" android:background="?attr/layer2">"
|
||||||
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/res/layout/view_crash_reporter.xml"
|
||||||
|
line="11"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="UnusedResources"
|
id="UnusedResources"
|
||||||
message="The resource `R.string.resource_scheme` appears to be unused"
|
message="The resource `R.string.resource_scheme` appears to be unused"
|
||||||
@ -1038,7 +1016,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/values/arrays.xml"
|
file="src/main/res/values/arrays.xml"
|
||||||
line="36"
|
line="39"
|
||||||
column="13"/>
|
column="13"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1049,7 +1027,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/values/arrays.xml"
|
file="src/main/res/values/arrays.xml"
|
||||||
line="37"
|
line="40"
|
||||||
column="13"/>
|
column="13"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1060,7 +1038,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/values/arrays.xml"
|
file="src/main/res/values/arrays.xml"
|
||||||
line="38"
|
line="41"
|
||||||
column="13"/>
|
column="13"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1071,7 +1049,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/values/arrays.xml"
|
file="src/main/res/values/arrays.xml"
|
||||||
line="39"
|
line="42"
|
||||||
column="19"/>
|
column="19"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1097,6 +1075,17 @@
|
|||||||
column="12"/>
|
column="12"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="UnusedResources"
|
||||||
|
message="The resource `R.drawable.ic_firefox` appears to be unused"
|
||||||
|
errorLine1="<vector android:height="112.7dp" android:viewportHeight="54.28""
|
||||||
|
errorLine2="^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/drawable/ic_firefox.xml"
|
||||||
|
line="1"
|
||||||
|
column="1"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="UnusedResources"
|
id="UnusedResources"
|
||||||
message="The resource `R.mipmap.ic_launcher_private` appears to be unused"
|
message="The resource `R.mipmap.ic_launcher_private` appears to be unused"
|
||||||
@ -1110,7 +1099,7 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="IconXmlAndPng"
|
id="IconXmlAndPng"
|
||||||
message="The following images appear both as density independent `.xml` files and as bitmap files: /Users/oracle/Projects/fenix/app/src/main/res/drawable-hdpi/ic_logo_wordmark_normal.png, /Users/rotbolt/AndroidStudioProjects/fenix/app/src/main/res/drawable-night/ic_logo_wordmark_normal.xml">
|
message="The following images appear both as density independent `.xml` files and as bitmap files: /Users/oracle/Projects/fenix/app/src/main/res/drawable-hdpi/ic_logo_wordmark_normal.png, /Users/oracle/Projects/fenix/app/src/main/res/drawable-night/ic_logo_wordmark_normal.xml">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/drawable-xxxhdpi/ic_logo_wordmark_normal.png"/>
|
file="src/main/res/drawable-xxxhdpi/ic_logo_wordmark_normal.png"/>
|
||||||
<location
|
<location
|
||||||
@ -1139,6 +1128,24 @@
|
|||||||
file="src/main/res/drawable-land-xxhdpi/sunrise.jpg"/>
|
file="src/main/res/drawable-land-xxhdpi/sunrise.jpg"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="IconDuplicatesConfig"
|
||||||
|
message="The `amethyst.png` icon has identical contents in the following configuration folders: drawable-port-xhdpi, drawable-xhdpi">
|
||||||
|
<location
|
||||||
|
file="src/main/res/drawable-xhdpi/amethyst.png"/>
|
||||||
|
<location
|
||||||
|
file="src/main/res/drawable-port-xhdpi/amethyst.png"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="IconDuplicatesConfig"
|
||||||
|
message="The `amethyst.png` icon has identical contents in the following configuration folders: drawable-port-xxhdpi, drawable-xxhdpi">
|
||||||
|
<location
|
||||||
|
file="src/main/res/drawable-xxhdpi/amethyst.png"/>
|
||||||
|
<location
|
||||||
|
file="src/main/res/drawable-port-xxhdpi/amethyst.png"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="IconLocation"
|
id="IconLocation"
|
||||||
message="Found bitmap drawable `res/drawable/ic_baidu.png` in densityless folder">
|
message="Found bitmap drawable `res/drawable/ic_baidu.png` in densityless folder">
|
||||||
@ -1183,14 +1190,14 @@
|
|||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="IconDensities"
|
id="IconDensities"
|
||||||
message="Missing the following drawables in `drawable-xhdpi`: amethyst.png, cerulean.png, fenix_search_widget.png, sunrise.jpg">
|
message="Missing the following drawables in `drawable-xhdpi`: cerulean.png, fenix_search_widget.png, sunrise.jpg">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/drawable-xhdpi"/>
|
file="src/main/res/drawable-xhdpi"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="IconDensities"
|
id="IconDensities"
|
||||||
message="Missing the following drawables in `drawable-xxhdpi`: amethyst.png, cerulean.png, fenix_search_widget.png, sunrise.jpg">
|
message="Missing the following drawables in `drawable-xxhdpi`: cerulean.png, fenix_search_widget.png, sunrise.jpg">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/drawable-xxhdpi"/>
|
file="src/main/res/drawable-xxhdpi"/>
|
||||||
</issue>
|
</issue>
|
||||||
@ -1224,7 +1231,7 @@
|
|||||||
errorLine2=" ^">
|
errorLine2=" ^">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
line="213"
|
line="244"
|
||||||
column="9"/>
|
column="9"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1235,19 +1242,19 @@
|
|||||||
errorLine2=" ^">
|
errorLine2=" ^">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
line="213"
|
line="244"
|
||||||
column="47"/>
|
column="47"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="ClickableViewAccessibility"
|
id="ClickableViewAccessibility"
|
||||||
message="`onTouch` lambda should call `View#performClick` when a click is detected"
|
message="`onTouch` lambda should call `View#performClick` when a click is detected"
|
||||||
errorLine1=" dialog?.window?.decorView?.setOnTouchListener { _, event ->"
|
errorLine1=" dialog?.window?.decorView?.setOnTouchListener { _, event ->"
|
||||||
errorLine2=" ^">
|
errorLine2=" ^">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
line="227"
|
line="259"
|
||||||
column="59"/>
|
column="63"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
@ -1257,7 +1264,7 @@
|
|||||||
errorLine2=" ^">
|
errorLine2=" ^">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
line="253"
|
line="306"
|
||||||
column="17"/>
|
column="17"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1268,7 +1275,29 @@
|
|||||||
errorLine2=" ^">
|
errorLine2=" ^">
|
||||||
<location
|
<location
|
||||||
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
line="253"
|
line="306"
|
||||||
|
column="58"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="ClickableViewAccessibility"
|
||||||
|
message="Custom view ``SearchDialogFragmentConstraintLayout`` has `setOnTouchListener` called on it but does not override `performClick`"
|
||||||
|
errorLine1=" binding.searchWrapper.setOnTouchListener { _, _ ->"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
|
line="312"
|
||||||
|
column="17"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="ClickableViewAccessibility"
|
||||||
|
message="`onTouch` lambda should call `View#performClick` when a click is detected"
|
||||||
|
errorLine1=" binding.searchWrapper.setOnTouchListener { _, _ ->"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt"
|
||||||
|
line="312"
|
||||||
column="58"/>
|
column="58"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1290,7 +1319,7 @@
|
|||||||
errorLine2=" ~~~~~~~~~">
|
errorLine2=" ~~~~~~~~~">
|
||||||
<location
|
<location
|
||||||
file="src/main/res/layout/library_site_item.xml"
|
file="src/main/res/layout/library_site_item.xml"
|
||||||
line="29"
|
line="30"
|
||||||
column="10"/>
|
column="10"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
@ -1316,17 +1345,6 @@
|
|||||||
column="5"/>
|
column="5"/>
|
||||||
</issue>
|
</issue>
|
||||||
|
|
||||||
<issue
|
|
||||||
id="RtlSymmetry"
|
|
||||||
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
||||||
errorLine1=" android:paddingStart="16dp">"
|
|
||||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
||||||
<location
|
|
||||||
file="src/main/res/layout/inactive_header_item.xml"
|
|
||||||
line="28"
|
|
||||||
column="9"/>
|
|
||||||
</issue>
|
|
||||||
|
|
||||||
<issue
|
<issue
|
||||||
id="RtlHardcoded"
|
id="RtlHardcoded"
|
||||||
message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart="10dp"` to better support right-to-left layouts"
|
message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart="10dp"` to better support right-to-left layouts"
|
||||||
|
@ -32,7 +32,6 @@ import androidx.compose.ui.Alignment
|
|||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.draw.clip
|
import androidx.compose.ui.draw.clip
|
||||||
import androidx.compose.ui.graphics.Color
|
import androidx.compose.ui.graphics.Color
|
||||||
import androidx.compose.ui.layout.ContentScale
|
|
||||||
import androidx.compose.ui.res.painterResource
|
import androidx.compose.ui.res.painterResource
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.text.style.TextAlign
|
import androidx.compose.ui.text.style.TextAlign
|
||||||
@ -169,9 +168,8 @@ private fun OnboardingWelcomeContent() {
|
|||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
) {
|
) {
|
||||||
Image(
|
Image(
|
||||||
painter = painterResource(id = R.drawable.ic_firefox),
|
painter = painterResource(id = R.drawable.ic_onboarding_welcome),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
modifier = Modifier.size(109.dp),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
Spacer(modifier = Modifier.height(32.dp))
|
Spacer(modifier = Modifier.height(32.dp))
|
||||||
@ -201,10 +199,8 @@ private fun OnboardingSyncSignInContent() {
|
|||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
) {
|
) {
|
||||||
Image(
|
Image(
|
||||||
painter = painterResource(id = R.drawable.ic_scan),
|
painter = painterResource(id = R.drawable.ic_onboarding_sync),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
modifier = Modifier.size(320.dp, 166.dp),
|
|
||||||
contentScale = ContentScale.FillBounds,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
Spacer(modifier = Modifier.height(32.dp))
|
Spacer(modifier = Modifier.height(32.dp))
|
||||||
|
17
app/src/main/res/drawable/ic_onboarding_sync.xml
Normal file
17
app/src/main/res/drawable/ic_onboarding_sync.xml
Normal file
File diff suppressed because one or more lines are too long
133
app/src/main/res/drawable/ic_onboarding_welcome.xml
Normal file
133
app/src/main/res/drawable/ic_onboarding_welcome.xml
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/sign_in_image"
|
android:id="@+id/sign_in_image"
|
||||||
android:layout_width="320dp"
|
android:layout_width="187dp"
|
||||||
android:layout_height="166dp"
|
android:layout_height="171dp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
|
Loading…
Reference in New Issue
Block a user