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

View File

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