N
N
Nick20152015-09-11 00:41:33
Android
Nick2015, 2015-09-11 00:41:33

CardView and gray line :)?

0dbb8970dd514bcc9d109e6bbf66e216.jpg
There are recycleview and cartview. The question is how to remove the gray line (you can see on the screenshot) at the bottom of the cartview, can you change it or raise it higher?
+ tell me the resources that describe how to make a footer in the cartview.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
itdroid, 2015-09-11
@itdroid

Hello,
Something is wrong with your theme, you are using the default theme for <=Api10 (Android 2.3).
Check if your Activity inherits from AppCompatActivity (compile 'com.android.support:appcompat-v7:2x.xx').
And if you are using a custom theme, make sure it inherits from Theme.AppCompat, like so:
Hope it helps.
I also advise you to familiarize yourself with this document: www.google.ru/design/spec/components/cards.html#ca...
Do you need cards for such markup?
The footer is added in the same way as you added the Title, email, address fields.

T
Tiberal, 2015-09-11
@Tiberal

See item markup. It looks like you are migrating from LiastView and the line is the separator that was used there)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question