P
P
Pein952015-07-30 21:24:06
Android
Pein95, 2015-07-30 21:24:06

android support library how to use?

How to properly use the support library.
Let's say I'm using the toolbar from android 5.
Should I only use the toolbar from the support library to support android 4.0.3 and 5.x?
Or should I use the toolbar from android 5.x and the support library at the same time.
I just don't understand how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emin, 2015-07-30
@Pein95

If you use a support lib, then you should use everywhereandroid.support.v7.widget.Toolbar.
Обычный тулбар добавлен только в 5й версии, соответственно работать на <5 не будет.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question