Android-cardview Questions
Ad
How to create transparent semicircle on the CardView
The problem is that these semicircles should change position depending on the content.
How to show card view background like progress in Android?
I want to set app:cardbackgroundcolor of cardview like this: <-----x-----> |-----------|------| |
Customizing CardViews to match a mockup
I have a ui mockup that i need to achieve which contains cardviews. i managed to create the top part with the title etc. but i can't
How to disable card-view in a file after clicking submit button in another file
How i can access the cardview when the submit button is in another layout? so basically after i click the submit button in
Recycler view item decoration and view elevation
I use recycler view decoration to add margin before specific items. my items - mostly materialcardview - have an important elevation :
How to center items in a Recyclerview?
I am using recyclerview with cardview items inside it. i set the gridlayoutmanager to show 2 items at each row and i want it to be centered on
How to make a RecylerView like WhatsApp Chat activity?
I building an app which should have a layout almost identical to the one used in whatsapp in the chat activity. it should have a text input,
Fetch data from firebase and add to card view
I want to fetch the data from firebase and add it to cardview. when i fetched title and description, title is displayed but my description isnt
Shadow not showing on Androidx Cardview
My layout file: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.constraintlayout
Retrieve Node ID from FireBase Database on CardView Click
I have a firebase database i am using with android. to retrieve and show data from firebase, i am using firebaserecycleradapter and
Ad
How do I get the number of Items in a recyclerView using firebase data?
I create a recyclerview with a series of cardviews inside. my end goal is being able to change the text inside of an individual cardview in the
How to convert a view or layout to image and share using intent?
I am trying to convert a card view into image and share it through whats app. i am using file provider as the test device's version is
layout:below not working in RelativeLayout inside CardView
I have a relativelayout inside a cardview, with a imageview and two textviews. one textview has to be centered, so it is placed over the
Is there anyway to Create a card on a click of a button for Android Java
Is there any way to create a card on a click of a button android?
OnTouch Listener removes round corners on CardView
I added ontouchlistener to my recyclerview adapter and it works fine with changing the color, but it also removes the
CardView Background color not the one I set
I am trying to make a recyclerview with cardview elements , each item having a different color. i am using an adapter
How can i use my cardview and slider with scroll page?
I'm writing code for my news application. now i am making my home page. i have card view and slider in my activity_main.xml but i want to make
I cannot navigate to multiple activities from a single Card View Activity. I can navigate to Only 1
I am using cardview for the first time. i have created 6 cards and made them listen to user click, but only the first cardview works and navigates
Different corner radius values for a MaterialCardView
Is is possible to have different values for each corner radius of a materialcardview? and if so how? i tried something like the code
Adding Views programatically to a CardView that is inside a RelativeLayout
I need to create cardviews to a relativelayout. inside the cardviews, there are other views, like imageviews, and textviews. they are added, but
get Cardview Background Color
I set a random color for cardview in android. random rnd = new random(); int color = color.argb(255, rnd.nextint(256),
Ad
Filter gridview Using Search View
I have gridview with text and imageview and i want to add search functionalty to it but i dont know how to do that my
Use the event of a recyclerview in a Fragment
Good morning friends, my problem is the following. i have a cardview with a button, i catch the button event in the recyclerview, but i would
How to make span count and icon size automatic
I am using recycler view with card view to show icons in my application. i am not able to figure out how to resize the app icons and
cardview not setting background to transparent
Hi i have a cardview located at the center of a view and i want to make its background transparent. but it does not seem to do it and has a white
Issue with SearchBar and RecyclerView and CardView
I'm using the searchbar following the tutorial
Fetch data from firebase firestore and plot histogram using highcharts when cardview clicked - android
I have an activity in which there are many card views which when clicked should fetch the data from firebase firestore and plot the data in a
CardView is not working perfectly in my android app, showing different in screen
I'm using android.support.v7.widget.cardview with match_parent and wrap_content. i want to make my layout responsive for
Adaptive/Expandable Recyclerview for a questionnaire
Info: i'm making an app that contains a questionnaire with yes/no checkboxes as answers. the questionnaire is made with
Gradle error while adding the dependencies CardView and RecylerView
I am trying to implement a cardview, where when the user presses the fab, a cardview is created dynamically. however, when i put the following bit
Custom ListView using CardView BaseAdapter OnItemClick
I really need help and some solution i try to make a custom listview using cardview with
How to make RecyclerView inside CardView and CardView have it's size when it has low items
I have a recyclerview inside a cardview but i have problem that i have 2 buttons in bottom of the
Ad
Why sending content by intent does not work
I have an activity that contains many posts in a recyclerview and each post placed in a cardview (posts are getting from my database in my host).
How to add and remove CardView from LinearLayout on button click in android studio?
I have a linear layout that contains a cardview. i want to add and delete cardviews dynamically on button clicks. i have tried the following code
How to Display the Local image(drawable image file) to cardview via json. I want to load image in offline rather then using picasso library
How to display the local image(drawable image file) to cardview via json. i want to load image in offline rather then
cards are shrinking when trying to add extra cards to the grid layout
In the android studio, when i try to add more cards and change the layout to scrollview, the window instead of scrolling shrinks the cards to fit
Wrong behavior when click on item in recyclerView to change its color?
I'm trying to change the background color of the clicked item in recyclerview from the adapter and it works, but the problem is when i click on
How to make running text in cardview android studio?
I want to make layout that look like this :
How to make square CardView (Android)
How to make square cardview. when i set the layout_weight on cardview it is not set like square on
How to change the indicator color every different cardview?
I create a cardview design with indicator in the left (red, green) but i have problem, how can i change the indicator color depends on the status
Error While Adding library for CardView
When i am adding the library for cardview ("compile 'com.android.support:cardview-v7:25.3.1'") in my build.gradle ( module : app ) file it is
CardCornerRadius in cardview looking weird in android Pie
My cardview was being shown as expected till android o like this,
Making RecyclerView vertical
Good day folk. i am new to android. i have some issues with recyclerview. i want to make appearance vertical for my data images and
Ad
How to open an implicit intent with recyclerview so that it opens a youtube video
Public class animatetoolbar extends appcompatactivity { private collapsingtoolbarlayout collapsingtoolbar; private appbarlayout
Click on Image and Open Zoomed Layout with actions like Instagram
I'm trying to implement long press image preview like in instagram. my application is having a catalog which contains images where when i
how to change data set on cardviews on listview click
I have created a custom listview having different topics. i want to set different data on the cardviews generated on clicking on a particular
adding cardview to recyclerview
I am trying to implement cardview on a recyclerview but the cardview is not showing. here is my code content.xml
Programmatically adding an item to a CardView
I have the following xml <scrollview android:layout_width="match_parent" android:layout_height="match_parent"
Getting Wrong position of RecyclerView Item in next Fragment after applying SearchFilter and OnClick on RecyclerView Item
I have set recyclerview on fragment.i have set onclick listener for recyclerview item from recyclerview adapter.i get
ListView Showing 1 result using FirebaseListAdapter
"in my application ,i am allowing to add comments using "listview" ,and using "firebaselistadapter", it works ,but it
How to set initial layout_width of cards in Recycler View to Match_Parent?
I am facing issue with rendering items in recycler view. the problem happens with the items that are initially loaded as you can see in the pic
Expandable CardView using RecyclerView
I am trying to make expandable cardview using recyclerview. i am able to see the list but when i click on some cardview and scroll then some other
Viewpager position retrieve when same activity in opened
I want the app as follows: when user clicks on one of the buttons it goes to another card activity which contains cardstack view-pager and user
Ad
How can I move a layout or card view when an action is made
I have created my expandable and collapsable card views in android studios by changing the visibility of the expandable card view. (so if it is
Cardview doesn't appear like in layout when i run it in my device
I'm using cardview to display my image view in scrollable gridlayout. but it appears fine when i go to design tab but when i run on device it
Getting blank RecyclerView inside ConstraintLayout
I'm trying to use cardview , inside the cardview i placed ui widgets 2 textviews and 2 imageviews. my recyclerview is used to display a list of
Recycling View Android Plot becomes gray after Scrolling
I got the following problem. when including android-xyplot into recycle-view, the plots are not displayed after scrolling elements out of
Android CardView with rounded corners displays grey corners
I'm inflating a custom layout with cardview inside the layout. the rounded corners are displayed as expected but i also get grey background
Android - updating support library com.android.support:cardview-v7 to version 27.0.2 unkown attributes issue
Problem with updating android support libraries from version 27.0.1 to 27.0.2 kind of problem: after changing the
ImageView don't match in cardView - Android
I have bellow xml : <relativelayout android:id="@+id/relative_one" android:layout_width="wrap_content"
setPadding() dosen't works when creating CardView dynamically
Setpadding doesn't work in my code. it appears all the cards are connected together the padding is not applied card = new
layout is not showing up
I'm trying to create a layout for my fragment . here is my xml layout. fragment_profil.xml
Passing RecyclerView CardView Clicked Item Data To Activity
I have a question about passing clicked cardview data to activity, and here the full story : i have an activity called "details",
Get card data and pass to intent when clicked
I'm working with cardview and got stuck in a little problem. i have a recyclerview where i am displaying some cards.
Ad
Blog Categories
Ad