move metadata to profile
This commit is contained in:
@@ -303,9 +303,15 @@
|
||||
android:ellipsize="middle"
|
||||
tools:text="followers"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<me.grishka.appkit.views.UsableRecyclerView
|
||||
android:id="@+id/metadata"
|
||||
android:background="?colorBackgroundLightest"
|
||||
android:layout_below="@id/profile_counters"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.joinmastodon.android.ui.tabs.TabLayout
|
||||
|
||||
@@ -1,30 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorBackgroundLight"
|
||||
android:elevation="2dp"
|
||||
android:outlineProvider="background"
|
||||
android:padding="16dp">
|
||||
android:paddingHorizontal="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="56dp"
|
||||
android:textAppearance="@style/m3_label_medium"
|
||||
android:minHeight="16dp"
|
||||
android:textAllCaps="true"
|
||||
android:textSize="12sp"
|
||||
android:paddingBottom="8dp"
|
||||
tools:text="Field title"/>
|
||||
|
||||
<org.joinmastodon.android.ui.views.LinkedTextView
|
||||
android:id="@+id/value"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="2"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="@style/m3_body_large"
|
||||
android:textSize="16sp"
|
||||
android:textIsSelectable="true"
|
||||
android:paddingBottom="8dp"
|
||||
tools:text="Field value"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -4,9 +4,7 @@
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorBackgroundLight"
|
||||
android:elevation="2dp"
|
||||
android:outlineProvider="background">
|
||||
android:layout_marginBottom="4dp">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/remove_row_btn"
|
||||
@@ -26,11 +24,12 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toStartOf="@id/dragger_thingy"
|
||||
android:layout_toEndOf="@id/remove_row_btn"
|
||||
android:layout_marginTop="16dp"
|
||||
android:minHeight="24dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:gravity="bottom"
|
||||
android:textAppearance="@style/m3_label_medium"
|
||||
android:background="@drawable/bg_profile_field_edit_text"
|
||||
android:hint="@string/field_label"
|
||||
android:minHeight="16dp"
|
||||
android:inputType="textCapSentences"
|
||||
tools:text="Field title"/>
|
||||
|
||||
@@ -41,7 +40,9 @@
|
||||
android:layout_below="@id/title"
|
||||
android:layout_toStartOf="@id/dragger_thingy"
|
||||
android:layout_toEndOf="@id/remove_row_btn"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:minHeight="28dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:gravity="bottom"
|
||||
android:textAppearance="@style/m3_body_large"
|
||||
android:background="@drawable/bg_profile_field_edit_text"
|
||||
android:hint="@string/field_content"
|
||||
@@ -55,7 +56,6 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignBottom="@id/value"
|
||||
android:layout_marginBottom="-16dp"
|
||||
android:scaleType="center"
|
||||
android:contentDescription="@string/reorder"
|
||||
android:src="@drawable/ic_fluent_re_order_dots_vertical_24_regular"/>
|
||||
|
||||
Reference in New Issue
Block a user