Tag: Xml

Tag: Xml

How to work with LayoutInflater in Kotlin
Image December 19, 2018 Development Pushpendra Kumar

Typically, you don’t ever need to directly use a LayoutInflater. Android does most of the layout inflation for you when you call setContentView() in the onCreate() method of your activity. So you, as the programmer, are responsible for making sure the views are inflated. Now you want to inflate views in the context of a

Details
How to work with scroller view in android?
Image December 7, 2018 Android Development Pushpendra Kumar

ScrollerView If you want to become a good developer then you must understand the hierarchy of the views. Here we have one most important topic to discuss with you and which is based on the scroller view. So let’s learn the scroller view hierarchy. The android.widget.ScrollView class provides the functionality of scroll view. ScrollView is

Details
How to use gradient in CardView android?
Image December 5, 2018 Android Development Pushpendra Kumar

I am sure you are looking for a view with elevation. First of all, I would like to clear your doubt. You can not use any costume background or any costume drawable to cardview directly. If you will use then you will lose the CardView effect. So now there is a question in front of

Details