diff --git a/vector/src/main/AndroidManifest.xml b/vector/src/main/AndroidManifest.xml index 9e73f7a8..9d3e6fe2 100644 --- a/vector/src/main/AndroidManifest.xml +++ b/vector/src/main/AndroidManifest.xml @@ -18,7 +18,7 @@ + android:theme="@style/AppTheme.Launcher"> diff --git a/vector/src/main/java/im/vector/riotredesign/features/home/room/detail/LoadingRoomDetailFragment.kt b/vector/src/main/java/im/vector/riotredesign/features/home/room/detail/LoadingRoomDetailFragment.kt index 6eb4c35a..11e9593c 100644 --- a/vector/src/main/java/im/vector/riotredesign/features/home/room/detail/LoadingRoomDetailFragment.kt +++ b/vector/src/main/java/im/vector/riotredesign/features/home/room/detail/LoadingRoomDetailFragment.kt @@ -16,9 +16,9 @@ package im.vector.riotredesign.features.home.room.detail +import android.graphics.drawable.AnimationDrawable import android.os.Bundle import android.view.View -import com.bumptech.glide.Glide import im.vector.riotredesign.R import im.vector.riotredesign.core.platform.RiotFragment import kotlinx.android.synthetic.main.fragment_loading_room_detail.* @@ -36,9 +36,11 @@ class LoadingRoomDetailFragment : RiotFragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) - Glide.with(this) - .load(R.drawable.riot_splash) - .into(animatedLogoImageView) + + val background = animatedLogoImageView.background + if (background is AnimationDrawable) { + background.start() + } } diff --git a/vector/src/main/res/drawable/riot_splash.gif b/vector/src/main/res/drawable/riot_splash.gif deleted file mode 100644 index 6da2541f..00000000 Binary files a/vector/src/main/res/drawable/riot_splash.gif and /dev/null differ diff --git a/vector/src/main/res/layout/fragment_loading_room_detail.xml b/vector/src/main/res/layout/fragment_loading_room_detail.xml index c7d7d468..96bafda3 100644 --- a/vector/src/main/res/layout/fragment_loading_room_detail.xml +++ b/vector/src/main/res/layout/fragment_loading_room_detail.xml @@ -7,21 +7,21 @@ + app:layout_constraintTop_toTopOf="parent" /> diff --git a/vector/src/main/res/values-v21/themes_base.xml b/vector/src/main/res/values-v21/themes_base.xml deleted file mode 100644 index 55c57742..00000000 --- a/vector/src/main/res/values-v21/themes_base.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/vector/src/main/res/values/themes_base.xml b/vector/src/main/res/values/themes_base.xml deleted file mode 100644 index 257f8fc5..00000000 --- a/vector/src/main/res/values/themes_base.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - -