Merge "Updated TaskMenuView." into sc-dev
This commit is contained in:
commit
4e6a7e340d
|
@ -29,6 +29,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import android.animation.AnimatorSet;
|
|||
import android.animation.ObjectAnimator;
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.Gravity;
|
||||
import android.view.MotionEvent;
|
||||
|
@ -164,7 +163,6 @@ public class TaskMenuView extends AbstractFloatingView {
|
|||
}
|
||||
|
||||
private void addMenuOptions(TaskView taskView) {
|
||||
Drawable icon = taskView.getTask().icon.getConstantState().newDrawable();
|
||||
mTaskName.setText(TaskUtils.getTitle(getContext(), taskView.getTask()));
|
||||
mTaskName.setOnClickListener(v -> close(true));
|
||||
|
||||
|
|
Loading…
Reference in New Issue