The color references of the following layouts files have been replaced by attribute references

This commit is contained in:
ErikWaegerle 2020-06-03 00:36:59 +02:00
parent e366bccee9
commit b7189338f7
15 changed files with 39 additions and 39 deletions

View file

@ -3,13 +3,13 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#FFFFFF"> android:background="?attr/lightestBackGround">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="#FFFFFF" android:background="?attr/lightestBackGround"
android:id="@+id/main_content" android:id="@+id/main_content"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:orientation="vertical" android:orientation="vertical"

View file

@ -119,7 +119,7 @@
style="@style/RatingBar"/> style="@style/RatingBar"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
@ -137,7 +137,7 @@
android:background="@drawable/standalone_button"/> android:background="@drawable/standalone_button"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/activity_vertical_margin" android:layout_marginTop="@dimen/activity_vertical_margin"
@ -164,7 +164,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:background="@color/white" android:background="?attr/lightestBackGround"
app:menu="@menu/menu_drawer_main" app:menu="@menu/menu_drawer_main"
app:headerLayout="@layout/nav_header" /> app:headerLayout="@layout/nav_header" />

View file

@ -118,7 +118,7 @@
style="@style/RatingBar"/> style="@style/RatingBar"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="@dimen/main_button_padding" android:layout_marginLeft="@dimen/main_button_padding"
@ -136,7 +136,7 @@
android:background="@drawable/standalone_button"/> android:background="@drawable/standalone_button"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
@ -237,7 +237,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:background="@color/white" android:background="?attr/lightestBackGround"
app:menu="@menu/menu_drawer_main" app:menu="@menu/menu_drawer_main"
app:headerLayout="@layout/nav_header" /> app:headerLayout="@layout/nav_header" />

View file

@ -3,13 +3,13 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#FFFFFF"> android:background="?attr/lightestBackGround">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="#FFFFFF" android:background="?attr/lightestBackGround"
android:id="@+id/main_content" android:id="@+id/main_content"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:orientation="vertical" android:orientation="vertical"

View file

@ -3,13 +3,13 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#FFFFFF"> android:background="?attr/lightestBackGround">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="#FFFFFF" android:background="?attr/lightestBackGround"
android:id="@+id/main_content" android:id="@+id/main_content"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:orientation="vertical" android:orientation="vertical"

View file

@ -122,7 +122,7 @@
style="@style/RatingBar"/> style="@style/RatingBar"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginTop="@dimen/activity_vertical_margin" android:layout_marginTop="@dimen/activity_vertical_margin"
@ -141,7 +141,7 @@
android:background="@drawable/standalone_button"/> android:background="@drawable/standalone_button"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
@ -235,7 +235,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:background="@color/white" android:background="?attr/lightestBackGround"
app:menu="@menu/menu_drawer_main" app:menu="@menu/menu_drawer_main"
app:headerLayout="@layout/nav_header" /> app:headerLayout="@layout/nav_header" />

View file

@ -3,13 +3,13 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#FFFFFF"> android:background="?attr/lightestBackGround">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="#FFFFFF" android:background="?attr/lightestBackGround"
android:id="@+id/main_content" android:id="@+id/main_content"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:orientation="vertical" android:orientation="vertical"

View file

@ -120,7 +120,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:layout_marginBottom="50dp" android:layout_marginBottom="50dp"
android:background="@color/colorPrimary" android:background="?attr/colorPrimary"
android:foregroundGravity="center_vertical" /> android:foregroundGravity="center_vertical" />
</RelativeLayout> </RelativeLayout>
@ -216,7 +216,7 @@
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:background="@color/colorPrimary" android:background="?attr/colorPrimary"
android:foregroundGravity="center_vertical" /> android:foregroundGravity="center_vertical" />
</LinearLayout> </LinearLayout>

View file

@ -86,7 +86,7 @@
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:background="@color/white" android:background="?attr/lightestBackGround"
app:menu="@menu/menu_drawer" app:menu="@menu/menu_drawer"
app:headerLayout="@layout/nav_header" /> app:headerLayout="@layout/nav_header" />

View file

@ -114,7 +114,7 @@
style="@style/RatingBar"/> style="@style/RatingBar"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="@dimen/main_button_padding" android:layout_marginLeft="@dimen/main_button_padding"
@ -131,7 +131,7 @@
android:background="@drawable/standalone_button"/> android:background="@drawable/standalone_button"/>
<Button <Button
android:textColor="@color/white" android:textColor="?attr/lightestFontColor"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
@ -232,7 +232,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:background="@color/white" android:background="?attr/lightestBackGround"
app:menu="@menu/menu_drawer_main" app:menu="@menu/menu_drawer_main"
app:headerLayout="@layout/nav_header" /> app:headerLayout="@layout/nav_header" />

View file

@ -26,7 +26,7 @@
android:layout_height="1dp" android:layout_height="1dp"
android:alpha=".5" android:alpha=".5"
android:layout_above="@id/layoutDots" android:layout_above="@id/layoutDots"
android:background="@android:color/white" /> android:background="?attr/lightestBackGround" />
<Button <Button
android:id="@+id/btn_next" android:id="@+id/btn_next"
@ -36,7 +36,7 @@
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:background="@null" android:background="@null"
android:text="@string/next" android:text="@string/next"
android:textColor="@android:color/white" /> android:textColor="?attr/lightestFontColor" />
<Button <Button
android:id="@+id/btn_skip" android:id="@+id/btn_skip"
@ -46,6 +46,6 @@
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:background="@null" android:background="@null"
android:text="@string/skip" android:text="@string/skip"
android:textColor="@android:color/white" /> android:textColor="?attr/lightestFontColor" />
</RelativeLayout> </RelativeLayout>

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height" android:layout_height="@dimen/nav_header_height"
android:background="@color/colorAccent" android:background="?attr/colorAccent"
android:gravity="bottom" android:gravity="bottom"
android:orientation="vertical" android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin"
@ -12,7 +12,7 @@
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="#ffffff" android:background="?attr/lightestBackGround"
android:paddingBottom="7dp" android:paddingBottom="7dp"
android:paddingTop="7dp"> android:paddingTop="7dp">
@ -29,7 +29,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/Sudoku" android:text="@string/Sudoku"
android:textColor="@color/colorPrimaryDark" android:textColor="?attr/colorPrimaryDark"
android:textSize="18sp" android:textSize="18sp"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:layout_centerVertical="true" android:layout_centerVertical="true"

View file

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/colorAccent"> android:background="?attr/colorAccent">
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -17,7 +17,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/slide1_heading" android:text="@string/slide1_heading"
android:textColor="@android:color/white" android:textColor="?attr/lightestFontColor"
android:textSize="@dimen/slide_title" android:textSize="@dimen/slide_title"
android:textStyle="bold" /> android:textStyle="bold" />
@ -37,7 +37,7 @@
android:text="@string/slide1_text" android:text="@string/slide1_text"
android:textAlignment="center" android:textAlignment="center"
android:gravity="center" android:gravity="center"
android:textColor="@android:color/white" android:textColor="?attr/lightestFontColor"
android:textSize="@dimen/slide_desc" /> android:textSize="@dimen/slide_desc" />
</LinearLayout> </LinearLayout>

View file

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/colorAccent"> android:background="?attr/colorAccent">
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -16,7 +16,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/slide2_heading" android:text="@string/slide2_heading"
android:textColor="@android:color/white" android:textColor="?attr/lightestFontColor"
android:textSize="@dimen/slide_title" android:textSize="@dimen/slide_title"
android:textStyle="bold" /> android:textStyle="bold" />
@ -53,7 +53,7 @@
android:paddingRight="@dimen/desc_padding" android:paddingRight="@dimen/desc_padding"
android:text="@string/slide2_text" android:text="@string/slide2_text"
android:textAlignment="center" android:textAlignment="center"
android:textColor="@android:color/white" android:textColor="?attr/lightestFontColor"
android:textSize="@dimen/slide_desc" /> android:textSize="@dimen/slide_desc" />
</LinearLayout> </LinearLayout>

View file

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/colorAccent"> android:background="?attr/colorAccent">
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -17,7 +17,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/slide3_heading" android:text="@string/slide3_heading"
android:textColor="@android:color/white" android:textColor="?attr/lightestFontColor"
android:textSize="@dimen/slide_title" android:textSize="@dimen/slide_title"
android:textStyle="bold" /> android:textStyle="bold" />
@ -30,7 +30,7 @@
android:numStars="4" android:numStars="4"
android:layout_marginTop="25dp" android:layout_marginTop="25dp"
android:rating="1" android:rating="1"
android:background="@color/white" android:background="?attr/lightestFontColor"
android:stepSize="1" android:stepSize="1"
style="@style/RatingBar"/> style="@style/RatingBar"/>
@ -43,7 +43,7 @@
android:textAlignment="center" android:textAlignment="center"
android:gravity="center" android:gravity="center"
android:layout_marginTop="25dp" android:layout_marginTop="25dp"
android:textColor="@android:color/white" android:textColor="?attr/lightestFontColor"
android:textSize="@dimen/slide_desc" /> android:textSize="@dimen/slide_desc" />
</LinearLayout> </LinearLayout>