Fix some sheet color issues (closes #3000)

This commit is contained in:
arkon 2020-05-01 08:49:45 -04:00
parent c1e64a839d
commit cf2967cf34
2 changed files with 11 additions and 8 deletions

View file

@ -20,13 +20,14 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
app:srcCompat="@drawable/ic_photo_24dp" app:srcCompat="@drawable/ic_photo_24dp"
app:tint="@color/md_white_1000_54" /> app:tint="?attr/colorOnBackground" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="32dp" android:layout_marginStart="32dp"
android:text="@string/set_as_cover" /> android:text="@string/set_as_cover"
android:textColor="?attr/colorOnBackground" />
</LinearLayout> </LinearLayout>
@ -45,13 +46,14 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
app:srcCompat="@drawable/ic_share_24dp" app:srcCompat="@drawable/ic_share_24dp"
app:tint="@color/md_white_1000_54" /> app:tint="?attr/colorOnBackground" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="32dp" android:layout_marginStart="32dp"
android:text="@string/action_share" /> android:text="@string/action_share"
android:textColor="?attr/colorOnBackground" />
</LinearLayout> </LinearLayout>
@ -70,13 +72,14 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
app:srcCompat="@drawable/ic_file_download_black_24dp" app:srcCompat="@drawable/ic_file_download_black_24dp"
app:tint="@color/md_white_1000_54" /> app:tint="?attr/colorOnBackground" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="32dp" android:layout_marginStart="32dp"
android:text="@string/action_save" /> android:text="@string/action_save"
android:textColor="?attr/colorOnBackground" />
</LinearLayout> </LinearLayout>

View file

@ -8,7 +8,7 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="?attr/colorSurface"
android:elevation="2dp" android:elevation="2dp"
android:gravity="center" android:gravity="center"
android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingStart="?attr/listPreferredItemPaddingStart"
@ -24,7 +24,7 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:tint="?attr/colorOnBackground" /> app:tint="?attr/colorOnSurface" />
<Button <Button
android:id="@+id/reset_btn" android:id="@+id/reset_btn"