|
|
|
|
@ -36,14 +36,14 @@ |
|
|
|
|
tools:text="21" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/gameType" |
|
|
|
|
android:id="@+id/sessionTitle" |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.SessionRow.Title" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/gameInfo" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/sessionInfoLayout" |
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/linearLayout" |
|
|
|
|
app:layout_constraintHorizontal_bias="0.5" |
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/dateDay" |
|
|
|
|
@ -51,36 +51,132 @@ |
|
|
|
|
app:layout_constraintVertical_chainStyle="packed" |
|
|
|
|
tools:text="$300 NL Hold'em" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/gameInfo" |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.SessionRow.Subtitle" |
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/sessionInfoLayout" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
android:layout_marginBottom="8dp" |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/linearLayout" |
|
|
|
|
app:layout_constraintHorizontal_bias="0.5" |
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/gameType" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/gameType" |
|
|
|
|
tools:text="Settings of this game" /> |
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/sessionTitle" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/sessionTitle"> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
|
android:id="@+id/sessionInfoDurationIcon" |
|
|
|
|
android:layout_width="16dp" |
|
|
|
|
android:layout_height="16dp" |
|
|
|
|
android:src="@drawable/clock" |
|
|
|
|
android:tint="@color/kaki_lighter" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/sessionInfoDurationValue" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
android:ellipsize="end" |
|
|
|
|
android:fontFamily="@font/roboto" |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:textAllCaps="true" |
|
|
|
|
android:textColor="@color/kaki_lighter" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="4:21" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
|
android:id="@+id/sessionInfoLocationIcon" |
|
|
|
|
android:layout_width="16dp" |
|
|
|
|
android:layout_height="16dp" |
|
|
|
|
android:src="@drawable/pin" |
|
|
|
|
android:tint="@color/kaki_lighter" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/sessionInfoLocationValue" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
android:ellipsize="end" |
|
|
|
|
android:fontFamily="@font/roboto" |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:textColor="@color/kaki_lighter" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="Rennes, France" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
|
android:id="@+id/sessionInfoTableIcon" |
|
|
|
|
android:layout_width="16dp" |
|
|
|
|
android:layout_height="16dp" |
|
|
|
|
android:src="@drawable/info" |
|
|
|
|
android:tint="@color/kaki_lighter" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/sessionInfoTableValue" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
android:ellipsize="end" |
|
|
|
|
android:fontFamily="@font/roboto" |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:textColor="@color/kaki_lighter" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="6-max" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/linearLayout" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
android:gravity="center" |
|
|
|
|
android:orientation="vertical" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/gameInfo" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/sessionInfoLayout" |
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/nextArrow" |
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/gameType"> |
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/sessionTitle"> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/gameResult" |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.SessionRow.Result" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
tools:text="$500" /> |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="$1000" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
|
android:id="@+id/playingIcon" |
|
|
|
|
android:layout_width="20dp" |
|
|
|
|
android:layout_height="20dp" |
|
|
|
|
android:src="@drawable/chip" |
|
|
|
|
android:tint="@color/green" |
|
|
|
|
android:visibility="gone" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/playingTitle" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:fontFamily="@font/roboto_medium" |
|
|
|
|
android:text="@string/running_session_state" |
|
|
|
|
android:textAllCaps="true" |
|
|
|
|
android:textSize="10sp" |
|
|
|
|
android:visibility="gone" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|