|
|
|
|
@ -15,16 +15,98 @@ |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
android:id="@+id/sessionData" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:background="@color/gray_darker" |
|
|
|
|
android:elevation="4dp" |
|
|
|
|
android:translationY="-72dp" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
tools:translationY="0dp"> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/sinceTitle" |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:text="Since" |
|
|
|
|
android:textAllCaps="true" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/sinceValue" |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:text="2h33" |
|
|
|
|
android:textSize="24sp" |
|
|
|
|
app:fontFamily="@font/roboto_bold" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/sinceTitle" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/resultTitle" |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:text="Result" |
|
|
|
|
android:textAllCaps="true" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:text="$ 325" |
|
|
|
|
android:textColor="@color/green" |
|
|
|
|
android:textSize="28sp" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/resultTitle" /> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/state" |
|
|
|
|
style="@style/PokerAnalyticsTheme.TextView.RowTitle" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:text="PLAYING" |
|
|
|
|
android:textColor="@color/colorAccent" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
|
|
android:id="@+id/recyclerView" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
android:paddingBottom="96dp" |
|
|
|
|
android:clipToPadding="false" |
|
|
|
|
android:paddingBottom="96dp" |
|
|
|
|
android:translationY="-72dp" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/sessionData" |
|
|
|
|
tools:translationY="0dp" /> |
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
|
@ -55,6 +137,7 @@ |
|
|
|
|
app:titleTextColor="@color/white" |
|
|
|
|
tools:title="Poker Analytics" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout> |
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
|
|
@ -63,10 +146,10 @@ |
|
|
|
|
android:id="@+id/bottomAppBar" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
app:fabAlignmentMode="center" |
|
|
|
|
android:layout_gravity="bottom" |
|
|
|
|
android:background="@color/red" |
|
|
|
|
android:theme="@style/PokerAnalyticsTheme.BottomAppBar" |
|
|
|
|
android:layout_gravity="bottom" /> |
|
|
|
|
app:fabAlignmentMode="center" /> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
|
|
android:id="@+id/floatingActionButton" |
|
|
|
|
|