remove fake shadow view and replace with elevation in AccountActivity

This commit is contained in:
Conny Duck 2018-09-16 19:46:06 +02:00
parent dbb3f4e826
commit 17189216e3
2 changed files with 2 additions and 12 deletions

View file

@ -23,7 +23,6 @@ import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.graphics.PorterDuff
import android.os.Build
import android.os.Bundle
import android.preference.PreferenceManager
import android.support.annotation.AttrRes
@ -360,7 +359,6 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, HasSupportF
accountStatuses.hide()
accountTabLayout.hide()
accountFragmentViewPager.hide()
accountTabBottomShadow.hide()
}
val numberFormat = NumberFormat.getNumberInstance()

View file

@ -10,7 +10,8 @@
<android.support.design.widget.AppBarLayout
android:id="@+id/accountAppBarLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:elevation="@dimen/actionbar_elevation">
<android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/collapsingToolbar"
@ -281,15 +282,6 @@
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<View
android:id="@+id/accountTabBottomShadow"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@drawable/material_drawer_shadow_bottom"
android:visibility="visible"
app:layout_anchor="@id/accountTabLayout"
app:layout_anchorGravity="bottom" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/accountFloatingActionButton"
android:layout_width="wrap_content"