1ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann/* 2ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * Copyright (C) 2011 The Android Open Source Project 3ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * 4ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * Licensed under the Apache License, Version 2.0 (the "License"); 5ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * you may not use this file except in compliance with the License. 6ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * You may obtain a copy of the License at 7ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * 8ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * http://www.apache.org/licenses/LICENSE-2.0 9ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * 10ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * Unless required by applicable law or agreed to in writing, software 11ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * distributed under the License is distributed on an "AS IS" BASIS, 12ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * See the License for the specific language governing permissions and 14ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * limitations under the License. 15ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann */ 16ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmannpackage com.android.contacts.list; 17ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann 18ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmannimport android.content.Context; 19ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmannimport android.util.AttributeSet; 20ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann 21ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann/** 22ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann * A dark version of the {@link ContactTileView} (This class is needed to load the proper avatar) 23ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann */ 24ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmannpublic class ContactTileDarkFrequentView extends ContactTileView { 25ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann public ContactTileDarkFrequentView(Context context, AttributeSet attrs) { 26ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann super(context, attrs); 27ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann } 28ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann 29ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann @Override 30ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann protected boolean isDarkTheme() { 31ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann return true; 32ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann } 33ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71Daniel Lehmann} 34