Merge branch 'development' of github.com:open-keychain/open-keychain into development
@ -498,9 +498,6 @@ public class KeyListFragment extends LoaderFragment
|
||||
// Execute this when searching
|
||||
mSearchView.setOnQueryTextListener(this);
|
||||
|
||||
View searchPlate = mSearchView.findViewById(android.support.v7.appcompat.R.id.search_plate);
|
||||
searchPlate.setBackgroundResource(R.drawable.keychaintheme_searchview_holo_light);
|
||||
|
||||
// Erase search result without focus
|
||||
MenuItemCompat.setOnActionExpandListener(searchItem, new MenuItemCompat.OnActionExpandListener() {
|
||||
@Override
|
||||
|
@ -24,13 +24,13 @@ import android.support.v4.app.FragmentActivity;
|
||||
import android.support.v4.app.LoaderManager;
|
||||
import android.support.v4.content.Loader;
|
||||
import android.support.v4.widget.CursorAdapter;
|
||||
import android.support.v7.internal.widget.TintSpinner;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.Spinner;
|
||||
import android.widget.SpinnerAdapter;
|
||||
import android.widget.TextView;
|
||||
|
||||
@ -41,7 +41,11 @@ import org.sufficientlysecure.keychain.provider.KeychainContract;
|
||||
import org.sufficientlysecure.keychain.ui.util.KeyFormattingUtils;
|
||||
import org.sufficientlysecure.keychain.util.Log;
|
||||
|
||||
public abstract class KeySpinner extends Spinner implements LoaderManager.LoaderCallbacks<Cursor> {
|
||||
/**
|
||||
* Use TintSpinner from AppCompat lib instead of Spinner. Fixes white dropdown icon.
|
||||
* Related: http://stackoverflow.com/a/27713090
|
||||
*/
|
||||
public abstract class KeySpinner extends TintSpinner implements LoaderManager.LoaderCallbacks<Cursor> {
|
||||
public interface OnKeyChangedListener {
|
||||
public void onKeyChanged(long masterKeyId);
|
||||
}
|
||||
|
Before Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 803 B |
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 717 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 790 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 395 B |
Before Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 420 B |
Before Width: | Height: | Size: 514 B |
Before Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 467 B |
Before Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 866 B |
Before Width: | Height: | Size: 977 B |
Before Width: | Height: | Size: 1022 B |
Before Width: | Height: | Size: 928 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 812 B |
Before Width: | Height: | Size: 886 B |
Before Width: | Height: | Size: 845 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 312 B |
Before Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 508 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 982 B |
Before Width: | Height: | Size: 554 B |
Before Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 770 B |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 962 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 736 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 829 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 334 B |