@chrisbanes can I declare a theme overlay for a toolbar in my styles.xml directly or do I have to use android:theme on each Toolbar widget?
-
-
W odpowiedzi do @ValCanBuild
Try it. Declaring it in your style should work though.
1 odpowiedź 0 podanych dalej 0 polubionych -
W odpowiedzi do @chrisbanes
Here is a pastebin showing want I want to achieve: https://pastebin.com/Nq75964h . Doesn't work unless I set android:theme to the toolbar in layout
1 odpowiedź 0 podanych dalej 0 polubionych -
W odpowiedzi do @ValCanBuild
Ah, no that won't work since only the Toolbar class knows what it's defStyleAttr is. Unfortunate side affect of existing APIs.
1 odpowiedź 0 podanych dalej 0 polubionych
W odpowiedzi do @chrisbanes
Right, thought so but wanted to double check. Shame that I have to add that line to every toolbar in my app.
02:51 - 5 cze 2017
0 odpowiedzi
0 podanych dalej
0 polubionych
Wydaje się, że ładowanie zajmuje dużo czasu.
Twitter jest przeciążony lub wystąpił chwilowy problem. Spróbuj ponownie lub sprawdź status Twittera, aby uzyskać więcej informacji.