- Fixed crashing bug in
MaterialLabelRenderer
in iOS. - Fixed return button not showing in iOS keyboard when
MaterialTextField
input type is set toPhone
orNumeric
.
- Added
Completed
event inMaterialTextField
. A feature enhancement stated in this issue. - Added a return button when a numeric keyboard is presented using
MaterialTextField
in iOS. A feature enhancement stated in this issue. - Fixed a bug in iOS where the
MaterialButton
ripple layer is shorter when theText
property changes. - Fixed a bug in iOS where the
MaterialLabel
text alignment is not preserved when the font properties change. - Fixed issue 109.
- Fixed issue 109.
- Fixed issue 116.
- Fixed issue 119.
- You can now change the text of the loading dialog and loading snackbar when using
IMaterialDialog.LoadingDialogAsync
andIMaterialDialog.LoadingSnackbarAsync
. - Fixed issue 105.
- Fixed issue 106.
- Fixed
MaterialTextField
not firingFocused
event. - Added new event
Unfocused
, propertyIsMaxLengthCounterVisible
, and methodUnfocus
toMaterialTextField
.
- Updated
MaterialTextField
:- Can be attached with properties from
MaterialConfirmationDialog
to customize confirmation dialog appearance. A feature request from issue 86. - Added
TextFontSize
,FloatingPlaceholderFontSize
, andFloatingPlaceholderColor
. - Added
IsAutoCapitalizationEnabled
property. - Added
ShouldAnimateUnderline
property that can be used to determine whether to animate the underline indicator or not. Setting this tofalse
will not show any underline when activated or fouces. A feature request from issue 92. - The
TintColor
will be applied to the underline and floating placeholder only when the text field is focused. - Renamed
Icon
toLeadingIcon
,IconTintColor
toLeadingIconTintColor
. This is to differentiate from the trailing icon, which will be a future enhancement.
- Can be attached with properties from
- Added
Margin
property to Material dialog configuration classes. A feature request from issue 91. - Fixed issue 84.
- Fixed issue 87.
- Fixed issue 88.
- Fixed issue 89.
- Fixed issue 97.
- Fixed issue 98.
- Fixed
MaterialTextField
animating when the text changes even if there is a current text value is not null or empty.
- Fixed
MaterialButton
not showing border whenButtonType
isMaterialButtonType.Outlined
.
- Fixed issue 74.
- Fixed crashing in iOS renderers which is caused by null native controls.
- Fixed
MaterialTextField
ReturnCommandParameter
property always null. - Refactored modal dialogs.
- Added new controls:
MaterialSwitch
andMaterialLabel
. - Added
Elevation
property toMaterialButton
andMaterialIconButton
. You can now set dynamic elevation when the button is resting or was pressed by usingMaterialElevation
. MaterialCard
can now responds to touch input when it is set as clickable. AddedIsClickable
,ClickCommand
, andClickCommandParameter
properties. AddedClicked
event. A feature enhancement found in this issue.MaterialTextField
now accepts anIList
of objects as choices when theInputType
is set toMaterialTextFieldInputType.Choice
. AddedChoicesBindingName
that determines the value of the property with that name of each object to display. You can still set theChoices
property to use a collection of strings. This is a feature enhancement found in this issue.- Added new properties
IsSpellCheckEnabled
andIsTextPredictionEnabled
toMaterialTextField
. This is a feature enhancement found in this issue. - Re-added
Icon
andIconTintColor
properties toMaterialTextField
. This is a feature enhancement found in this issue. - You can now show an alert dialog with a custom content using
MaterialDialog.Instance.ShowCustomContentAsync()
. This is a feature enhancement found in this issue. - Added maximum width of modal dialogs when running on different device idioms, or when changing screen orientation.
- Used
BindableLayout
instead ofListView
when renderingMaterialRadioButtonGroup
,MaterialCheckboxGroup
, andMaterialMenuDialog
. - Removed typography dynamic resources. You can now set the specific type scale using
MaterialLabel
. - Removed
MaterialTypeScaleEffect
. - Updated Android target framework version to
9.0
. - Updated other dependencies to latest.
- Fixed issue 50.
- Removed previous version, wrong commit.
- Fixed a misalignment in
MaterialTextfield
. Re-adjusted helper & counter texts' top margins from2
to4
.
- Fixed a bug where modal dialogs that are awaiting user input do not respond to back button event on Android.
- Fixed issue 44.
- Changed
IMaterialDialog.ConfirmAsync
. It now returns a nullable bool. Removed the other overload method.
- Removed
IMaterialDialog.Dismiss
. - Fixed issue 45.
- Fixed issue 34.
- Added new method
IMaterialDialog.DismissAsync()
. - Fixed
MaterialCard
showing originalFrame
shadow whenBorderColor
property was updated. - Fixed
MaterialMenuButton
showing inaccurate position.
- Fixed issue 32.
- Fixed issue 33.
- Fixed an issue in
MaterialButtonRenderer
in iOS not updating the color of the button when the background color was changed.
- Fixed a bug in
MaterialButton
where the border color is not updating when theButtonType
isOutlined
. - Lowered the input field in
MaterialTextField
by 2.
- Added
MaterialIconButton
andMaterialSlider
. - Replaced
MaterialMenu
toMaterialMenuButton
. The latter inherits fromMaterialIconButton
. - Added new properties
PressedBackgroundColor
andDisabledBackgroundColor
to Material buttons. - Refactored
MaterialButtonRenderer
in iOS. Instead of adding negative margin to shrink the view, it now changes theUIView.Layer.Frame
property by decreasing the width and height by 12. - Refactored
MaterialTextField
:- Added new input type
Choice
, along with a new propertyChoices
. When the text field is clicked, shows a confirmation dialog from which the user will choose one from a list of choices. - Added new property
HasHorizontalPadding
. When set totrue
, removes the left and right padding of the text field. FloatingPlaceholderEnabled
property, when set totrue
, reduces the height of the text field from 72 to 56.
- Added new input type
- Adjusted the bounds some of modal dialogs.
- Fixed an interaction bug in Android when using
PopupPage
fromRg.Plugins.Popup
library. - Fixed issue 26.
- Fixed issue 31.
- Fixed issue 24.
- Refactored
IMaterialDialog.AlertAsync()
.
- Fixed
MaterialTextField
overlaping parent layout's bounds in iOS. - Added a new
booelan
propertyFloatingPlaceholderEnabled
to determine to animate the placeholder of the text field.
- Fixed
MaterialTextField
overlaping parent layout's bounds in iOS. - Fixed
MaterialButton
causing a crash in Android devices running Android 4.4 or later.
MaterialRadioButton
constructor access modifier changed to public.- Added maximum width for modal dialogs. This ensures that modals don't fill the entire screen when shown.
- On tablets, dialogs has a maximum width of
560
. - On phones, dialogs has a maximum width of
280
. - Snackbars has a maximum width of
344
.
- On tablets, dialogs has a maximum width of
- Upgraded to use
Xamarin.Forms
version3.3
. - Added
IMaterialDialog.InputAsync
, which shows a dialog that allows the user to input text. A feature enhancement stated in this issue. - Added
MaterialMenu
control, a view container that will show a menu that allows the user to select a choice. - Reworked
MaterialNavigatioPage
.- Added an attached property
AppBarColor
. It can be attached toPages
to change theNavigationPage.BarBackgroundColor
property. - Added an attached property
AppBarTitleTextAlignment
. It can be attached toPages
to change theNavigationPage.Title
text alignment. - Added an attached property
AppBarTitleTextColor
. It can be attached toPages
to change theNavigationPage.Title
text color. - Added an attached property
AppBarTitleTextFontFamily
. It can be attached toPages
to change theNavigationPage.Title
text font family. - Added an attached property
AppBarTitleTextFontSize
. It can be attached toPages
to change theNavigationPage.Title
text font size. - Added an attached property
StatusBarColor
. It can be attached toPages
to change the status bar color. - Added an attached property
HasShadow
. It can be attached toPages
that will determine whether the app bar will draw a shadow. - Added overrideable methods
OnPagePush
andOnPagePop
.
- Added an attached property
- The status bar color will now be set automatically when
MaterialNavigationPage
is used. You can still useMaterial.PlatformConfiguration.SetStatusBarColor
to manually change the status bar color. - Added
BottomOffset
property toMaterialSnackbarConfiguration
that can be used to adjust the bottom margin of the Snackbar. A feature enhancement stated in this issue. - Fixed a bug where
MaterialCheckboxGroup
does not update the selected items when the propertySelectedIndices
has been changed. - Renamed
XF.Material.Forms.Views
toXF.Material.Forms.UI
. RemovedXF.Material.Forms.Dialog
namespace, added dialogs to namespaceXF.Material.Forms.UI.Dialogs
.
- Fixed a bug in Android causing
MaterialButtonRenderer
throwing aSystem.NullReferenceException
whenMaterialButton
Image
property is set. A bug reported in this issue.
- Reworked
MaterialRadioButtonGroup
. Once a choice has been selected, you can no longer unselect a choice. A bug reported in this issue. - Changed the minimum and target
MonoAndroid
framework version to8.1
. Fixed also some inconsistencies in the referenced NuGet packages of the library. A bug reported in this issue. - Removed the
font
directory in theResources
folder inXF.Material.Droid
. - Fixed a bug when calling
XF.Material.Forms.Material.Init(Application app)
causingSystem.NullException
. A bug reported in this issue. - Fixed a bug when canceling a confirmation dialog shown using
MaterialDialog.Instance.SelectChoicesAsync()
not clearing the currently selected choices. - Fixed a bug in
MaterialRadioButtonGroup
andMaterialCheckboxGroup
not updatingSelectedIndex
andSelectedIndices
property, respectively.
- Added parameters
selectedIndex
andselectedIndices
toIMaterialDialog.SelectChoiceAsync
andIMaterialDialog.SelectChoicesAsync
. A feature enhancement as stated in this issue. - Fixed
MaterialRadioButtonGroup
andMaterialCheckboxGroup
having an extra empty row. - Fixed
MaterialButtonRenderer
in iOS not responding to changes inMaterialButton.AllCaps
property.
- Added selection controls:
MaterialRadioButton
,MaterialRadioButtonGroup
,MaterialCheckbox
, andMaterialCheckboxGroup
. - Deprecated
MaterialDialogs
, you should useMaterialDialog.Instance
for displaying modal dialogs. - Added simple dialog and confirmation dialog to
MaterialDialog
. - Added
ReturnType
,ReturnTypeCommand
, andReturnTypeCommandParameter
properties toMaterialTextField
. A feature enhancement stated in this issue. - Changed the default color values of
MaterialColorConfiguration
. - Fixed a bug in Android when using
MaterialIcon
, which causes all other views using the same resource image to change color when one of them was changed. - Fixed a bug in Android when using
MaterialButton
, which causes text button type not having a disabled text state. - Removed the back button title in iOS when using
MaterialNavigationPage
. - Removed
ColorConfiguration
andFontConfiguration
inXF.Material.Forms.Material
class. Added static subclassesColor
andFontFamily
with static properties that will hold the values of the current color and font configurations.
- Refactored
MaterialDialogs
. A feature enhancement stated in this issue.- Added
MaterialDialogs.ShowConfirmAsync()
. Use this for user confirmation of action. Returns aboolean
value based on what the user chose. MaterialDialogs.ShowAlertAsync
is now only used for user acknowledgement purposes.- The overload method of
MaterialDialogs.ShowSnackbarAsync()
that has an action now also returns aboolean
value.
- Added
- Changed the minimum
Xamarin.Android.Support.*
verion to25.4.0.2
to address this issue. This is the same minimum version that the latestXamarin.Forms
Nuget package accepts. - Changed the assembly and namespace name from
XF.Material
toXF.Material.Forms
. - Added static properties
ColorConfiguration
andFontConfiguration
toXF.Material.Forms.Material
class.
- Added NuGet Package icon.
- Added
MaterialAlertDialogConfiguration
,MaterialLoadingConfiguration
, andMaterialSnackbarConfiguration
for styling modals created byMaterialDialogs
. - Added
MaterialConstants
, a static class to provide constant key values of Material Resources. - Refactored methods in
MaterialDialogs
. - Fixed
MaterialButton
throwing exception on devices running Android 4.2. - Fixed
MaterialTextField
not showing error icon on iOS when the propertyHasError
is set totrue
.
- Fixed NuGet Package not including the features from version
1.0.3
. - Updated to the latest Xamarin.Forms.
- Added
MaterialTextField
andMaterialIcon
.
- Added type scale fonts in
MaterialFontConfiguration
.
- Fixed some rendering bugs.
- Added a
FontAttribute.Bold
DynamicResource
value toMaterialButton
. - Removed
Padding
values inMaterialChip
. - Pages pushed in
MaterialNavigationPage
will have a defaultBackgroundColor
value equal to theMaterialColorConfiguration.Background
, unless theBackgroundColor
property is set in the page.
- Initial release.