Actually* fix the layout error on account pages.

main
Vavassor 8 years ago
parent 5ae58ecac1
commit 22b1472a3f
  1. 1
      app/src/main/java/com/keylesspalace/tusky/LoginActivity.java
  2. 8
      app/src/main/res/layout/activity_account.xml

@ -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
} }

@ -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"

Loading…
Cancel
Save