parent
f1423257b1
commit
45bdd93b78
@ -1,81 +1,91 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?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:app="http://schemas.android.com/apk/res-auto" |
||||||
xmlns:tools="http://schemas.android.com/tools" |
xmlns:tools="http://schemas.android.com/tools" |
||||||
|
android:id="@+id/container" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content"> |
||||||
android:background="@color/gray_dark" |
|
||||||
android:foreground="?selectableItemBackground"> |
|
||||||
|
|
||||||
<net.pokeranalytics.android.ui.view.PlayerImageView |
<include layout="@layout/layout_swipe_to_delete" /> |
||||||
android:id="@+id/playerImage" |
|
||||||
android:layout_width="48dp" |
|
||||||
android:layout_height="48dp" |
|
||||||
android:layout_marginTop="8dp" |
|
||||||
android:background="@android:color/transparent" |
|
||||||
app:layout_constraintStart_toStartOf="@id/guidelineStart" |
|
||||||
app:layout_constraintTop_toTopOf="parent" /> |
|
||||||
|
|
||||||
<LinearLayout |
<androidx.constraintlayout.widget.ConstraintLayout |
||||||
android:layout_width="0dp" |
android:id="@+id/foreground" |
||||||
|
android:layout_width="match_parent" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||||
android:layout_marginStart="16dp" |
android:background="@color/gray_dark" |
||||||
android:layout_marginTop="8dp" |
android:foreground="?selectableItemBackground"> |
||||||
android:layout_marginEnd="8dp" |
|
||||||
android:layout_marginBottom="8dp" |
|
||||||
android:gravity="center_vertical" |
|
||||||
android:minHeight="48dp" |
|
||||||
android:orientation="vertical" |
|
||||||
app:layout_constraintBottom_toBottomOf="parent" |
|
||||||
app:layout_constraintEnd_toStartOf="@+id/nextArrow" |
|
||||||
app:layout_constraintStart_toEndOf="@+id/playerImage" |
|
||||||
app:layout_constraintTop_toTopOf="parent"> |
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView |
<net.pokeranalytics.android.ui.view.PlayerImageView |
||||||
android:id="@+id/playerName" |
android:id="@+id/playerImage" |
||||||
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
android:layout_width="48dp" |
||||||
android:layout_width="match_parent" |
android:layout_height="48dp" |
||||||
android:layout_height="wrap_content" |
android:layout_marginTop="8dp" |
||||||
android:ellipsize="end" |
android:background="@android:color/transparent" |
||||||
android:lines="1" |
app:layout_constraintStart_toStartOf="@id/guidelineStart" |
||||||
tools:text="John Smith" /> |
app:layout_constraintTop_toTopOf="parent" /> |
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView |
<LinearLayout |
||||||
android:id="@+id/playerSummary" |
android:layout_width="0dp" |
||||||
style="@style/PokerAnalyticsTheme.TextView" |
|
||||||
android:layout_width="match_parent" |
|
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||||
android:layout_marginTop="2dp" |
android:layout_marginStart="16dp" |
||||||
android:ellipsize="end" |
android:layout_marginTop="8dp" |
||||||
android:maxLines="3" |
android:layout_marginEnd="8dp" |
||||||
android:textColor="@color/kaki_lighter" |
android:layout_marginBottom="8dp" |
||||||
android:visibility="visible" |
android:gravity="center_vertical" |
||||||
tools:text="Summary" /> |
android:minHeight="48dp" |
||||||
|
android:orientation="vertical" |
||||||
|
app:layout_constraintBottom_toBottomOf="parent" |
||||||
|
app:layout_constraintEnd_toStartOf="@+id/nextArrow" |
||||||
|
app:layout_constraintStart_toEndOf="@+id/playerImage" |
||||||
|
app:layout_constraintTop_toTopOf="parent"> |
||||||
|
|
||||||
</LinearLayout> |
<androidx.appcompat.widget.AppCompatTextView |
||||||
|
android:id="@+id/playerName" |
||||||
|
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:ellipsize="end" |
||||||
|
android:lines="1" |
||||||
|
tools:text="John Smith" /> |
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView |
<androidx.appcompat.widget.AppCompatTextView |
||||||
android:id="@+id/nextArrow" |
android:id="@+id/playerSummary" |
||||||
android:layout_width="24dp" |
style="@style/PokerAnalyticsTheme.TextView" |
||||||
android:layout_height="24dp" |
android:layout_width="match_parent" |
||||||
android:src="@drawable/ic_arrow_right" |
android:layout_height="wrap_content" |
||||||
android:tint="@color/gray_light" |
android:layout_marginTop="2dp" |
||||||
app:layout_constraintBottom_toBottomOf="parent" |
android:ellipsize="end" |
||||||
app:layout_constraintEnd_toEndOf="@+id/guidelineEnd" |
android:maxLines="3" |
||||||
app:layout_constraintTop_toTopOf="parent" /> |
android:textColor="@color/kaki_lighter" |
||||||
|
android:visibility="visible" |
||||||
|
tools:text="Summary" /> |
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline |
</LinearLayout> |
||||||
android:id="@+id/guidelineStart" |
|
||||||
android:layout_width="wrap_content" |
|
||||||
android:layout_height="wrap_content" |
|
||||||
android:orientation="vertical" |
|
||||||
app:layout_constraintGuide_begin="16dp" /> |
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline |
<androidx.appcompat.widget.AppCompatImageView |
||||||
android:id="@+id/guidelineEnd" |
android:id="@+id/nextArrow" |
||||||
android:layout_width="wrap_content" |
android:layout_width="24dp" |
||||||
android:layout_height="wrap_content" |
android:layout_height="24dp" |
||||||
android:orientation="vertical" |
android:src="@drawable/ic_arrow_right" |
||||||
app:layout_constraintGuide_end="8dp" /> |
android:tint="@color/gray_light" |
||||||
|
app:layout_constraintBottom_toBottomOf="parent" |
||||||
|
app:layout_constraintEnd_toEndOf="@+id/guidelineEnd" |
||||||
|
app:layout_constraintTop_toTopOf="parent" /> |
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline |
||||||
|
android:id="@+id/guidelineStart" |
||||||
|
android:layout_width="wrap_content" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:orientation="vertical" |
||||||
|
app:layout_constraintGuide_begin="16dp" /> |
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline |
||||||
|
android:id="@+id/guidelineEnd" |
||||||
|
android:layout_width="wrap_content" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:orientation="vertical" |
||||||
|
app:layout_constraintGuide_end="8dp" /> |
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout> |
</FrameLayout> |
||||||
Loading…
Reference in new issue