From 2ff2eefb9cfa670d2cd7ba5f04a51fd6c6b2dc47 Mon Sep 17 00:00:00 2001 From: tobiaskaminsky Date: Tue, 4 Jul 2017 10:19:28 +0200 Subject: [PATCH] checkbox in details screen for set available offline is now themed --- .../com/owncloud/android/ui/fragment/FileDetailFragment.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java b/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java index 67de37f2b4..49feed4861 100644 --- a/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java +++ b/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java @@ -24,6 +24,7 @@ package com.owncloud.android.ui.fragment; import android.accounts.Account; import android.graphics.Bitmap; import android.os.Bundle; +import android.support.v7.widget.AppCompatCheckBox; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; @@ -147,6 +148,9 @@ public class FileDetailFragment extends FileFragment implements OnClickListener ThemeUtils.colorPreLollipopHorizontalProgressBar(progressBar); mProgressListener = new ProgressListener(progressBar); mView.findViewById(R.id.fdCancelBtn).setOnClickListener(this); + + AppCompatCheckBox favoriteCheckBox = (AppCompatCheckBox) mView.findViewById(R.id.fdFavorite); + ThemeUtils.tintCheckbox(favoriteCheckBox, ThemeUtils.primaryAccentColor()); } updateFileDetails(false, false);