update minSdkVersion to 21 (#843)
* set minSdkVersion to 21 * use elevation instead of additional views for shadow * clean up code occurrences * remove drawable compat code * remove no longer needed resources * remove unneeded android:clipChildren="false" * Revert "remove no longer needed resources" This reverts commit 67a4d6f8d87b3f116b95d90dfb48f350d342f503. * remove no longer needed resources (this time the right ones)
This commit is contained in:
parent
5621e5d2d4
commit
4402f3d337
40 changed files with 35 additions and 249 deletions
|
|
@ -3,7 +3,6 @@ package com.keylesspalace.tusky.adapter;
|
|||
import android.content.ClipData;
|
||||
import android.content.ClipboardManager;
|
||||
import android.content.Context;
|
||||
import android.os.Build;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.text.SpannableStringBuilder;
|
||||
import android.text.Spanned;
|
||||
|
|
@ -137,9 +136,7 @@ class StatusDetailedViewHolder extends StatusBaseViewHolder {
|
|||
cardInfo.getLayoutParams().width = ViewGroup.LayoutParams.MATCH_PARENT;
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
cardView.setClipToOutline(true);
|
||||
}
|
||||
cardView.setClipToOutline(true);
|
||||
|
||||
Picasso.with(cardImage.getContext())
|
||||
.load(card.getImage())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue