1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-19 23:12:12 +02:00

fixed background and image colour in dark mode

This commit is contained in:
oliexdev
2020-11-24 06:45:02 +01:00
parent 3f2703f878
commit 93736af298
7 changed files with 31 additions and 31 deletions

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/white">
android:background="?android:attr/windowBackground">
<LinearLayout
android:layout_width="match_parent"
@@ -48,8 +48,8 @@
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginBottom="40dp"
app:srcCompat="@drawable/ic_bluetooth_device_supported"
android:tint="@color/widgetTextColor"/>
app:tint="?android:attr/textColorSecondary"
app:srcCompat="@drawable/ic_bluetooth_device_supported" />
<TextView
android:layout_width="wrap_content"
@@ -82,15 +82,15 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/flat_selector"
android:text="Add Bluetooth scale"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:text="Add Bluetooth scale"
android:textColor="@android:color/white"
android:textSize="14sp"/>
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="250px"/>
android:layout_marginBottom="250px" />
</LinearLayout>
</ScrollView>

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
android:background="?android:attr/windowBackground">
<LinearLayout
android:layout_width="match_parent"
@@ -48,8 +48,8 @@
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginBottom="40dp"
app:srcCompat="@drawable/ic_preferences_graph"
android:tint="@color/widgetTextColor" />
app:tint="?android:attr/textColorSecondary"
app:srcCompat="@drawable/ic_preferences_graph" />
<TextView
android:id="@+id/slideMainText"
@@ -65,6 +65,6 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="250px"/>
android:layout_marginBottom="250px" />
</LinearLayout>
</ScrollView>

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
android:background="?android:attr/windowBackground">
<LinearLayout
android:layout_width="match_parent"
@@ -48,8 +48,8 @@
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginBottom="40dp"
app:srcCompat="@drawable/ic_slide_opensource"
android:tint="@color/widgetTextColor" />
app:tint="?android:attr/textColorSecondary"
app:srcCompat="@drawable/ic_slide_opensource" />
<TextView
android:id="@+id/slideMainText"
@@ -65,7 +65,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="250px"/>
android:layout_marginBottom="250px" />
</LinearLayout>
</ScrollView>

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
android:background="?android:attr/windowBackground">
<LinearLayout
android:layout_width="match_parent"
@@ -48,8 +48,8 @@
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginBottom="40dp"
app:srcCompat="@drawable/ic_slide_privacy"
android:tint="@color/widgetTextColor" />
app:tint="?android:attr/textColorSecondary"
app:srcCompat="@drawable/ic_slide_privacy" />
<TextView
android:id="@+id/slideMainText"
@@ -65,6 +65,6 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="250px"/>
android:layout_marginBottom="250px" />
</LinearLayout>
</ScrollView>

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
android:background="?android:attr/windowBackground">
<LinearLayout
android:layout_width="match_parent"
@@ -48,8 +48,8 @@
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginBottom="40dp"
app:srcCompat="@drawable/ic_slide_support"
android:tint="@color/widgetTextColor" />
app:tint="?android:attr/textColorSecondary"
app:srcCompat="@drawable/ic_slide_support" />
<TextView
android:id="@+id/slideMainText"
@@ -65,6 +65,6 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="250px"/>
android:layout_marginBottom="250px" />
</LinearLayout>
</ScrollView>

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white">
android:background="?android:attr/windowBackground">
<LinearLayout
android:layout_width="match_parent"
@@ -48,8 +48,8 @@
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginBottom="40dp"
app:srcCompat="@drawable/ic_slide_group"
android:tint="@color/widgetTextColor" />
app:tint="?android:attr/textColorSecondary"
app:srcCompat="@drawable/ic_slide_group" />
<TextView
android:layout_width="wrap_content"
@@ -72,15 +72,15 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/flat_selector"
android:text="@string/label_add_user"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:text="@string/label_add_user"
android:textColor="@android:color/white"
android:textSize="14sp"/>
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="250px"/>
android:layout_marginBottom="250px" />
</LinearLayout>
</ScrollView>

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
android:background="?android:attr/windowBackground">
<LinearLayout
android:layout_width="match_parent"
@@ -23,8 +23,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="40dp"
android:text="@string/label_slide_welcome_top_text"
android:gravity="center"
android:text="@string/label_slide_welcome_top_text"
android:textSize="26sp"
android:textStyle="bold" />
@@ -41,6 +41,6 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="250px"/>
android:layout_marginBottom="250px" />
</LinearLayout>
</ScrollView>