longer fields when editing bio

pull/934/head
Thomas 1 year ago
parent e00a3c6717
commit e66ca47198

@ -14,46 +14,64 @@
You should have received a copy of the GNU General Public License along with Fedilab; if not, You should have received a copy of the GNU General Public License along with Fedilab; if not,
see <http://www.gnu.org/licenses> see <http://www.gnu.org/licenses>
--> -->
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" <com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
android:gravity="center_vertical" app:cardElevation="0dp"
android:orientation="horizontal"> app:strokeWidth="0dp">
<com.google.android.material.textfield.TextInputEditText <androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/name" android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_margin="5dp"
tools:text="@tools:sample/first_names" /> android:gravity="center_vertical"
android:orientation="horizontal">
<com.google.android.material.textfield.TextInputEditText <androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/value" android:layout_width="0dp"
android:layout_width="0dp" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:layout_weight="1"
android:layout_weight="2" android:gravity="center_vertical"
tools:text="@tools:sample/last_names" /> android:orientation="vertical">
<com.google.android.material.button.MaterialButton <com.google.android.material.textfield.TextInputEditText
android:id="@+id/remove" android:id="@+id/name"
style="@style/Widget.Material3.Button.OutlinedButton.Icon" android:layout_width="match_parent"
android:layout_width="36dp" android:layout_height="wrap_content"
android:layout_height="36dp" android:layout_weight="1"
android:layout_margin="6dp" tools:text="@tools:sample/first_names" />
android:insetTop="0dp"
android:insetBottom="0dp" <com.google.android.material.textfield.TextInputEditText
android:contentDescription="@string/delete_field" android:id="@+id/value"
android:padding="0dp" android:layout_width="match_parent"
android:textColor="?colorError" android:layout_height="wrap_content"
app:icon="@drawable/ic_compose_attachment_remove" android:layout_weight="2"
app:iconGravity="textStart" tools:text="@tools:sample/last_names" />
app:iconPadding="0dp" </androidx.appcompat.widget.LinearLayoutCompat>
app:iconTint="?colorError"
app:layout_constraintStart_toStartOf="@id/banner_pp" <com.google.android.material.button.MaterialButton
app:layout_constraintTop_toTopOf="@id/banner_pp" android:id="@+id/remove"
app:strokeColor="?colorError" /> style="@style/Widget.Material3.Button.OutlinedButton.Icon"
android:layout_width="36dp"
</androidx.appcompat.widget.LinearLayoutCompat> android:layout_height="36dp"
android:contentDescription="@string/delete_field"
android:insetTop="0dp"
android:insetBottom="0dp"
android:padding="0dp"
android:textColor="?colorError"
app:icon="@drawable/ic_compose_attachment_remove"
app:iconGravity="textStart"
app:iconPadding="0dp"
app:iconTint="?colorError"
app:layout_constraintStart_toStartOf="@id/banner_pp"
app:layout_constraintTop_toTopOf="@id/banner_pp"
app:strokeColor="?colorError" />
</androidx.appcompat.widget.LinearLayoutCompat>
</com.google.android.material.card.MaterialCardView>

Loading…
Cancel
Save