For #23121 - Replace @drawble/ic_close with @drawable/mozac_ic_close

upstream-sync
Gabriel Luong 2 years ago committed by mergify[bot]
parent 33dc752ef2
commit a9f0fefac2

@ -39,7 +39,7 @@ class CollectionCreationBottomBarView(
iconButton.apply {
val drawable = context.getDrawableWithTint(
R.drawable.ic_close,
R.drawable.mozac_ic_close,
ContextCompat.getColor(context, R.color.photonWhite)
)
setImageDrawable(drawable)

@ -25,7 +25,7 @@ class ExceptionsListItemViewHolder<T : Any>(
init {
view.setSecondaryButton(
icon = R.drawable.ic_close,
icon = R.drawable.mozac_ic_close,
contentDescription = R.string.history_delete_item
) {
interactor.onDeleteOne(item)

@ -51,7 +51,7 @@ class TabInCollectionViewHolder(
}
view.setSecondaryButton(
icon = R.drawable.ic_close,
icon = R.drawable.mozac_ic_close,
contentDescription = R.string.remove_tab_from_collection
) {
interactor.onCollectionRemoveTab(collection, tab, wasSwiped = false)

@ -34,7 +34,7 @@ class HistoryListItemViewHolder(
}
binding.historyLayout.overflowView.apply {
setImageResource(R.drawable.ic_close)
setImageResource(R.drawable.mozac_ic_close)
contentDescription = view.context.getString(R.string.history_delete_item)
setOnClickListener {
val item = item ?: return@setOnClickListener

@ -29,7 +29,7 @@ class HistoryMetadataGroupItemViewHolder(
init {
binding.historyLayout.overflowView.apply {
setImageResource(R.drawable.ic_close)
setImageResource(R.drawable.mozac_ic_close)
contentDescription = view.context.getString(R.string.history_delete_item)
setOnClickListener {
val item = item ?: return@setOnClickListener

@ -25,7 +25,7 @@ class RecentlyClosedItemViewHolder(
init {
binding.historyLayout.overflowView.apply {
setImageResource(R.drawable.ic_close)
setImageResource(R.drawable.mozac_ic_close)
contentDescription = view.context.getString(R.string.history_delete_item)
setOnClickListener {
val item = item ?: return@setOnClickListener

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?primaryText"
android:pathData="M13.108 11.776l4.709-4.709c0.244-0.244 0.244-0.641 0-0.885s-0.64-0.244-0.884 0l-4.689 4.689h-0.488L7.067 6.183c-0.244-0.244-0.64-0.244-0.884 0s-0.244 0.641 0 0.885l4.687 4.686v0.491l-4.687 4.687c-0.244 0.244-0.244 0.641 0 0.885C6.305 17.939 6.465 18 6.625 18c0.16 0 0.32-0.061 0.442-0.183l4.687-4.687h0.491l4.687 4.687C17.055 17.939 17.215 18 17.375 18c0.16 0 0.32-0.061 0.442-0.183 0.244-0.244 0.244-0.641 0-0.885l-4.709-4.709v-0.447z" />
</vector>

@ -21,7 +21,7 @@
android:layout_marginLeft="10dp"
android:background="@android:color/transparent"
android:id="@+id/privacyContentCloseButton"
android:src="@drawable/ic_close"
android:src="@drawable/mozac_ic_close"
android:contentDescription="@string/privacy_content_close_button_content_description"
tools:ignore="AndroidSrcXmlDetector" />

@ -38,7 +38,7 @@
app:tint="@color/photonLightGrey05"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close" />
app:srcCompat="@drawable/mozac_ic_close" />
<TextView
android:id="@+id/tip_description_text"

@ -156,7 +156,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="?neutral" />
<TextView

@ -127,7 +127,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="?neutral" />
<TextView

@ -51,7 +51,7 @@
app:layout_constraintBottom_toBottomOf="@+id/multiselect_title"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/multiselect_title"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="@color/contrast_text_normal_theme" />
<TextView

@ -50,7 +50,7 @@
android:contentDescription="@string/mozac_feature_downloads_button_close"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="?primaryText" />
<TextView

@ -53,7 +53,7 @@
android:layout_marginStart="8dp"
android:layout_marginEnd="16dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
android:contentDescription="@string/history_delete_item"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

@ -19,8 +19,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/description_text"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
tools:srcCompat="@drawable/ic_close" />
app:srcCompat="@drawable/mozac_ic_close"
tools:srcCompat="@drawable/mozac_ic_close" />
<TextView
android:id="@+id/description_text"

@ -48,7 +48,7 @@
android:contentDescription="@string/tab_tray_inactive_auto_close_button_content_description"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close" />
app:srcCompat="@drawable/mozac_ic_close" />
<TextView
android:id="@+id/message"

@ -36,7 +36,7 @@
app:layout_constraintBottom_toBottomOf="@id/no_collections_header"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/no_collections_header"
app:srcCompat="@drawable/ic_close" />
app:srcCompat="@drawable/mozac_ic_close" />
<TextView
android:id="@+id/no_collections_description"

@ -54,7 +54,7 @@
android:contentDescription="@string/content_description_close_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="@color/fx_mobile_private_text_color_primary" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>

@ -44,7 +44,7 @@
android:contentDescription="@string/content_description_close_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="@color/fx_mobile_private_text_color_primary" />
</androidx.constraintlayout.widget.ConstraintLayout>

@ -24,7 +24,7 @@
app:iconTint="@color/neutral_text"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close" />
app:srcCompat="@drawable/mozac_ic_close" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"

@ -96,7 +96,7 @@
android:paddingBottom="20dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close" />
app:srcCompat="@drawable/mozac_ic_close" />
<Button
android:id="@+id/send_button"

@ -77,7 +77,7 @@ A FrameLayout here is an efficient way of having a views stack while allowing:
app:layout_constraintBottom_toTopOf="@+id/horizonatal_divider"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="@color/primary_text_normal_theme" />
<View

@ -103,7 +103,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close"
app:srcCompat="@drawable/mozac_ic_close"
app:tint="@color/primary_text_normal_theme" />
</androidx.constraintlayout.widget.ConstraintLayout>

@ -13,7 +13,7 @@
<item
android:id="@+id/close_bookmarks"
android:icon="@drawable/ic_close"
android:icon="@drawable/mozac_ic_close"
app:iconTint="?primaryText"
android:title="@string/content_description_close_button"
app:showAsAction="ifRoom" />

@ -7,7 +7,7 @@
<item
android:id="@+id/close_history"
android:icon="@drawable/ic_close"
android:icon="@drawable/mozac_ic_close"
app:iconTint="?primaryText"
android:title="@string/content_description_close_button"
app:showAsAction="ifRoom" />

Loading…
Cancel
Save