Replace font theme attribute of the win_screen_layout with new theme attribute

This commit is contained in:
uykek 2020-06-07 10:32:43 +02:00
parent 5b3db3342a
commit 3232c7eb3f
2 changed files with 52 additions and 40 deletions

View file

@ -51,48 +51,54 @@
android:layout_marginTop="46dp" android:layout_marginTop="46dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/win_text" android:text="@string/win_text"
android:textAlignment="center" android:textAlignment="center"
android:layout_gravity="center_horizontal" android:textColor="?attr/winScreenFontColor" />
android:textColor="?attr/lightestFontColor"/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/win_time"
android:layout_gravity="center" android:layout_gravity="center"
android:textColor="?attr/lightestFontColor"/> android:text="@string/win_time"
android:textColor="?attr/winScreenFontColor" />
<TextView <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/win_time" android:id="@+id/win_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="" android:text=""
android:textColor="?attr/lightestFontColor" android:textColor="?attr/winScreenFontColor" />
android:layout_gravity="center_horizontal"/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/win_hint" android:text="@string/win_hint"
android:textColor="?attr/lightestFontColor" android:textColor="?attr/winScreenFontColor" />
android:layout_gravity="center" />
<TextView <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/win_hints" android:id="@+id/win_hints"
android:text=""
android:textColor="?attr/lightestFontColor"
android:layout_gravity="center_horizontal"/>
<TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/win_best_time" android:layout_gravity="center_horizontal"
android:text=""
android:textColor="?attr/winScreenFontColor" />
<TextView
android:id="@+id/win_new_besttime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:visibility="invisible" android:text="@string/win_best_time"
android:id="@+id/win_new_besttime" android:textColor="?attr/winScreenFontColor"
android:textColor="?attr/lightestFontColor"/> android:visibility="invisible" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout

View file

@ -54,48 +54,54 @@
android:orientation="vertical" android:orientation="vertical"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"> android:layout_marginRight="5dp">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/win_text" android:text="@string/win_text"
android:textAlignment="center" android:textAlignment="center"
android:layout_gravity="center_horizontal" android:textColor="?attr/winScreenFontColor" />
android:textColor="?attr/lightestFontColor"/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/win_time"
android:layout_gravity="center" android:layout_gravity="center"
android:textColor="?attr/lightestFontColor"/> android:text="@string/win_time"
android:textColor="?attr/winScreenFontColor" />
<TextView <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/win_time" android:id="@+id/win_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="" android:text=""
android:textColor="?attr/lightestFontColor" android:textColor="?attr/winScreenFontColor" />
android:layout_gravity="center_horizontal"/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/win_hint" android:text="@string/win_hint"
android:textColor="?attr/lightestFontColor" android:textColor="?attr/winScreenFontColor" />
android:layout_gravity="center" />
<TextView <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/win_hints" android:id="@+id/win_hints"
android:text=""
android:textColor="?attr/lightestFontColor"
android:layout_gravity="center_horizontal"/>
<TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/win_best_time" android:layout_gravity="center_horizontal"
android:text=""
android:textColor="?attr/winScreenFontColor" />
<TextView
android:id="@+id/win_new_besttime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:visibility="invisible" android:text="@string/win_best_time"
android:id="@+id/win_new_besttime" android:textColor="?attr/winScreenFontColor"
android:textColor="?attr/lightestFontColor"/> android:visibility="invisible" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout