Fixes errors like
../../chrome/android/java/res/layout/binance_deposit_layout.xml:39: Error: Must use app:tint instead of android:tint [UseAppTint]
android:tint="@android:color/white"
Chromium change:
https://chromium.googlesource.com/chromium/src/+/33026f0b97add89f468693c385db94d821e55b6e
Android: Enable custom lint checks from aars (reland)
Some aar files (e.g. androidx) that chrome depends on contain a lint.jar
file and/or a annotations.zip file. The lint.jar file includes custom
android lint checks. The annotations.zip file contains @IntDef and other
annotations needed for lint checks that are usually available by source
but are not available in aars.
By using these files, we can make our existing lint checks more
comprehensive as well as benefit from lint checks by the aar library
authors.
See newly ignored checks in lint-baseline.xml which is updated in this
CL as an example. Actually fixing these errors is left for future CLs
in order to enable them quicker and avoid unnecessary relands.
Original CL: https://crrev.com/c/2510793
Fixed:
- Avoid ../../ prefix in temporary extraction of aar files.
Tbr: Reland with trivial fix.
Bug: 1078229
39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<org.chromium.chrome.browser.onboarding.v2.HighlightView
|
|
android:id="@+id/highlight_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/onboarding_2_layout_height">
|
|
|
|
</org.chromium.chrome.browser.onboarding.v2.HighlightView>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/brave_stats_bg_color">
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/viewpager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/onboarding_bottom_sheet_close"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@null"
|
|
android:layout_gravity="end|top"
|
|
android:padding="16dp"
|
|
android:src="@drawable/btn_close"
|
|
app:tint="@color/onboarding_text_color"/>
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout> |