parent
2a78b7e386
commit
08012fc88e
@ -0,0 +1,12 @@ |
|||||||
|
package net.pokeranalytics.android.ui.modules.handhistory.model |
||||||
|
|
||||||
|
import net.pokeranalytics.android.ui.view.RowRepresentable |
||||||
|
|
||||||
|
enum class HandHistorySettings : RowRepresentable { |
||||||
|
BASE, |
||||||
|
STRADDLE, |
||||||
|
COMMENT, |
||||||
|
PLAYER_SETUP; |
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
@ -0,0 +1,46 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
android:orientation="horizontal" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent"> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatEditText |
||||||
|
android:id="@+id/smallBlindEditText" |
||||||
|
style="@style/PokerAnalyticsTheme.EditText" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:hint="@string/smallblind" |
||||||
|
android:layout_weight="1" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:gravity="center" |
||||||
|
android:maxLines="1" /> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatEditText |
||||||
|
android:id="@+id/bigBlindEditText" |
||||||
|
style="@style/PokerAnalyticsTheme.EditText" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:hint="@string/bigblind" |
||||||
|
android:layout_weight="1" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:gravity="center" |
||||||
|
android:maxLines="1" /> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatEditText |
||||||
|
android:id="@+id/anteEditText" |
||||||
|
style="@style/PokerAnalyticsTheme.EditText" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:hint="@string/ante" |
||||||
|
android:layout_weight="1" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:gravity="center" |
||||||
|
android:maxLines="1" /> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.SwitchCompat |
||||||
|
android:id="@+id/bbAnteSwitch" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:hint="@string/ante" |
||||||
|
android:layout_weight="1" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:gravity="center" |
||||||
|
android:maxLines="1" /> |
||||||
|
|
||||||
|
</LinearLayout> |
||||||
@ -0,0 +1,41 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
android:orientation="vertical" |
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent"> |
||||||
|
|
||||||
|
<com.google.android.material.chip.ChipGroup |
||||||
|
android:id="@+id/positionsChipGroup" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="44dp" |
||||||
|
app:chipSpacing="8dp" |
||||||
|
app:singleSelection="true" /> |
||||||
|
|
||||||
|
<LinearLayout |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="wrap_content"> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatEditText |
||||||
|
android:id="@+id/handEditText" |
||||||
|
style="@style/PokerAnalyticsTheme.EditText" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:hint="@string/hand" |
||||||
|
android:layout_weight="1" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:gravity="center" |
||||||
|
android:maxLines="1" /> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatEditText |
||||||
|
android:id="@+id/stackEditText" |
||||||
|
style="@style/PokerAnalyticsTheme.EditText" |
||||||
|
android:hint="@string/stack" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_weight="1" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:gravity="end" |
||||||
|
android:maxLines="1" /> |
||||||
|
|
||||||
|
</LinearLayout> |
||||||
|
|
||||||
|
</LinearLayout> |
||||||
@ -0,0 +1,71 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
android:orientation="vertical" |
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent"> |
||||||
|
|
||||||
|
<com.google.android.material.chip.ChipGroup |
||||||
|
android:id="@+id/typeChipGroup" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="44dp" |
||||||
|
app:chipSpacing="8dp" |
||||||
|
app:singleSelection="true"> |
||||||
|
|
||||||
|
<com.google.android.material.chip.Chip |
||||||
|
android:id="@+id/noneChip" |
||||||
|
android:layout_width="wrap_content" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:checked="true" |
||||||
|
android:text="@string/none" /> |
||||||
|
|
||||||
|
<com.google.android.material.chip.Chip |
||||||
|
android:id="@+id/standardChip" |
||||||
|
android:layout_width="wrap_content" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:text="@string/standard" /> |
||||||
|
|
||||||
|
<com.google.android.material.chip.Chip |
||||||
|
android:id="@+id/mississipiChip" |
||||||
|
android:layout_width="wrap_content" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:text="@string/mississipi" /> |
||||||
|
|
||||||
|
</com.google.android.material.chip.ChipGroup> |
||||||
|
|
||||||
|
<LinearLayout |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:layout_marginStart="80dp" |
||||||
|
android:layout_marginEnd="80dp" |
||||||
|
> |
||||||
|
|
||||||
|
<com.google.android.material.button.MaterialButton |
||||||
|
android:id="@+id/minusButton" |
||||||
|
android:text="-" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:layout_weight="1" |
||||||
|
style="@style/PokerAnalyticsTheme.SingleCharacterButton"/> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView |
||||||
|
android:id="@+id/countTextView" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_weight="1" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
||||||
|
app:layout_constraintBottom_toBottomOf="parent" |
||||||
|
app:layout_constraintStart_toStartOf="@+id/guidelineStart" |
||||||
|
app:layout_constraintTop_toTopOf="parent" /> |
||||||
|
|
||||||
|
<com.google.android.material.button.MaterialButton |
||||||
|
android:id="@+id/plusButton" |
||||||
|
android:text="+" |
||||||
|
style="@style/PokerAnalyticsTheme.SingleCharacterButton" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:layout_weight="1"/> |
||||||
|
|
||||||
|
</LinearLayout> |
||||||
|
|
||||||
|
</LinearLayout> |
||||||
Loading…
Reference in new issue