mirror of https://github.com/M66B/FairEmail.git
parent
4bba285da1
commit
ff2ae2312e
|
@ -262,6 +262,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
BottomNavigationView.OnNavigationItemSelectedListener {
|
BottomNavigationView.OnNavigationItemSelectedListener {
|
||||||
private ViewCardOptional card;
|
private ViewCardOptional card;
|
||||||
private View view;
|
private View view;
|
||||||
|
private View header;
|
||||||
|
|
||||||
private View vwColor;
|
private View vwColor;
|
||||||
private ImageButton ibExpander;
|
private ImageButton ibExpander;
|
||||||
|
@ -385,6 +386,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
card = itemView.findViewById(R.id.card);
|
card = itemView.findViewById(R.id.card);
|
||||||
view = itemView.findViewById(R.id.clItem);
|
view = itemView.findViewById(R.id.clItem);
|
||||||
|
header = itemView.findViewById(R.id.inHeader);
|
||||||
|
|
||||||
vwColor = itemView.findViewById(R.id.vwColor);
|
vwColor = itemView.findViewById(R.id.vwColor);
|
||||||
ibExpander = itemView.findViewById(R.id.ibExpander);
|
ibExpander = itemView.findViewById(R.id.ibExpander);
|
||||||
|
@ -560,10 +562,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
Rect rect = new Rect(
|
Rect rect = new Rect(
|
||||||
view.getLeft(),
|
header.getLeft(),
|
||||||
vwColor.getTop(),
|
header.getTop(),
|
||||||
view.getRight(),
|
header.getRight(),
|
||||||
vwColor.getBottom());
|
header.getBottom());
|
||||||
view.setTouchDelegate(new TouchDelegate(rect, touch));
|
view.setTouchDelegate(new TouchDelegate(rect, touch));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue