From 0c464e488eef43d104be97b072a4801d07122d4a Mon Sep 17 00:00:00 2001 From: Vavassor Date: Wed, 15 Mar 2017 16:38:19 -0400 Subject: [PATCH] Fixes a layout error on account profiles. --- .../java/com/keylesspalace/tusky/ViewThreadFragment.java | 4 ++++ app/src/main/res/layout/activity_account.xml | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/ViewThreadFragment.java b/app/src/main/java/com/keylesspalace/tusky/ViewThreadFragment.java index df35e88f..e068f86e 100644 --- a/app/src/main/java/com/keylesspalace/tusky/ViewThreadFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/ViewThreadFragment.java @@ -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"); } } diff --git a/app/src/main/res/layout/activity_account.xml b/app/src/main/res/layout/activity_account.xml index e1f6f829..d238fa4d 100644 --- a/app/src/main/res/layout/activity_account.xml +++ b/app/src/main/res/layout/activity_account.xml @@ -24,10 +24,9 @@ android:fitsSystemWindows="true" app:titleEnabled="false"> - + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentBottom="true"> - +