From 17189216e33f01ab6a4645789d77d4add977f080 Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Sun, 16 Sep 2018 19:46:06 +0200 Subject: [PATCH] remove fake shadow view and replace with elevation in AccountActivity --- .../java/com/keylesspalace/tusky/AccountActivity.kt | 2 -- app/src/main/res/layout/activity_account.xml | 12 ++---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt b/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt index 6dac78b2..ef4eade5 100644 --- a/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt @@ -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() diff --git a/app/src/main/res/layout/activity_account.xml b/app/src/main/res/layout/activity_account.xml index 8aa3c21f..29fdcf3d 100644 --- a/app/src/main/res/layout/activity_account.xml +++ b/app/src/main/res/layout/activity_account.xml @@ -10,7 +10,8 @@ + android:layout_height="wrap_content" + android:elevation="@dimen/actionbar_elevation"> - -