set flavor image height to wrap_content when loading finished
bump version
This commit is contained in:
parent
8d3776ccc0
commit
221d111e76
@ -2,8 +2,8 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
package="org.fox.ttrss"
|
package="org.fox.ttrss"
|
||||||
android:versionCode="439"
|
android:versionCode="440"
|
||||||
android:versionName="1.205">
|
android:versionName="1.206">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
@ -1228,6 +1228,10 @@ public class HeadlinesFragment extends Fragment {
|
|||||||
|
|
||||||
boolean forceDown = article.flavorImage != null && "video".equals(article.flavorImage.tagName().toLowerCase());
|
boolean forceDown = article.flavorImage != null && "video".equals(article.flavorImage.tagName().toLowerCase());
|
||||||
|
|
||||||
|
RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) holder.flavorImageView.getLayoutParams();
|
||||||
|
lp.height = RelativeLayout.LayoutParams.WRAP_CONTENT;
|
||||||
|
holder.flavorImageView.setLayoutParams(lp);
|
||||||
|
|
||||||
maybeRepositionFlavorImage(holder.flavorImageView, resource, holder, forceDown);
|
maybeRepositionFlavorImage(holder.flavorImageView, resource, holder, forceDown);
|
||||||
adjustVideoKindView(holder, article);
|
adjustVideoKindView(holder, article);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user