forked from upstream-mirrors/quik
Updates selected assets
This commit is contained in:
@@ -91,11 +91,13 @@ public class ConversationListAdapter extends RecyclerCursorAdapter<ConversationL
|
||||
if (isInMultiSelectMode()) {
|
||||
holder.mSelected.setVisibility(View.VISIBLE);
|
||||
if (isSelected(conversation.getThreadId())) {
|
||||
holder.mSelected.setImageResource(R.drawable.btn_radio_on);
|
||||
holder.mSelected.setImageResource(R.drawable.ic_selected);
|
||||
holder.mSelected.setColorFilter(ThemeManager.getColor());
|
||||
holder.mSelected.setAlpha(1f);
|
||||
} else {
|
||||
holder.mSelected.setImageResource(R.drawable.btn_radio_off);
|
||||
holder.mSelected.setImageResource(R.drawable.ic_unselected);
|
||||
holder.mSelected.setColorFilter(ThemeManager.getTextOnBackgroundSecondary());
|
||||
holder.mSelected.setAlpha(0.5f);
|
||||
}
|
||||
} else {
|
||||
holder.mSelected.setVisibility(View.GONE);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zm-2,15l-5,-5 1.41,-1.41L10,14.17l7.59,-7.59L19,8l-9,9z" />
|
||||
</vector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10c5.5,0,10-4.5,10-10S17.5,2,12,2z M12,20c-4.4,0-8-3.6-8-8s3.6-8,8-8c4.4,0,8,3.6,8,8S16.4,20,12,20z" />
|
||||
</vector>
|
||||
Reference in New Issue
Block a user