Create a defaut white text style and set it to the loader dialog

od
Laurent 6 years ago
parent 8eabda0925
commit 17c050b6d8
  1. 3
      app/src/main/res/layout/fragment_loader.xml
  2. 5
      app/src/main/res/values/styles.xml

@ -39,9 +39,8 @@
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:fontFamily="@font/roboto"
android:text="@string/calculating_please_wait_"
android:textSize="16sp"
style="@style/PokerAnalyticsTheme.DefaultText"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

@ -26,6 +26,11 @@
<!-- Defaults -->
<style name="PokerAnalyticsTheme.DefaultText">
<item name="android:textSize">16sp</item>
<item name="android:textColor">@color/white</item>
<item name="android:fontFamily">@font/roboto</item>
</style>
<!-- Bottom Bar -->

Loading…
Cancel
Save