remove fake shadow view and replace with elevation in AccountActivity
This commit is contained in:
parent
3e2dc9f79b
commit
ee8dc7831f
@ -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()
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user