Improve swipe to delete for players

feature/players
Aurelien Hubert 7 years ago
parent f1423257b1
commit 45bdd93b78
  1. 1
      app/src/main/java/net/pokeranalytics/android/ui/view/PlayerImageView.kt
  2. 12
      app/src/main/res/layout/row_player.xml

@ -33,7 +33,6 @@ class PlayerImageView : FrameLayout {
SMALL -> 16f
}
}
}
private lateinit var playerImageView: ConstraintLayout

@ -1,7 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/layout_swipe_to_delete" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/foreground"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/gray_dark"
@ -79,3 +87,5 @@
app:layout_constraintGuide_end="8dp" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
Loading…
Cancel
Save