Fixes a layout error on account profiles.

This commit is contained in:
Vavassor 2017-03-15 16:38:19 -04:00
parent 19e2725824
commit 0c464e488e
2 changed files with 9 additions and 4 deletions

View file

@ -35,6 +35,8 @@ import retrofit2.Call;
import retrofit2.Callback;
public class ViewThreadFragment extends SFragment implements StatusActionListener {
private static final String TAG = "ViewThreadFragment";
private RecyclerView recyclerView;
private ThreadAdapter adapter;
private String thisThreadsStatusId;
@ -136,6 +138,8 @@ public class ViewThreadFragment extends SFragment implements StatusActionListene
}
})
.show();
} else {
Log.e(TAG, "Couldn't display thread fetch error message");
}
}

View file

@ -24,10 +24,9 @@
android:fitsSystemWindows="true"
app:titleEnabled="false">
<FrameLayout
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="?attr/account_header_background_color">
<ImageView
@ -45,7 +44,9 @@
android:background="@drawable/account_header_gradient"
android:layout_width="match_parent"
app:layout_collapseMode="parallax"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true">
<RelativeLayout
android:layout_width="match_parent"
@ -117,7 +118,7 @@
</LinearLayout>
</FrameLayout>
</RelativeLayout>
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"