Trying to fix pre-lolipop svg drawable loading.
This commit is contained in:
parent
6f52eae3c6
commit
ba4feeea87
@ -1,3 +1,7 @@
|
|||||||
|
**1.5.2.06**
|
||||||
|
|
||||||
|
- Fix problem introduced in 1.5.2.04. SVG file not working on older versions of android.
|
||||||
|
|
||||||
**1.5.2.05**
|
**1.5.2.05**
|
||||||
|
|
||||||
- Versions updates
|
- Versions updates
|
||||||
|
@ -9,7 +9,7 @@ import android.view.View
|
|||||||
import agency.tango.materialintroscreen.MaterialIntroActivity
|
import agency.tango.materialintroscreen.MaterialIntroActivity
|
||||||
import agency.tango.materialintroscreen.MessageButtonBehaviour
|
import agency.tango.materialintroscreen.MessageButtonBehaviour
|
||||||
import agency.tango.materialintroscreen.SlideFragmentBuilder
|
import agency.tango.materialintroscreen.SlideFragmentBuilder
|
||||||
|
import android.support.v7.app.AppCompatDelegate
|
||||||
|
|
||||||
|
|
||||||
class IntroActivity : MaterialIntroActivity() {
|
class IntroActivity : MaterialIntroActivity() {
|
||||||
@ -17,6 +17,8 @@ class IntroActivity : MaterialIntroActivity() {
|
|||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
|
||||||
|
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
|
||||||
|
|
||||||
addSlide(SlideFragmentBuilder()
|
addSlide(SlideFragmentBuilder()
|
||||||
.backgroundColor(R.color.colorPrimary)
|
.backgroundColor(R.color.colorPrimary)
|
||||||
.buttonsColor(R.color.colorAccent)
|
.buttonsColor(R.color.colorAccent)
|
||||||
|
Loading…
Reference in New Issue
Block a user