-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3891 from TranceLove/feature/migrate-to-appcompat…
…-widgets Migrate widgets to use AppCompat versions where possible
- Loading branch information
Showing
98 changed files
with
662 additions
and
643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,10 +53,10 @@ | |
import android.view.ViewGroup; | ||
import android.view.animation.Animation; | ||
import android.view.animation.AnimationUtils; | ||
import android.widget.ImageButton; | ||
import android.widget.ImageView; | ||
import android.widget.Toast; | ||
|
||
import androidx.appcompat.widget.AppCompatImageButton; | ||
import androidx.appcompat.widget.AppCompatImageView; | ||
import androidx.recyclerview.widget.RecyclerView; | ||
|
||
/** Created by Arpit on 25-01-2015 edited by Emmanuel Messulam<[email protected]> */ | ||
|
@@ -127,7 +127,7 @@ public ArrayList<Integer> getCheckedItemPositions() { | |
* @param position the position of the item | ||
* @param imageView the circular {@link CircleGradientDrawable} that is to be animated | ||
*/ | ||
private void toggleChecked(int position, ImageView imageView) { | ||
private void toggleChecked(int position, AppCompatImageView imageView) { | ||
compressedExplorerFragment.stopAnim(); | ||
stoppedAnimation = true; | ||
|
||
|
@@ -204,7 +204,7 @@ public CompressedItemViewHolder onCreateViewHolder(ViewGroup parent, int viewTyp | |
} else if (viewType == TYPE_ITEM) { | ||
View v = mInflater.inflate(R.layout.rowlayout, parent, false); | ||
CompressedItemViewHolder vh = new CompressedItemViewHolder(v); | ||
ImageButton about = v.findViewById(R.id.properties); | ||
AppCompatImageButton about = v.findViewById(R.id.properties); | ||
about.setVisibility(View.INVISIBLE); | ||
return vh; | ||
} else { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.