This commit is contained in:
Grishka 2022-05-13 20:42:54 +03:00
parent 95c66654aa
commit 349fbce5af
1 changed files with 102 additions and 94 deletions

View File

@ -77,11 +77,16 @@
android:textAppearance="@style/m3_body_large" android:textAppearance="@style/m3_body_large"
tools:text="Founder, CEO and lead developer @Mastodon, Germany." /> tools:text="Founder, CEO and lead developer @Mastodon, Germany." />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/bio"
android:orientation="horizontal">
<LinearLayout <LinearLayout
android:id="@+id/posts_btn" android:id="@+id/posts_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="48dp" android:layout_height="48dp"
android:layout_below="@id/bio"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@ -106,8 +111,7 @@
android:id="@+id/followers_btn" android:id="@+id/followers_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="48dp" android:layout_height="48dp"
android:layout_toEndOf="@id/posts_btn" android:layout_marginTop="16dp"
android:layout_alignTop="@id/posts_btn"
android:layout_marginStart="12dp" android:layout_marginStart="12dp"
android:orientation="vertical" android:orientation="vertical"
android:gravity="center_horizontal"> android:gravity="center_horizontal">
@ -129,8 +133,7 @@
android:id="@+id/following_btn" android:id="@+id/following_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="48dp" android:layout_height="48dp"
android:layout_alignTop="@id/posts_btn" android:layout_marginTop="16dp"
android:layout_toEndOf="@id/followers_btn"
android:layout_marginStart="12dp" android:layout_marginStart="12dp"
android:orientation="vertical" android:orientation="vertical"
android:gravity="center_horizontal"> android:gravity="center_horizontal">
@ -148,13 +151,16 @@
tools:text="following"/> tools:text="following"/>
</LinearLayout> </LinearLayout>
<Space
android:layout_width="0px"
android:layout_height="1px"
android:layout_weight="1"/>
<FrameLayout <FrameLayout
android:id="@+id/action_btn_wrap" android:id="@+id/action_btn_wrap"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentEnd="true" android:layout_marginTop="8dp"
android:layout_alignTop="@id/posts_btn"
android:layout_marginTop="-8dp"
android:padding="8dp" android:padding="8dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:clipToPadding="false"> android:clipToPadding="false">
@ -162,7 +168,8 @@
android:id="@+id/action_btn" android:id="@+id/action_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:text="Edit Profile"/> android:singleLine="true"
tools:text="@string/follow_back"/>
<ProgressBar <ProgressBar
android:id="@+id/action_progress" android:id="@+id/action_progress"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -175,5 +182,6 @@
android:indeterminateTint="?colorButtonText" android:indeterminateTint="?colorButtonText"
android:visibility="gone"/> android:visibility="gone"/>
</FrameLayout> </FrameLayout>
</LinearLayout>
</RelativeLayout> </RelativeLayout>