Fix elevation

This commit is contained in:
Dominik Schürmann
2015-03-06 01:12:33 +01:00
parent 0bb3b9c6cc
commit eaf7e5e005
7 changed files with 78 additions and 106 deletions

View File

@@ -1,33 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:orientation="vertical">
<include
android:id="@+id/toolbar_include"
layout="@layout/toolbar_standalone" />
android:id="@+id/toolbar_tabs"
layout="@layout/toolbar_tabs" />
<LinearLayout
android:layout_below="@id/toolbar_include"
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:elevation="4dp">
android:layout_height="match_parent" />
<com.astuetz.PagerSlidingTabStrip
android:id="@+id/sliding_tab_layout"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:textColor="@color/tab_text"
app:pstsTextColorSelected="@color/tab_text_selected"
app:pstsIndicatorColor="@color/tab_indicator" />
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>