android-cardview

android cardview showing border around card

心不动则不痛 提交于 2020-12-05 05:00:22
问题 Android cardview is showing unnecessary border around the card. I have tried different things but I am not able to remove it. It happens when I give the card a custom background color. When I remove the cardBackgroundColor, and when default is used. Then unnecessary border is not visible. I have to use shadow and tranparent color code. Here is my layout CardView <RelativeLayout android:id="@+id/rlUserNamePassword" android:layout_width="match_parent" android:background="@android:color

How to pass data from a activity to a recycler view adapter in android

牧云@^-^@ 提交于 2020-08-10 21:16:11
问题 I'm trying to design a page where address are stored in recycler view -> cardview. When the user clicks the add address button from the Activity A the user is navigated to the add address page in Activity B . Here the user can input customer name, address line 1 and address line two. And once save button is clicked in Activity B , a cardview should be created under the add address button in the Activity A . This design is just like the amazon mobile app add address option. Could anyone give

Two cardview created, when trying to update the cardview

旧巷老猫 提交于 2020-07-23 06:35:29
问题 I'm trying to design a page where address are stored in recycler view -> cardview. When the user clicks the add address button from the Activity A the user is navigated to the add address page in Activity B. Here the user can input customer name, address line 1 and address line two. Similarly, When the user clicks the edit address button from the Activity A**(data in activity A is passed to activity B)** the user is navigated to the edit address page in Activity B. Here the user can input

Two cardview created, when trying to update the cardview

青春壹個敷衍的年華 提交于 2020-07-23 06:33:43
问题 I'm trying to design a page where address are stored in recycler view -> cardview. When the user clicks the add address button from the Activity A the user is navigated to the add address page in Activity B. Here the user can input customer name, address line 1 and address line two. Similarly, When the user clicks the edit address button from the Activity A**(data in activity A is passed to activity B)** the user is navigated to the edit address page in Activity B. Here the user can input

Error on Recycler view on fragment

扶醉桌前 提交于 2020-07-11 05:03:34
问题 I am using Recyclerview on a fragment when i run the app and open the activity it crashes.I am new to android so i am not able to implement Recyclerview with SQlite as i followed some code on internet and implemented in my code but my app crashes log 02-25 11:53:20.362 19942-19942/com.navinkadlak.typroject E/AndroidRuntime: FATAL EXCEPTION: main Process: com.navinkadlak.typroject, PID: 19942 java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.support.v7

Error on Recycler view on fragment

喜你入骨 提交于 2020-07-11 05:03:10
问题 I am using Recyclerview on a fragment when i run the app and open the activity it crashes.I am new to android so i am not able to implement Recyclerview with SQlite as i followed some code on internet and implemented in my code but my app crashes log 02-25 11:53:20.362 19942-19942/com.navinkadlak.typroject E/AndroidRuntime: FATAL EXCEPTION: main Process: com.navinkadlak.typroject, PID: 19942 java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.support.v7

Error on Recycler view on fragment

本秂侑毒 提交于 2020-07-11 05:01:18
问题 I am using Recyclerview on a fragment when i run the app and open the activity it crashes.I am new to android so i am not able to implement Recyclerview with SQlite as i followed some code on internet and implemented in my code but my app crashes log 02-25 11:53:20.362 19942-19942/com.navinkadlak.typroject E/AndroidRuntime: FATAL EXCEPTION: main Process: com.navinkadlak.typroject, PID: 19942 java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.support.v7