Actually* fix the layout error on account pages.

This commit is contained in:
Vavassor 2017-03-15 18:51:01 -04:00
parent 5ae58ecac1
commit 22b1472a3f
2 changed files with 4 additions and 5 deletions

View file

@ -56,7 +56,6 @@ public class LoginActivity extends AppCompatActivity {
@BindView(R.id.button_login) Button button; @BindView(R.id.button_login) Button button;
@BindView(R.id.no_account) TextView noAccount; @BindView(R.id.no_account) TextView noAccount;
@Override
protected void createMastodonAPI() { protected void createMastodonAPI() {
// Don't do this in this activity, since we don't know a domain yet // Don't do this in this activity, since we don't know a domain yet
} }

View file

@ -36,17 +36,17 @@
android:scaleType="centerCrop" android:scaleType="centerCrop"
app:layout_collapseMode="pin" app:layout_collapseMode="pin"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:adjustViewBounds="true" /> android:layout_alignTop="@+id/account_header_info"
android:layout_alignBottom="@id/account_header_info" />
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:id="@+id/account_header_info"
android:paddingTop="?attr/actionBarSize" android:paddingTop="?attr/actionBarSize"
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"