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
diff --git a/core/java/android/widget/ProgressBar.java b/core/java/android/widget/ProgressBar.java | |
index 2a695e5..c38ffe6 100644 | |
--- a/core/java/android/widget/ProgressBar.java | |
+++ b/core/java/android/widget/ProgressBar.java | |
@@ -210,7 +210,7 @@ public class ProgressBar extends View { | |
drawable = a.getDrawable(R.styleable.ProgressBar_indeterminateDrawable); | |
if (drawable != null) { | |
- drawable = tileifyIndeterminate(drawable); | |
+ //drawable = tileifyIndeterminate(drawable); |
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
test gist | |
A lot | |
more | |
lines | |
than |
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
function get_first_image($html) | |
{ | |
// We're trying to find and retrieve the SRC of the first image tag in the content | |
preg_match("/<img(.*)>/Uise", $html, $matches); | |
if(@trim($matches[1]) !== "") | |
{ | |
// Found an image tag! | |
// Get the SRC parameter ... | |
preg_match("/src=\"(.*)\"/Uise", $matches[1], $image); |
NewerOlder