Reverts "Bug 1815637 - Add rtl support."

fenix/117.0
Arturo Mejia 11 months ago committed by mergify[bot]
parent 4a1ece8611
commit 2773bf7f30

@ -104,7 +104,6 @@ import mozilla.components.support.ktx.android.view.hideKeyboard
import mozilla.components.support.ktx.kotlin.getOrigin
import mozilla.components.support.ktx.kotlinx.coroutines.flow.ifAnyChanged
import mozilla.components.support.locale.ActivityContextWrapper
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.BuildConfig
import org.mozilla.fenix.FeatureFlags
import org.mozilla.fenix.GleanMetrics.MediaState
@ -1000,7 +999,7 @@ abstract class BaseBrowserFragment :
}
create()
}.show().withCenterAlignedButtons().secure(activity)
}.show().secure(activity)
context.settings().incrementSecureWarningCount()
}

@ -15,7 +15,6 @@ import kotlinx.coroutines.launch
import mozilla.components.browser.state.state.TabSessionState
import mozilla.components.feature.tab.collections.TabCollection
import mozilla.components.support.ktx.android.view.showKeyboard
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.R
import org.mozilla.fenix.components.TabCollectionStorage
import org.mozilla.fenix.ext.getDefaultCollectionNumber
@ -80,7 +79,7 @@ fun CollectionsDialog.show(
dialog.cancel()
}
val dialog = builder.create().withCenterAlignedButtons()
val dialog = builder.create()
val collectionNames =
arrayOf(context.getString(R.string.tab_tray_add_new_collection)) + collections
val collectionsListAdapter = CollectionsListAdapter(collectionNames) {
@ -127,7 +126,7 @@ internal fun CollectionsDialog.showAddNewDialog(
onNegativeButtonClick.invoke()
dialog.cancel()
}
.create().withCenterAlignedButtons()
.create()
.show()
collectionNameEditText.setSelection(0, collectionNameEditText.text.length)

@ -29,7 +29,6 @@ import mozilla.components.feature.top.sites.PinnedSiteStorage
import mozilla.components.feature.top.sites.TopSite
import mozilla.components.service.glean.private.NoExtras
import mozilla.components.support.base.feature.ViewBoundFeatureWrapper
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.GleanMetrics.AppMenu
import org.mozilla.fenix.GleanMetrics.Collections
import org.mozilla.fenix.GleanMetrics.Events
@ -267,7 +266,7 @@ class DefaultBrowserToolbarMenuController(
setPositiveButton(R.string.top_sites_max_limit_confirmation_button) { dialog, _ ->
dialog.dismiss()
}
create().withCenterAlignedButtons()
create()
}.show()
} else {
ioScope.launch {

@ -12,7 +12,6 @@ import android.text.Spanned
import android.text.method.LinkMovementMethod
import android.widget.TextView
import androidx.appcompat.app.AlertDialog
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
import org.mozilla.fenix.components.metrics.MetricServiceType
@ -80,7 +79,7 @@ fun showPrivacyPopWindow(context: Context, activity: Activity) {
.setTitle(context.getString(R.string.privacy_notice_title))
.setMessage(messageSpannable)
.setCancelable(false)
val alertDialog: AlertDialog = builder.create().withCenterAlignedButtons()
val alertDialog: AlertDialog = builder.create()
alertDialog.show()
alertDialog.findViewById<TextView>(android.R.id.message)?.movementMethod = LinkMovementMethod.getInstance()
}

@ -28,7 +28,6 @@ import mozilla.components.feature.tabs.TabsUseCases
import mozilla.components.feature.top.sites.TopSite
import mozilla.components.service.nimbus.messaging.Message
import mozilla.components.support.ktx.android.view.showKeyboard
import mozilla.components.ui.widgets.withCenterAlignedButtons
import mozilla.telemetry.glean.private.NoExtras
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.GleanMetrics.Collections
@ -313,7 +312,7 @@ class DefaultSessionControlController(
setNegativeButton(R.string.top_sites_rename_dialog_cancel) { dialog, _ ->
dialog.cancel()
}
}.show().withCenterAlignedButtons().also {
}.show().also {
topSiteLabelEditText.setSelection(0, topSiteLabelEditText.text.length)
topSiteLabelEditText.showKeyboard()
}

@ -40,7 +40,6 @@ import mozilla.components.concept.storage.BookmarkNodeType
import mozilla.components.lib.state.ext.consumeFrom
import mozilla.components.support.base.feature.UserInteractionHandler
import mozilla.components.support.ktx.kotlin.toShortUrl
import mozilla.components.ui.widgets.withCenterAlignedButtons
import mozilla.telemetry.glean.private.NoExtras
import org.mozilla.fenix.GleanMetrics.BookmarksManagement
import org.mozilla.fenix.HomeActivity
@ -305,7 +304,7 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), UserInteractionHan
dialog.dismiss()
}
setCancelable(false)
create().withCenterAlignedButtons()
create()
show()
}
}
@ -410,7 +409,7 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), UserInteractionHan
operation = getDeleteOperation(BookmarkRemoveType.FOLDER),
)
}
create().withCenterAlignedButtons()
create()
}
.show()
}

@ -37,7 +37,6 @@ import mozilla.components.support.ktx.android.content.getColorFromAttr
import mozilla.components.support.ktx.android.view.hideKeyboard
import mozilla.components.support.ktx.android.view.showKeyboard
import mozilla.components.support.ktx.kotlin.toShortUrl
import mozilla.components.ui.widgets.withCenterAlignedButtons
import mozilla.telemetry.glean.private.NoExtras
import org.mozilla.fenix.GleanMetrics.BookmarksManagement
import org.mozilla.fenix.NavHostActivity
@ -247,7 +246,7 @@ class EditBookmarkFragment : Fragment(R.layout.fragment_edit_bookmark), MenuProv
}
dialog.dismiss()
}
create().withCenterAlignedButtons()
create()
}.show()
}
}

@ -39,7 +39,6 @@ import mozilla.components.service.fxa.SyncEngine
import mozilla.components.service.fxa.sync.SyncReason
import mozilla.components.support.base.feature.UserInteractionHandler
import mozilla.components.support.ktx.kotlin.toShortUrl
import mozilla.components.ui.widgets.withCenterAlignedButtons
import mozilla.telemetry.glean.private.NoExtras
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.HomeActivity
@ -421,7 +420,7 @@ class HistoryFragment : LibraryPageFragment<History>(), UserInteractionHandler,
}
GleanHistory.removePromptOpened.record(NoExtras())
}.create().withCenterAlignedButtons()
}.create()
}
@Suppress("UnusedPrivateMember")

@ -28,7 +28,6 @@ import mozilla.components.lib.state.ext.consumeFrom
import mozilla.components.lib.state.ext.flowScoped
import mozilla.components.support.base.feature.UserInteractionHandler
import mozilla.components.support.ktx.kotlin.toShortUrl
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
import org.mozilla.fenix.addons.showSnackBar
@ -276,7 +275,7 @@ class HistoryMetadataGroupFragment :
interactor.onDeleteAllConfirmed()
dialog.dismiss()
}
.create().withCenterAlignedButtons()
.create()
companion object {
const val TAG = "DELETE_CONFIRMATION_DIALOG_FRAGMENT"

@ -18,7 +18,6 @@ import mozilla.components.browser.state.store.BrowserStore
import mozilla.components.concept.engine.EngineSession.LoadUrlFlags
import mozilla.components.feature.tabs.TabsUseCases
import mozilla.components.support.ktx.kotlin.isUrl
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.GleanMetrics.Events
import org.mozilla.fenix.GleanMetrics.SearchShortcuts
@ -319,7 +318,7 @@ class SearchDialogController(
dialog.cancel()
activity.startActivity(intent)
}
create().withCenterAlignedButtons()
create()
}
}
}

@ -71,7 +71,6 @@ import mozilla.components.support.ktx.android.view.hideKeyboard
import mozilla.components.support.ktx.kotlin.toNormalizedUrl
import mozilla.components.support.ktx.kotlinx.coroutines.flow.ifAnyChanged
import mozilla.components.ui.autocomplete.InlineAutocompleteEditText
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.GleanMetrics.Awesomebar
import org.mozilla.fenix.GleanMetrics.VoiceSearch
@ -695,7 +694,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
setPositiveButton(R.string.qr_scanner_dialog_invalid_ok) { dialog: DialogInterface, _ ->
dialog.dismiss()
}
create().withCenterAlignedButtons()
create()
}.show()
}
} else {
@ -720,7 +719,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
)
dialog.dismiss()
}
create().withCenterAlignedButtons()
create()
}.show()
}
}

@ -38,7 +38,6 @@ import mozilla.components.concept.sync.OAuthAccount
import mozilla.components.concept.sync.Profile
import mozilla.components.service.glean.private.NoExtras
import mozilla.components.support.ktx.android.view.showKeyboard
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.Config
import org.mozilla.fenix.FeatureFlags
@ -422,7 +421,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
binding.customAmoUser.setText(context.settings().overrideAmoUser)
binding.customAmoUser.requestFocus()
binding.customAmoUser.showKeyboard()
create().withCenterAlignedButtons()
create()
}.show()
null

@ -13,7 +13,6 @@ import android.widget.ListView
import android.widget.TextView
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.Fragment
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.R
import org.mozilla.fenix.databinding.FragmentAboutLibrariesBinding
import org.mozilla.fenix.ext.showToolbar
@ -99,7 +98,6 @@ class AboutLibrariesFragment : Fragment(R.layout.fragment_about_libraries) {
.setTitle(libraryItem.name)
.setMessage(libraryItem.license)
.create()
.withCenterAlignedButtons()
dialog.show()
val textView = dialog.findViewById<TextView>(android.R.id.message)!!

@ -34,7 +34,6 @@ import mozilla.components.service.fxa.sync.SyncReason
import mozilla.components.service.fxa.sync.SyncStatusObserver
import mozilla.components.service.fxa.sync.getLastSynced
import mozilla.components.support.ktx.android.content.getColorFromAttr
import mozilla.components.ui.widgets.withCenterAlignedButtons
import mozilla.telemetry.glean.private.NoExtras
import org.mozilla.fenix.Config
import org.mozilla.fenix.FeatureFlags
@ -294,7 +293,7 @@ class AccountSettingsFragment : PreferenceFragmentCompat() {
)
startActivity(intent)
}
create().withCenterAlignedButtons()
create()
}.show().secure(activity)
it.settings().incrementShowLoginsSecureWarningSyncCount()
}

@ -12,7 +12,6 @@ import android.provider.Settings
import android.text.SpannableString
import androidx.annotation.VisibleForTesting
import androidx.appcompat.app.AlertDialog
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
import org.mozilla.fenix.settings.SupportUtils
@ -69,7 +68,7 @@ class DefaultSyncController(
dialog.cancel()
activity.startActivity(intent)
}
create().withCenterAlignedButtons()
create()
}
}
}

@ -16,7 +16,6 @@ import mozilla.components.concept.storage.Address
import mozilla.components.concept.storage.UpdatableAddressFields
import mozilla.components.support.ktx.android.view.hideKeyboard
import mozilla.components.support.ktx.android.view.showKeyboard
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.GleanMetrics.Addresses
import org.mozilla.fenix.R
import org.mozilla.fenix.databinding.FragmentAddressEditorBinding
@ -121,7 +120,7 @@ class AddressEditorView(
interactor.onDeleteAddress(guid)
Addresses.deleted.add()
}
create().withCenterAlignedButtons()
create()
}.show()
}

@ -26,7 +26,6 @@ import kotlinx.coroutines.launch
import mozilla.components.lib.state.ext.consumeFrom
import mozilla.components.service.fxa.SyncEngine
import mozilla.components.service.sync.autofill.AutofillCreditCardsAddressesStorage
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.NavGraphDirections
import org.mozilla.fenix.R
import org.mozilla.fenix.components.StoreProvider
@ -292,7 +291,7 @@ class AutofillSettingFragment : BiometricPromptPreferenceFragment() {
startActivity(intent)
}
create().withCenterAlignedButtons()
create()
}.show().secure(activity)
context.settings().incrementSecureWarningCount()
}

@ -22,7 +22,6 @@ import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import mozilla.components.support.ktx.android.view.hideKeyboard
import mozilla.components.support.ktx.android.view.showKeyboard
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.R
import org.mozilla.fenix.SecureFragment
import org.mozilla.fenix.databinding.FragmentCreditCardEditorBinding
@ -156,7 +155,7 @@ class CreditCardEditorFragment :
dialog.cancel()
}
setPositiveButton(R.string.credit_cards_delete_dialog_button, onPositiveClickListener)
create().withCenterAlignedButtons()
create()
}.show()
}

@ -20,7 +20,6 @@ import kotlinx.coroutines.flow.map
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import mozilla.components.lib.state.ext.flowScoped
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.R
import org.mozilla.fenix.components.FenixSnackbar
import org.mozilla.fenix.databinding.FragmentDeleteBrowsingDataBinding
@ -151,7 +150,7 @@ class DeleteBrowsingDataFragment : Fragment(R.layout.fragment_delete_browsing_da
it.dismiss()
deleteSelected()
}
create().withCenterAlignedButtons()
create()
}.show()
}
}

@ -23,7 +23,6 @@ import androidx.navigation.fragment.navArgs
import com.google.android.material.snackbar.Snackbar
import mozilla.components.lib.state.ext.consumeFrom
import mozilla.components.service.glean.private.NoExtras
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.GleanMetrics.Logins
import org.mozilla.fenix.HomeActivity
@ -221,7 +220,7 @@ class LoginDetailFragment : SecureFragment(R.layout.fragment_login_detail), Menu
interactor.onDeleteLogin(args.savedLoginId)
dialog.dismiss()
}
create().withCenterAlignedButtons()
create()
}.show()
}
}

@ -26,7 +26,6 @@ import mozilla.components.feature.autofill.preference.AutofillPreference
import mozilla.components.service.fxa.SyncEngine
import mozilla.components.service.glean.private.NoExtras
import mozilla.components.support.base.feature.ViewBoundFeatureWrapper
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.GleanMetrics.Logins
import org.mozilla.fenix.R
import org.mozilla.fenix.components.accounts.FenixFxAEntryPoint
@ -216,7 +215,7 @@ class SavedLoginsAuthFragment : PreferenceFragmentCompat() {
val intent = Intent(ACTION_SECURITY_SETTINGS)
startActivity(intent)
}
create().withCenterAlignedButtons()
create()
}.show().secure(activity)
context.settings().incrementSecureWarningCount()
}

@ -18,7 +18,6 @@ import androidx.navigation.NavController
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.R
import org.mozilla.fenix.databinding.QuicksettingsClearSiteDataBinding
import org.mozilla.fenix.ext.components
@ -108,7 +107,7 @@ class ClearSiteDataView(
it.dismiss()
interactor.onClearSiteDataClicked(baseDomain)
}
create().withCenterAlignedButtons()
create()
}.show()
}
}

@ -19,7 +19,6 @@ import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import mozilla.components.concept.engine.permission.SitePermissions
import mozilla.components.support.ktx.kotlin.stripDefaultPort
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.R
import org.mozilla.fenix.ext.components
import org.mozilla.fenix.ext.requireComponents
@ -146,7 +145,7 @@ class SitePermissionsDetailsExceptionsFragment : PreferenceFragmentCompat() {
setNegativeButton(R.string.clear_permissions_negative) { dialog: DialogInterface, _ ->
dialog.cancel()
}
}.show().withCenterAlignedButtons()
}.show()
true
}

@ -30,7 +30,6 @@ import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch
import mozilla.components.concept.engine.permission.SitePermissions
import mozilla.components.support.ktx.kotlin.stripDefaultPort
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.NavHostActivity
import org.mozilla.fenix.R
import org.mozilla.fenix.ext.components
@ -120,7 +119,7 @@ class SitePermissionsExceptionsFragment :
setNegativeButton(R.string.clear_permissions_negative) { dialog: DialogInterface, _ ->
dialog.cancel()
}
}.show().withCenterAlignedButtons()
}.show()
}
}

@ -26,7 +26,6 @@ import kotlinx.coroutines.launch
import mozilla.components.concept.engine.permission.SitePermissions
import mozilla.components.concept.engine.permission.SitePermissions.Status.ALLOWED
import mozilla.components.concept.engine.permission.SitePermissions.Status.BLOCKED
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.R
import org.mozilla.fenix.ext.requireComponents
import org.mozilla.fenix.ext.settings
@ -163,7 +162,7 @@ class SitePermissionsManageExceptionsPhoneFeatureFragment : Fragment() {
setNegativeButton(R.string.clear_permission_negative) { dialog: DialogInterface, _ ->
dialog.cancel()
}
}.show().withCenterAlignedButtons()
}.show()
}
}

@ -19,7 +19,6 @@ import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import com.google.android.material.button.MaterialButton
import mozilla.components.service.nimbus.messaging.MESSAGING_FEATURE_ID
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.experiments.nimbus.internal.EnrolledExperiment
import org.mozilla.fenix.R
import org.mozilla.fenix.settings.studies.CustomViewHolder.SectionViewHolder
@ -142,7 +141,7 @@ class StudiesAdapter(
.setTitle(R.string.preference_experiments_2)
.setMessage(R.string.studies_restart_app)
.setCancelable(false)
val alertDialog: AlertDialog = builder.create().withCenterAlignedButtons()
val alertDialog: AlertDialog = builder.create()
alertDialog.show()
return alertDialog
}

@ -22,7 +22,6 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import mozilla.components.service.nimbus.NimbusApi
import mozilla.components.support.base.log.logger.Logger
import mozilla.components.ui.widgets.withCenterAlignedButtons
import mozilla.telemetry.glean.private.NoExtras
import org.mozilla.experiments.nimbus.internal.EnrolledExperiment
import org.mozilla.fenix.GleanMetrics.Preferences
@ -83,7 +82,7 @@ class StudiesView(
.setTitle(R.string.preference_experiments_2)
.setMessage(R.string.studies_restart_app)
.setCancelable(false)
val alertDialog: AlertDialog = builder.create().withCenterAlignedButtons()
val alertDialog: AlertDialog = builder.create()
alertDialog.show()
}
bindDescription()

@ -8,7 +8,6 @@ import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.Fragment
import mozilla.components.ui.widgets.withCenterAlignedButtons
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
@ -45,7 +44,7 @@ class AddNewDeviceFragment : Fragment(R.layout.fragment_add_new_device) {
AlertDialog.Builder(requireContext()).apply {
setMessage(R.string.sync_connect_device_dialog)
setPositiveButton(R.string.sync_confirmation_button) { dialog, _ -> dialog.cancel() }
create().withCenterAlignedButtons()
create()
}.show()
}
}

@ -17,7 +17,6 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:gravity="center"
android:textAlignment="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

@ -179,7 +179,6 @@
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:text="@string/create_collection_save"
android:textAlignment="center"
android:textColor="?textActionPrimary"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"

@ -36,7 +36,6 @@
android:alpha="0"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:text="@string/create_collection_select_all"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="@color/fx_mobile_text_color_oncolor_primary"
android:textSize="16sp"
@ -154,7 +153,6 @@
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:text="@string/create_collection_save"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textColor="?textActionPrimary"
app:layout_constraintBottom_toBottomOf="parent"

@ -36,7 +36,6 @@
android:alpha="0"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:text="@string/create_collection_select_all"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="@color/fx_mobile_text_color_oncolor_primary"
android:textSize="16sp"
@ -159,7 +158,6 @@
android:alpha="0.0"
android:background="?android:attr/selectableItemBackground"
android:text="@string/create_collection_save"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textColor="?textActionPrimary"
android:visibility="gone"

@ -26,7 +26,6 @@
android:layout_height="0dp"
android:gravity="center"
android:text="@string/download_empty_message_1"
android:textAlignment="center"
android:textColor="?attr/textSecondary"
android:textSize="16sp"
android:visibility="gone"

@ -40,7 +40,6 @@
android:layout_height="0dp"
android:gravity="center"
android:text="@string/history_empty_message"
android:textAlignment="center"
android:textColor="?attr/textSecondary"
android:textSize="16sp"
android:visibility="gone"

@ -14,7 +14,6 @@
android:layout_height="0dp"
android:gravity="center"
android:text="@string/history_empty_message"
android:textAlignment="center"
android:textColor="?attr/textSecondary"
android:textSize="16sp"
android:visibility="gone"

@ -51,7 +51,7 @@
android:minHeight="48dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:textAlignment="center"
android:textAlignment="textEnd"
android:textAllCaps="true"
android:textColor="@color/photonWhite"
android:textSize="14sp"

@ -29,7 +29,6 @@
android:layout_gravity="center"
android:gravity="center"
android:text="@string/no_add_ons"
android:textAlignment="center"
android:textColor="?attr/textSecondary"
android:textSize="16sp"
android:visibility="gone"/>

@ -438,7 +438,6 @@
android:letterSpacing="0"
android:padding="10dp"
android:text="@string/addressess_delete_address_button"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="@color/fx_mobile_text_color_warning"
android:visibility="gone"
@ -454,7 +453,6 @@
android:letterSpacing="0"
android:padding="10dp"
android:text="@string/addresses_cancel_button"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="?attr/textPrimary"
android:textStyle="bold"

@ -178,7 +178,6 @@
android:letterSpacing="0"
android:padding="10dp"
android:text="@string/credit_cards_delete_card_button"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="@color/fx_mobile_text_color_warning"
android:visibility="gone"
@ -193,7 +192,6 @@
android:letterSpacing="0"
android:padding="10dp"
android:text="@string/credit_cards_cancel_button"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="?attr/textPrimary"
android:textStyle="bold"

@ -84,7 +84,6 @@
android:layout_height="wrap_content"
android:letterSpacing="0"
android:text="@string/add_to_homescreen_continue"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="?attr/textPrimary"
android:textSize="16sp"

@ -32,7 +32,6 @@
android:padding="10dp"
android:scrollbars="none"
android:text="@string/sign_out_cancel"
android:textAlignment="center"
android:textAllCaps="false"
android:textColor="?attr/textPrimary"
android:textStyle="bold"

@ -37,7 +37,6 @@
android:layout_height="0dp"
android:gravity="center"
android:text="@string/no_site_exceptions"
android:textAlignment="center"
android:textColor="?attr/textPrimary"
android:textSize="20sp"
android:visibility="gone"

@ -21,7 +21,6 @@
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/sign_in_with_camera"
android:textAlignment="center"
android:textAppearance="@style/Header16TextStyle"
android:textColor="?attr/textPrimary"
android:textSize="20sp"
@ -49,7 +48,6 @@
android:layout_marginTop="16dp"
android:gravity="center"
tools:text="@string/sign_in_instructions"
android:textAlignment="center"
android:textColor="?attr/textPrimary"
android:textSize="16sp"
app:layout_constraintEnd_toEndOf="parent"
@ -80,7 +78,7 @@
android:id="@+id/createAccount"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAlignment="center"
android:gravity="center"
android:textAppearance="@style/Body14TextStyle"
app:layout_constraintTop_toBottomOf="@id/signInEmailButton"
app:layout_constraintEnd_toEndOf="parent"

@ -21,9 +21,9 @@
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center_horizontal"
android:paddingTop="80dp"
android:text="@string/no_open_tabs_description"
android:textAlignment="center"
android:textColor="?attr/textSecondary"
android:textSize="16sp"
android:visibility="visible" />

@ -21,9 +21,9 @@
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center_horizontal"
android:paddingTop="80dp"
android:text="@string/no_open_tabs_description"
android:textAlignment="center"
android:textColor="?attr/textSecondary"
android:textSize="16sp"
android:visibility="visible" />

@ -91,7 +91,6 @@
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:text="@string/mozac_feature_downloads_dialog_download"
android:textAlignment="center"
android:background="@drawable/download_dialog_download_button_background"
android:textColor="?attr/textOnColorPrimary"
android:textAllCaps="false"

@ -15,7 +15,6 @@
<!-- Android system styling -->
<item name="searchViewStyle">@style/SearchViewStyle</item>
<item name="autoCompleteTextViewStyle">@style/AutoCompleteTextViewStyle</item>
<item name="android:textAlignment">viewStart</item>
<item name="android:windowContentTransitions">true</item>
<item name="android:windowAnimationStyle">@style/WindowAnimationTransition</item>
<item name="android:progressBarStyleHorizontal">@style/progressBarStyleHorizontal</item>
@ -217,7 +216,6 @@
<!-- Android system styling -->
<item name="searchViewStyle">@style/SearchViewStyle</item>
<item name="autoCompleteTextViewStyle">@style/AutoCompleteTextViewStyle</item>
<item name="android:textAlignment">viewStart</item>
<item name="android:windowContentTransitions">true</item>
<item name="android:windowAnimationStyle">@style/WindowAnimationTransition</item>
<item name="android:progressBarStyleHorizontal">@style/progressBarStyleHorizontal</item>
@ -599,7 +597,6 @@
<item name="android:layout_height">wrap_content</item>
<item name="android:minHeight">40dp</item>
<item name="android:layout_marginTop">32dp</item>
<item name="android:textAlignment">center</item>
<item name="android:textColor">?accentUsedOnDarkBackground</item>
<item name="android:textFontWeight" tools:ignore="NewApi">@integer/font_weight_medium</item>
<item name="android:fontWeight" tools:ignore="NewApi">@integer/font_weight_medium</item>

Loading…
Cancel
Save