diff --git a/app/src/main/java/com/orange/ods/app/ui/components/Component.kt b/app/src/main/java/com/orange/ods/app/ui/components/Component.kt index 44c3b897a..636787d50 100644 --- a/app/src/main/java/com/orange/ods/app/ui/components/Component.kt +++ b/app/src/main/java/com/orange/ods/app/ui/components/Component.kt @@ -235,8 +235,7 @@ sealed class Component( null, R.string.component_sliders_description, composableName = OdsComposable.OdsSlider.name, - demoScreen = { _, _ -> ComponentSliders() }, - imageAlignment = Alignment.CenterEnd + demoScreen = { _, _ -> ComponentSliders() } ) object Snackbars : Component( @@ -263,8 +262,7 @@ sealed class Component( R.drawable.il_text_fields_small, R.string.component_text_fields_description, listOf(Variant.TextField, Variant.TextFieldPassword), - demoScreen = { variant, _ -> if (variant != null) ComponentTextField(variant = variant) }, - imageAlignment = Alignment.CenterEnd + demoScreen = { variant, _ -> if (variant != null) ComponentTextField(variant = variant) } ) object Tabs : Component( diff --git a/app/src/main/res/drawable-hdpi/il_text_fields.png b/app/src/main/res/drawable-hdpi/il_text_fields.png index 615e54175..56d9f4c82 100644 Binary files a/app/src/main/res/drawable-hdpi/il_text_fields.png and b/app/src/main/res/drawable-hdpi/il_text_fields.png differ diff --git a/app/src/main/res/drawable-hdpi/il_text_fields_generic.png b/app/src/main/res/drawable-hdpi/il_text_fields_generic.png index 7bc54640b..e494f5833 100644 Binary files a/app/src/main/res/drawable-hdpi/il_text_fields_generic.png and b/app/src/main/res/drawable-hdpi/il_text_fields_generic.png differ diff --git a/app/src/main/res/drawable-hdpi/il_text_fields_small.png b/app/src/main/res/drawable-hdpi/il_text_fields_small.png index d5368707b..ff3fc5954 100644 Binary files a/app/src/main/res/drawable-hdpi/il_text_fields_small.png and b/app/src/main/res/drawable-hdpi/il_text_fields_small.png differ diff --git a/app/src/main/res/drawable-hdpi/il_text_fields_small_generic.png b/app/src/main/res/drawable-hdpi/il_text_fields_small_generic.png index 6a32a4f9c..96d2ea7c7 100644 Binary files a/app/src/main/res/drawable-hdpi/il_text_fields_small_generic.png and b/app/src/main/res/drawable-hdpi/il_text_fields_small_generic.png differ diff --git a/app/src/main/res/drawable-mdpi/il_text_fields.png b/app/src/main/res/drawable-mdpi/il_text_fields.png index a2c26ed97..f3bbd7f5f 100644 Binary files a/app/src/main/res/drawable-mdpi/il_text_fields.png and b/app/src/main/res/drawable-mdpi/il_text_fields.png differ diff --git a/app/src/main/res/drawable-mdpi/il_text_fields_generic.png b/app/src/main/res/drawable-mdpi/il_text_fields_generic.png index c638aaf06..b36d44279 100644 Binary files a/app/src/main/res/drawable-mdpi/il_text_fields_generic.png and b/app/src/main/res/drawable-mdpi/il_text_fields_generic.png differ diff --git a/app/src/main/res/drawable-mdpi/il_text_fields_small.png b/app/src/main/res/drawable-mdpi/il_text_fields_small.png index d1b5b1464..bb056d7c0 100644 Binary files a/app/src/main/res/drawable-mdpi/il_text_fields_small.png and b/app/src/main/res/drawable-mdpi/il_text_fields_small.png differ diff --git a/app/src/main/res/drawable-mdpi/il_text_fields_small_generic.png b/app/src/main/res/drawable-mdpi/il_text_fields_small_generic.png index bdcc3ae86..1d13478f8 100644 Binary files a/app/src/main/res/drawable-mdpi/il_text_fields_small_generic.png and b/app/src/main/res/drawable-mdpi/il_text_fields_small_generic.png differ diff --git a/app/src/main/res/drawable-xhdpi/il_text_fields.png b/app/src/main/res/drawable-xhdpi/il_text_fields.png index 725eabd7d..395a2015f 100644 Binary files a/app/src/main/res/drawable-xhdpi/il_text_fields.png and b/app/src/main/res/drawable-xhdpi/il_text_fields.png differ diff --git a/app/src/main/res/drawable-xhdpi/il_text_fields_generic.png b/app/src/main/res/drawable-xhdpi/il_text_fields_generic.png index 6fbb01b45..4c258e90b 100644 Binary files a/app/src/main/res/drawable-xhdpi/il_text_fields_generic.png and b/app/src/main/res/drawable-xhdpi/il_text_fields_generic.png differ diff --git a/app/src/main/res/drawable-xhdpi/il_text_fields_small.png b/app/src/main/res/drawable-xhdpi/il_text_fields_small.png index c5ee9baec..9a2c18d4f 100644 Binary files a/app/src/main/res/drawable-xhdpi/il_text_fields_small.png and b/app/src/main/res/drawable-xhdpi/il_text_fields_small.png differ diff --git a/app/src/main/res/drawable-xhdpi/il_text_fields_small_generic.png b/app/src/main/res/drawable-xhdpi/il_text_fields_small_generic.png index 25ffb50c3..d052df1b3 100644 Binary files a/app/src/main/res/drawable-xhdpi/il_text_fields_small_generic.png and b/app/src/main/res/drawable-xhdpi/il_text_fields_small_generic.png differ diff --git a/app/src/main/res/drawable-xxhdpi/il_text_fields.png b/app/src/main/res/drawable-xxhdpi/il_text_fields.png index 8476694da..686728d2d 100644 Binary files a/app/src/main/res/drawable-xxhdpi/il_text_fields.png and b/app/src/main/res/drawable-xxhdpi/il_text_fields.png differ diff --git a/app/src/main/res/drawable-xxhdpi/il_text_fields_generic.png b/app/src/main/res/drawable-xxhdpi/il_text_fields_generic.png index f7ed0e853..f99874c13 100644 Binary files a/app/src/main/res/drawable-xxhdpi/il_text_fields_generic.png and b/app/src/main/res/drawable-xxhdpi/il_text_fields_generic.png differ diff --git a/app/src/main/res/drawable-xxhdpi/il_text_fields_small.png b/app/src/main/res/drawable-xxhdpi/il_text_fields_small.png index c8c15cb23..62f245b92 100644 Binary files a/app/src/main/res/drawable-xxhdpi/il_text_fields_small.png and b/app/src/main/res/drawable-xxhdpi/il_text_fields_small.png differ diff --git a/app/src/main/res/drawable-xxhdpi/il_text_fields_small_generic.png b/app/src/main/res/drawable-xxhdpi/il_text_fields_small_generic.png index 9260921dc..73b3d19aa 100644 Binary files a/app/src/main/res/drawable-xxhdpi/il_text_fields_small_generic.png and b/app/src/main/res/drawable-xxhdpi/il_text_fields_small_generic.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/il_text_fields.png b/app/src/main/res/drawable-xxxhdpi/il_text_fields.png index fa4056645..c9a03327f 100644 Binary files a/app/src/main/res/drawable-xxxhdpi/il_text_fields.png and b/app/src/main/res/drawable-xxxhdpi/il_text_fields.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/il_text_fields_generic.png b/app/src/main/res/drawable-xxxhdpi/il_text_fields_generic.png index a0e0658fc..942fa2bca 100644 Binary files a/app/src/main/res/drawable-xxxhdpi/il_text_fields_generic.png and b/app/src/main/res/drawable-xxxhdpi/il_text_fields_generic.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/il_text_fields_small.png b/app/src/main/res/drawable-xxxhdpi/il_text_fields_small.png index 08bf05596..1e39dab98 100644 Binary files a/app/src/main/res/drawable-xxxhdpi/il_text_fields_small.png and b/app/src/main/res/drawable-xxxhdpi/il_text_fields_small.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/il_text_fields_small_generic.png b/app/src/main/res/drawable-xxxhdpi/il_text_fields_small_generic.png index 4c8862793..558abdd38 100644 Binary files a/app/src/main/res/drawable-xxxhdpi/il_text_fields_small_generic.png and b/app/src/main/res/drawable-xxxhdpi/il_text_fields_small_generic.png differ diff --git a/app/src/main/res/drawable/il_sliders.xml b/app/src/main/res/drawable/il_sliders.xml index 5a782c409..e886e34b9 100644 --- a/app/src/main/res/drawable/il_sliders.xml +++ b/app/src/main/res/drawable/il_sliders.xml @@ -1,28 +1,24 @@ + android:width="400dp" + android:height="200dp" + android:viewportWidth="400" + android:viewportHeight="200"> - - - - - - - - - + + + diff --git a/app/src/main/res/drawable/il_sliders_generic.xml b/app/src/main/res/drawable/il_sliders_generic.xml index c78115db9..8dd24435d 100644 --- a/app/src/main/res/drawable/il_sliders_generic.xml +++ b/app/src/main/res/drawable/il_sliders_generic.xml @@ -5,16 +5,20 @@ android:viewportHeight="200"> - + diff --git a/changelog.md b/changelog.md index 2066f548a..7ca4c937d 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,12 @@ All notable changes done in ODS library will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased](https://github.com/Orange-OpenSource/ods-android/compare/0.16.0...develop) + +### Fixed + +- \[App\] Change illustrations alignment for slider and text field components ([#618](https://github.com/Orange-OpenSource/ods-android/issues/618)) + ## [0.16.0](https://github.com/Orange-OpenSource/ods-android/compare/0.15.1...0.16.0) - 2023-10-10 ### Added