1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2024-12-25 00:21:26 +01:00

カラム一覧でドラッグ中の項目に背景色がつかないバグを修正

This commit is contained in:
tateisu 2017-04-28 17:24:39 +09:00
parent c5bb7d065f
commit aabadd5b34

View File

@ -260,7 +260,7 @@ public class ActColumnList extends AppCompatActivity {
}
// ドラッグ操作中のデータ
private static class MyDragItem extends DragItem {
private class MyDragItem extends DragItem {
MyDragItem( Context context, int layoutId ){
super( context, layoutId );
}
@ -276,6 +276,9 @@ public class ActColumnList extends AppCompatActivity {
((TextView)dragView.findViewById( R.id.tvName )).setText(
((TextView)clickedView.findViewById( R.id.tvName )).getText()
);
dragView.findViewById(R.id.item_layout).setBackgroundColor(
Styler.getAttributeColor( ActColumnList.this, R.attr.list_item_bg_pressed_dragged)
);
}
}