From 22b1472a3f3f4478989d94b22cac393122b2a660 Mon Sep 17 00:00:00 2001 From: Vavassor Date: Wed, 15 Mar 2017 18:51:01 -0400 Subject: [PATCH] Actually* fix the layout error on account pages. --- .../main/java/com/keylesspalace/tusky/LoginActivity.java | 1 - app/src/main/res/layout/activity_account.xml | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/LoginActivity.java b/app/src/main/java/com/keylesspalace/tusky/LoginActivity.java index 88a453c3..67cf7e56 100644 --- a/app/src/main/java/com/keylesspalace/tusky/LoginActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/LoginActivity.java @@ -56,7 +56,6 @@ public class LoginActivity extends AppCompatActivity { @BindView(R.id.button_login) Button button; @BindView(R.id.no_account) TextView noAccount; - @Override protected void createMastodonAPI() { // Don't do this in this activity, since we don't know a domain yet } diff --git a/app/src/main/res/layout/activity_account.xml b/app/src/main/res/layout/activity_account.xml index d238fa4d..c8993720 100644 --- a/app/src/main/res/layout/activity_account.xml +++ b/app/src/main/res/layout/activity_account.xml @@ -36,17 +36,17 @@ android:scaleType="centerCrop" app:layout_collapseMode="pin" android:fitsSystemWindows="true" - android:adjustViewBounds="true" /> + android:layout_alignTop="@+id/account_header_info" + android:layout_alignBottom="@id/account_header_info" /> + android:layout_height="wrap_content">