I want to remove a shadow from an ActionBar , and I read that you are doing this:
ActionBar
getSupportActionBar().setElevation(0)
However, this did not seem to work on Pre 5.0 devices. This is mistake? I do not use the toolbar. Just a regular ActionBar from the library.
If you use an ActionBar (not a toolbar), you can remove the shadow below using this style:
<style name="MyAppTheme" parent="Theme.AppCompat.Light"> <item name="android:windowContentOverlay">@null</item> </style>
Source: https://habr.com/ru/post/1205544/More articles:Modeling many-to-many relationships in Cassandra 2 with CQL3 - databaseInteractive transition with no button click Segue (Swift) - pushhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1205541/ios-how-can-i-add-events-to-kal-library-in-objective-c&usg=ALkJrhjzT0uowNgk__jOT-K5Fl_hn9LPcQEmbed JavaScript code in Webview iOS - javascriptRecording speakers with PyAudio - pythonCopying std :: unique_ptr value through dereference - c ++Does Swift close fixed variables? - swiftlua_newstate vs lua_newthread - c ++Lua 5.2.2 Broken Threading System - coroutineHow to find the center of a circle using least square in python? - pythonAll Articles