mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
[fenix] Fix https://github.com/mozilla-mobile/fenix/issues/26362: Use app:lineHeight to support API Level <= 27 (https://github.com/mozilla-mobile/fenix/pull/26364)
* Fix android:lineHeight Change android:lineHeight to app:lineHeight for incompatibilities at API Level <= 27 * Fix android:lineHeight (Part 2) Change android:lineHeight to app:lineHeight for fixing incompatibilities in custom_search_engine * Change android:lineHeight (Part 3) Change android:lineHeight to app:lineHeight in settings_https_only for incompatibilities at API Level <= 27 * cleanup lint-baseline.xml Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
b03ec61ff5
commit
22faa40f9e
@ -19,28 +19,6 @@
|
||||
column="5"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="24sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/activity_migration.xml"
|
||||
line="51"
|
||||
column="17"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="24sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/activity_migration.xml"
|
||||
line="69"
|
||||
column="17"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
||||
@ -63,105 +41,6 @@
|
||||
column="9"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="18sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/custom_search_engine.xml"
|
||||
line="59"
|
||||
column="9"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="24sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="39"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="24sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="53"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="20sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="80"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="20sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="103"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="20sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="129"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="20sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="152"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="20sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="178"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `lineHeight` is only used in API level 28 and higher (current min is 21)"
|
||||
errorLine1=" android:lineHeight="20sp""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/res/layout/fragment_onboarding_home_dialog.xml"
|
||||
line="201"
|
||||
column="13"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="UnusedAttribute"
|
||||
message="Attribute `android:foreground` has no effect on API levels lower than 23 (current min is 21)"
|
||||
|
@ -56,7 +56,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/search_add_custom_engine_search_string_example"
|
||||
android:lineHeight="18sp"
|
||||
app:lineHeight="18sp"
|
||||
android:labelFor="@id/edit_search_string"
|
||||
android:textColor="@android:color/tertiary_text_dark" />
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginHorizontal="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:lineHeight="24sp"
|
||||
app:lineHeight="24sp"
|
||||
android:textAppearance="@style/Header20TextStyle"
|
||||
android:textAlignment="center"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -49,7 +49,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="40dp"
|
||||
android:layout_marginHorizontal="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:lineHeight="24sp"
|
||||
app:lineHeight="24sp"
|
||||
android:textAppearance="@style/Body14TextStyle"
|
||||
android:text="@string/onboarding_home_screen_description_2"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
@ -76,7 +76,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:layout_marginTop="26dp"
|
||||
android:lineHeight="20sp"
|
||||
app:lineHeight="20sp"
|
||||
android:textAppearance="@style/Header14TextStyle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/home_icon"
|
||||
@ -98,7 +98,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginEnd="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:lineHeight="20sp"
|
||||
app:lineHeight="20sp"
|
||||
android:text="@string/onboarding_home_screen_section_home_description_2"
|
||||
android:textAppearance="@style/Body14TextStyle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -124,7 +124,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:layout_marginTop="26dp"
|
||||
android:lineHeight="20sp"
|
||||
app:lineHeight="20dp"
|
||||
android:text="@string/onboarding_home_screen_section_cleaner_tab_tray_title_2"
|
||||
android:textAppearance="@style/Header14TextStyle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -147,7 +147,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginEnd="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:lineHeight="20sp"
|
||||
app:lineHeight="20sp"
|
||||
android:text="@string/onboarding_home_screen_section_cleaner_tab_tray_description_2"
|
||||
android:textAppearance="@style/Body14TextStyle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -173,7 +173,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:layout_marginTop="26dp"
|
||||
android:lineHeight="20sp"
|
||||
app:lineHeight="20sp"
|
||||
android:text="@string/onboarding_home_screen_section_useful_history_title_2"
|
||||
android:textAppearance="@style/Header14TextStyle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -196,7 +196,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginEnd="@dimen/oboarding_home_dialog_margin_horizontal"
|
||||
android:lineHeight="20sp"
|
||||
app:lineHeight="20sp"
|
||||
android:text="@string/onboarding_home_screen_section_useful_history_description_2"
|
||||
android:textAppearance="@style/Body14TextStyle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
@ -17,7 +17,7 @@
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:clickable="false"
|
||||
android:lineHeight="24.sp"
|
||||
app:lineHeight="24.sp"
|
||||
android:text="@string/preferences_https_only_title"
|
||||
android:textAppearance="@style/ListItemTextStyle"
|
||||
android:textSize="16sp"
|
||||
@ -31,7 +31,7 @@
|
||||
android:id="@+id/https_only_summary"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineHeight="16.sp"
|
||||
app:lineHeight="16.sp"
|
||||
android:textColor="?attr/textSecondary"
|
||||
android:textColorLink="?attr/textSecondary"
|
||||
android:textSize="12sp"
|
||||
|
Loading…
Reference in New Issue
Block a user