android - Get rid of this line separator between my action-bar and pagertabview: -



android - Get rid of this line separator between my action-bar and pagertabview: -

i'm trying rid of line separator between action-bar , pagertabview:

how did google accomplish this?

that isn't line separator, shadow indicating action bar @ higher elevation tab bar.

assuming using appcompat, can utilize viewcompat.setelevation() set elevation on tabs devices back upwards (those running api 21+).

your code might this:

view tabs = findviewbyid(r.id.the_tabs_id) viewcompat.setelevation(tabs, getresources().getdimension(r.dimen.action_bar_elevation));

i using 4dp action_bar_elevation dimension.

pre 5.0:

<style name="apptheme" parent="@android:style/theme.holo.light"> <item name="android:windowcontentoverlay">@null</item> </style>

android android-actionbar styles

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -