diff --git a/android/brave_java_resources.gni b/android/brave_java_resources.gni index 4743cd456bed..3f20b8f3a02e 100644 --- a/android/brave_java_resources.gni +++ b/android/brave_java_resources.gni @@ -621,6 +621,7 @@ brave_java_resources = [ "java/res/drawable/ic_warning_triangle_outline.xml", "java/res/drawable/ic_web.xml", "java/res/drawable/ic_widget_generic.xml", + "java/res/drawable/ic_youtube_skip_ads.xml", "java/res/drawable/image_credit_rounded_shape.xml", "java/res/drawable/info_outline.xml", "java/res/drawable/leo_plan_active_bg.xml", diff --git a/android/java/org/chromium/chrome/browser/OpenYtInBraveDialogFragment.java b/android/java/org/chromium/chrome/browser/OpenYtInBraveDialogFragment.java index f03f03bd2c01..1b6ead5e5f1f 100644 --- a/android/java/org/chromium/chrome/browser/OpenYtInBraveDialogFragment.java +++ b/android/java/org/chromium/chrome/browser/OpenYtInBraveDialogFragment.java @@ -13,7 +13,6 @@ import android.widget.TextView; import org.chromium.chrome.R; -import org.chromium.chrome.browser.night_mode.GlobalNightModeStateProviderHolder; import org.chromium.chrome.browser.preferences.BravePrefServiceBridge; import org.chromium.chrome.browser.util.TabUtils; diff --git a/android/java/res/drawable/ic_youtube_skip_ads.xml b/android/java/res/drawable/ic_youtube_skip_ads.xml new file mode 100644 index 000000000000..07f2a83435a7 --- /dev/null +++ b/android/java/res/drawable/ic_youtube_skip_ads.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/java/res/layout/fragment_open_yt_in_brave_dialog.xml b/android/java/res/layout/fragment_open_yt_in_brave_dialog.xml index 53a5c0e6b232..91356e3f75fb 100644 --- a/android/java/res/layout/fragment_open_yt_in_brave_dialog.xml +++ b/android/java/res/layout/fragment_open_yt_in_brave_dialog.xml @@ -20,6 +20,7 @@ android:gravity="center" android:contentDescription="@null" android:adjustViewBounds="true" + app:srcCompat="@drawable/ic_youtube_skip_ads" android:layout_gravity="center_horizontal" />