Commit 4730f7fb authored by Thomas's avatar Thomas
Browse files

Header more visible

parent 506f5fcf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -648,6 +648,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
                headerMainBinding.accountName.setText(currentAccount.mastodon_account.display_name);
                Helper.loadPP(BaseMainActivity.this, headerMainBinding.accountProfilePicture, currentAccount, false);
                MastodonHelper.loadProfileMediaMastodon(BaseMainActivity.this, headerMainBinding.backgroundImage, currentAccount.mastodon_account, MastodonHelper.MediaAccountType.HEADER);
                headerMainBinding.backgroundImage.setAlpha(0.5f);
                /*
                 * Some general data are loaded when the app starts such;
                 *  - Pinned timelines (in app feature)
+5 −2
Original line number Diff line number Diff line
@@ -54,7 +54,8 @@
            android:layout_marginTop="10dp"
            android:orientation="horizontal">

            <TextView
            <androidx.appcompat.widget.AppCompatTextView
                style="@style/TextAppearance.Material3.TitleMedium"
                android:id="@+id/account_name"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
@@ -83,8 +84,10 @@
            android:layout_marginTop="10dp"
            android:orientation="horizontal">

            <TextView
            <androidx.appcompat.widget.AppCompatTextView
                style="@style/TextAppearance.Material3.TitleSmall"
                android:id="@+id/account_acc"
                tools:text="@tools:sample/full_names"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"