Skip to content
Advertisement

Tag: android-layout

Inserting imageview inside edittext android

I want to place imageview inside edittext. Would it be possible? I checked “evernote” application, and it was able to put photo on the edittext part. I want to make my application exactly as same. How would I be able to put imageview that was chosen from the gallery, and place the photo inside edittext? I first tried to put

How can i remove unnecessary top padding in cardview?

I managed to implement Cardviews in my app, but the cardview show an unnecessary padding in the top. What i want to achieve is to get a header image like this : Here’s my cardview Layout file : This is the code of the RecyclerView : android:layout_height=”match_parent” android:padding=”16dp”> I manage to change the attribute cardUseCompatPadding but that not affect the

Advertisement