Material UI 4.3 - Slider, ButtonGroup, HiddenLabel and More!

Material UI React 4.3 is out and two new components are available, Slider and ButtonGroup.
Slider has been moved from lab to core and now features range slider functionality. No need to bring in another library for some quick Slider action!

There are also other updates such as a hiddenLabel prop for TextField using the filled variant and vertical tabs, read the blog post and github releases page below for more information:

Blog post:
https://material-ui.com/blog/june-2019-update/

Github:
https://github.com/mui-org/material-ui/releases/tag/v4.3.0

Suggestions for what the next videos can be are welcome in the comments!

#material ui

Material UI 4.3 - Slider, ButtonGroup, HiddenLabel and More!

Material UI 4.3 - Slider, ButtonGroup, HiddenLabel and More!

Material UI React 4.3 is out and two new components are available, Slider and ButtonGroup.
Slider has been moved from lab to core and now features range slider functionality. No need to bring in another library for some quick Slider action!

There are also other updates such as a hiddenLabel prop for TextField using the filled variant and vertical tabs, read the blog post and github releases page below for more information:

Blog post:
https://material-ui.com/blog/june-2019-update/

Github:
https://github.com/mui-org/material-ui/releases/tag/v4.3.0

Suggestions for what the next videos can be are welcome in the comments!

#material ui

Material UI 4.3 - Slider, ButtonGroup, HiddenLabel and More!
Hertha  Mayer

Hertha Mayer

1597189108

Sliders — Material Component For Android

Sliders used to view and select a value or range from the given slider bar.They’re mainly used for adjusting settings such as volume and brightness, etc.

Sliders can use icons on both ends of the bar to represent a numeric or relative scale. The range of values or the nature of the values, such as volume change, can be communicated with icons.

Sliders add into Material design in library version **1.2.0. **So, you need to add 1.2.0 or higher version on material design.

Image for post

Sliders design

Types of sliders

There are two types of sliders.

  • Continuous Slider
  • Discrete Slider

Also, We have a another slider called range slider.

Lets see about these sliders in detail.

Continuous Slider

Continuous sliders allow us to select any value between the given start and end value.

For example, valueFrom = “0.0” and valueTo=”100.0" in this case, you can select any values between from and to values like 55.5, 62.0, etc.

Image for post

continuous slider

defining the slider In the layout,

<com.google.android.material.slider.Slider
        android:id="@+id/continuousSlider"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:valueFrom="0.0"
        android:valueTo="100.0"
        android:value="20.0"/>

in the layout,

**valueFrom : **starting value of the slider.

**valueTo : **ending value of the slider.

**value: **setting the initial value of the slider.

Similarly, we can add a **RangeSlider **in a layout:

<com.google.android.material.slider.RangeSlider
        android:id="@+id/rangeSlider"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:valueFrom="0.0"
        android:valueTo="100.0"
        android:stepSize="10.0"
        app:values="@array/initial_range_slider_values" />

The RangeSlider has app:values attribute to set the range for the slider. we need to provide the range in arrays.

values/arrays.xml:

<resources>
    <array name="initial_range_slider_values">
        <item>20.0</item>
        <item>80.0</item>
    </array>
</resources>

Continous Range Slider

Continuous range slider

Values changes Listeners

We can observe the changes of the slider in two different ways.

addOnSliderTouchListener

by using addOnSliderTouchListener, we can observe the sliders start and stop touch position values.

continuousSlider.addOnSliderTouchListener(object : Slider.OnSliderTouchListener {
            override fun onStartTrackingTouch(slider: Slider) {
                // Responds to when slider's touch event is being started
                Log.d("onStartTrackingTouch", slider.value.toString())
            }

            override fun onStopTrackingTouch(slider: Slider) {
                // Responds to when slider's touch event is being stopped
                Log.d("onStopTrackingTouch", slider.value.toString())
            }
        })

similarly, we can add touch listener for the range slider.

rangeSlider.addOnSliderTouchListener(object : RangeSlider.OnSliderTouchListener{
            override fun onStartTrackingTouch(slider: RangeSlider) {
                val values = rangeSlider.values
                Log.d("onStartTrackingTouch From", values[0].toString())
                Log.d("onStartTrackingTouch T0", values[1].toString())
            }

            override fun onStopTrackingTouch(slider: RangeSlider) {
                val values = rangeSlider.values
                Log.d("onStopTrackingTouch From", values[0].toString())
                Log.d("onStopTrackingTouch T0", values[1].toString())
            }
        })

addOnChangeListener

#slider #android-material-design #android-slider #material-design #material-components

Sliders — Material Component For Android

Material UI 4.8 Is Out

Material UI 4.8 was recently released. Here I will showcase a demo with some of the changes in the new version.

One of the changes is the addition of the AvatarGroup component (which is still in the lab). Another change is the addition of the “orientation” prop for the ButtonGroup component (still rather new).

Release notes:
https://github.com/mui-org/material-ui/releases/tag/v4.8.0

#material ui #material ui 4.8

Material UI 4.8 Is Out

UI Designer Vs UI Developer

Comparing UI Designers to UI Developers
User interface (UI) designers and developers are directly responsible for the consumer base’s experience using an application or software program. Designers specifically deal with the visual aspects of the program, while developers deal with the overall performance and functionality of the software.
To get in depth knowledge on UI, enrich your skills on UI online training Course

Responsibilities of UI Designers vs. UI Developers
UI designers and developers work in tandem to create a program or application that is easy to understand and operate by their customers or clients. Though there may be some occasional overlap in the duties within the workplace, their designated duties are quite clear and are dependent on the other. UI developers are responsible for the coding and programming in the conception of an application, specifically with regard to how the software operates at the hands of the user. UI designers are in charge of applying their understanding of the program operations to create a visual experience that is most compatible to the program’s functionality.

UI Designers
User interface designers are tasked with understanding the programming language of the application in creation so that they can conceptualize and craft visual aspects that will facilitate usage of the program. They are expected to understand computer programming as well as graphic design due to the demands of their work, since they are in charge of incorporating their designs into the program correctly. Their designs are implemented into the layout, which is typically drafted by the developers, while the style of their designs is contingent on the guidelines given by the directors. Once these designs are finished, they must implement them into the program and run a demo of it for the developers and directors to ensure they met the needs and expectations of the project while ensuring there aren’t any bugs caused from their designs. Get more skills from UI Training

Other responsibilities of UI designers are as follows:

  • Make drafts in graphic design and editing software
  • Select fonts and determine color schemes, for consistency
  • Proficiency in programming codes such as Java or CSS
  • Create storyboards and test runs of animated, visual concepts

UI Developers
User interface developers are responsible for the functional aspects of a software application, coding and programming throughout all stages of development with the clients and potential users of the application in mind. They usually begin the process by incorporating the clients’ expressed needs into a layout that is modified as progress is made. Once they get the general functions working, the designers will incorporate their visual conceptions into the layout to ensure that the first draft is operational. If there are any bugs or malfunctions to fix, the developers must troubleshoot and patch the application. While doing these tasks, they must take detailed notes of all the progress made to streamline any future updates made to the program, functionally or aesthetically. Learn more from ui design course

UI developers will also be responsible for:

  • Utilizing research data to improve or build onto the design of the application
  • Suggesting any software updates to improve functionality
  • Constructing diagrams that will aide other developers and programmers on the project
  • Performing test runs of the application

#ui design course #ui training #online ui training #ui online course #ui online training #advanced ui design course

UI Designer Vs UI Developer

UX designer ? UI designer ? UI Developer ?

The UX designer is someone who thinks about what should the user flow be like, which page should lead to which page, when should a confirm popup appear or not appear, should there be a listing page before or after a create-new page, should there be an address field in the page or geolocation is enough to serve the purpose? After brainstorming through each of these and several other questions, the UX designer comes up with something known as wireframes, which in simple terms is just a blueprint of the website/app.
This is image title

To get in-Depth knowledge on UI Design you can enroll for a live demo on UI online training

The UI designer then takes the wireframes and makes them beautiful, also ensuring that the workflow of the product is communicated well to the user. He will add the pixel level details to the wireframes. What should be the font used, what should be the background image, do we need a background image, what should be the foreground color, how big should be the submit button, does it make more sense to have the menu at the bottom of the screen, what should the logo look like? The job of a UI designer is answering all these and thereafter delivering static mockups, using may be Photoshop, Invision and many other design tools.

The UI developer is the one who puts these static mockups in “real code”. They might need skills like HTML CSS , precompilers(like sass or less) , UI frameworks (like bootstrap or foundation), or xml layouts( in case of android UI) or a combined knowledge of all of them with Javascript (in case of react, react native). The result is a beautiful set of screens/pages which can be actually rendered in a browser or a mobile device.Learn more from ui design course

#ui online course #ui design course #ui training #online ui training #ui courses online #ui design classes online

UX designer ? UI designer ? UI Developer ?