[Android] Widgets: improve the migration dialog by adding the new preview
Nicolas Pomepuy
git at videolan.org
Wed May 18 09:57:59 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed May 18 09:06:28 2022 +0200| [72ccfb93db027b49855760001d1a930fa657c5a8] | committer: Duncan McNamara
Widgets: improve the migration dialog by adding the new preview
> https://code.videolan.org/videolan/vlc-android/commit/72ccfb93db027b49855760001d1a930fa657c5a8
---
.../vlc-android/res/layout/dialog_widget_migration.xml | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/application/vlc-android/res/layout/dialog_widget_migration.xml b/application/vlc-android/res/layout/dialog_widget_migration.xml
index f5277186a..b3010bf17 100644
--- a/application/vlc-android/res/layout/dialog_widget_migration.xml
+++ b/application/vlc-android/res/layout/dialog_widget_migration.xml
@@ -63,12 +63,22 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/title" />
+ <ImageView
+ android:id="@+id/imageView14"
+ android:layout_width="0dp"
+ android:layout_height="128dp"
+ android:scaleType="centerInside"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/textView32"
+ app:srcCompat="@drawable/widget_preview_mini" />
+
<TextView
android:id="@+id/textView33"
style="@style/Theme.VLC.BottomSheetTitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
+ android:layout_marginTop="32dp"
android:fontFamily="sans-serif-medium"
android:paddingStart="16dp"
android:paddingEnd="16dp"
@@ -76,7 +86,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView32" />
+ app:layout_constraintTop_toBottomOf="@+id/imageView14" />
<TextView
android:id="@+id/textView34"
More information about the Android
mailing list