From aabadd5b34da06482afc14586dd09d570bebeb30 Mon Sep 17 00:00:00 2001 From: tateisu Date: Fri, 28 Apr 2017 17:24:39 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AB=E3=83=A9=E3=83=A0=E4=B8=80=E8=A6=A7?= =?UTF-8?q?=E3=81=A7=E3=83=89=E3=83=A9=E3=83=83=E3=82=B0=E4=B8=AD=E3=81=AE?= =?UTF-8?q?=E9=A0=85=E7=9B=AE=E3=81=AB=E8=83=8C=E6=99=AF=E8=89=B2=E3=81=8C?= =?UTF-8?q?=E3=81=A4=E3=81=8B=E3=81=AA=E3=81=84=E3=83=90=E3=82=B0=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/jp/juggler/subwaytooter/ActColumnList.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/jp/juggler/subwaytooter/ActColumnList.java b/app/src/main/java/jp/juggler/subwaytooter/ActColumnList.java index 57b07f35..a4fa5fff 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/ActColumnList.java +++ b/app/src/main/java/jp/juggler/subwaytooter/ActColumnList.java @@ -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) + ); } }