Upgrade to AndroidX, move to MaterialComponents theme (#953)
* upgrade to AndroidX, upgrade libraries * move to MaterialComponents theme * make sure the compose button looks good everywhere * fix tollbar title/button alignment on tablet * move to new material color theming, consolidate colors and themes * fix build, fix imports * set error on TextInputLayout instead of EditText * fix imports, TootButton when * improve snackbar style * fix task description color
This commit is contained in:
parent
1c34d21a23
commit
a445c12094
179 changed files with 862 additions and 866 deletions
|
|
@ -19,7 +19,6 @@ import android.animation.Animator
|
|||
import android.animation.AnimatorListenerAdapter
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import android.support.v4.view.ViewCompat
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
|
|
@ -56,7 +55,7 @@ class ViewImageFragment : ViewMediaFragment() {
|
|||
|
||||
override fun setupMediaView(url: String) {
|
||||
descriptionView = mediaDescription
|
||||
ViewCompat.setTransitionName(photoView, url)
|
||||
photoView.transitionName = url
|
||||
attacher = PhotoViewAttacher(photoView)
|
||||
|
||||
// Clicking outside the photo closes the viewer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue