Skip to content

Instantly share code, notes, and snippets.

@Cheesebaron
Last active August 25, 2022 13:54
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cheesebaron/16676992798ccd7f5b8202d94c61d28e to your computer and use it in GitHub Desktop.
Save Cheesebaron/16676992798ccd7f5b8202d94c61d28e to your computer and use it in GitHub Desktop.

Android XML tags replace:

- android.support.constraint.ConstraintLayout
+ androidx.constraintlayout.widget.ConstraintLayout

- android.support.constraint.Guideline
+ androidx.constraintlayout.widget.Guideline

- android.support.constraint.Barrier
+ androidx.constraintlayout.widget.Barrier

- android.support.constraint.utils.ImageFilterView
+ androidx.constraintlayout.utils.widget.ImageFilterView 

- android.support.constraint.motion.MotionLayout
+ androidx.constraintlayout.motion.widget.MotionLayout

- android.support.v7.widget.AppCompatTextView
+ androidx.appcompat.widget.AppCompatTextView

- android.support.v7.widget.SwitchCompat
+ androidx.appcompat.widget.SwitchCompat

- android.support.v7.widget.CardView
+ androidx.cardview.widget.CardView

- android.support.design.widget.TabLayout
+ com.google.android.material.tabs.TabLayout

- android.support.design.widget.TextInputLayout
+ com.google.android.material.textfield.TextInputLayout

- android.support.design.widget.TextInputEditText
+ com.google.android.material.textfield.TextInputEditText

- android.support.design.widget.FloatingActionButton
+ com.google.android.material.floatingactionbutton.FloatingActionButton

- mvvmcross.droid.support.v7.recyclerview.MvxRecyclerView
+ mvvmcross.droidx.recyclerview.MvxRecyclerView

- android.support.v4.view.ViewPager
+ androidx.viewpager.widget.ViewPager

- MvvmCross.Droid.Support.V4.MvxSwipeRefreshLayout
+ mvvmcross.droidx.MvxSwipeRefreshLayout

C# namespace replacements. Some lines have multiple additions. This doesn't necessarily mean all were added in the same file.

- Android.Support.V4.Content
+ AndroidX.Core.Content

- Android.Support.V4.App
+ AndroidX.Fragment.App

- Android.Support.V4.Content.Res
+ AndroidX.Core.Content.Resources

- Android.Support.Constraints
+ AndroidX.ConstraintLayout.Widget

- Android.Support.Design.Widget
+ Google.Android.Material.Tabs
+ Google.Android.Material.TextField
+ Google.Android.Material.FloatingActionButton

- Android.Support.V7.App
+ AndroidX.AppCompat.App

- Android.Support.V7.Widget
+ AndroidX.RecyclerView.Widget
+ AndroidX.CardView.Widget

- Android.Support.V4.View
+ AndroidX.ViewPager.Widget
+ AndroidX.Core.View

- Android.Arch.Lifecycle
+ AndroidX.Lifecycle

- Android.Support.V7.Widget
+ AndroidX.AppCompat.Widget

- Android.Support.V4.Widget
+ AndroidX.Core.Widget

- Android.Support.Transitions
+ AndroidX.Transitions

- Android.Support.Constraints.Motion
+ AndroidX.ConstraintLayout.Motion.Widget

- MvvmCross.Droid.Support.V7.RecyclerView
+ MvvmCross.DroidX.RecyclerView

- MvvmCross.Droid.Support.V7.RecyclerView.ItemTemplates
+ MvvmCross.DroidX.RecyclerView.ItemTemplates

- MvvmCross.Droid.Support.V7.AppCompat
+ MvvmCross.Platforms.Android.Views

- MvvmCross.Droid.Support.V4
+ MvvmCross.Platforms.Android.Views.Fragments

- MvxAppCompatActivity
+ MvxActivity

- MvxSplashScreenAppCompatActivity
+ MvxSplashScreenActivity

- MvxAppCompatApplication
+ MvxAndroidApplication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment