skip to Main Content

Android Studio – Why the button doesn't get all the attributes from xml

I have created a xml file called round_button. It's a simple circular button with a gradient. Here is the simple code <?xml version="1.0" encoding="utf-8"?> <shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android"> <corners android:radius="3000dip" /> <gradient android:type="linear" android:startColor="#8dbab3" android:endColor="#0DCAAC" /> </shape> And that's the output:…

VIEW QUESTION

Android Studio – Why do the items in the recycler View are not showing well Android Kotlin

So I made my list so it look like this : but I don't know for what ever reason it show like that: Here is the frament_drivers.xml that hold the RecycleView: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"…

VIEW QUESTION
Back To Top
Search