Skip to content

Commit 957728d

Browse files
committed
add ImgCache Gif
1 parent f0d7263 commit 957728d

File tree

11 files changed

+3
-3
lines changed

11 files changed

+3
-3
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<application
1010
android:allowBackup="true"
11-
android:icon="@mipmap/study"
11+
android:icon="@mipmap/android_study"
1212
android:label="@string/app_name"
1313
android:supportsRtl="true"
1414
android:theme="@style/AppTheme">

app/src/main/java/org/ninetripods/mq/study/util/CommonUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public class CommonUtil {
2121
* @param view View
2222
*/
2323
public static void measureWidthAndHeight(View view) {
24-
int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec((1 << 30) - 1, View.MeasureSpec.AT_MOST);
25-
int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec((1 << 30) - 1, View.MeasureSpec.AT_MOST);
24+
int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
25+
int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
2626
view.measure(widthMeasureSpec, heightMeasureSpec);
2727
}
2828

1.65 KB
Loading
-14.3 KB
Binary file not shown.
1.89 KB
Loading
-24.1 KB
Binary file not shown.
2.58 KB
Loading
-51.1 KB
Binary file not shown.
2.1 KB
Loading
-86.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)