mirror of
				https://codeberg.org/tom79/Fedilab.git
				synced 2025-10-20 11:20:16 +03:00 
			
		
		
		
	longer fields when editing bio
This commit is contained in:
		
							parent
							
								
									e00a3c6717
								
							
						
					
					
						commit
						e66ca47198
					
				
					 1 changed files with 51 additions and 33 deletions
				
			
		| 
						 | 
					@ -14,38 +14,54 @@
 | 
				
			||||||
    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"
 | 
				
			||||||
 | 
					    app:cardElevation="0dp"
 | 
				
			||||||
 | 
					    app:strokeWidth="0dp">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <androidx.appcompat.widget.LinearLayoutCompat
 | 
				
			||||||
 | 
					        android:layout_width="match_parent"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_margin="5dp"
 | 
				
			||||||
        android:gravity="center_vertical"
 | 
					        android:gravity="center_vertical"
 | 
				
			||||||
        android:orientation="horizontal">
 | 
					        android:orientation="horizontal">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <androidx.appcompat.widget.LinearLayoutCompat
 | 
				
			||||||
 | 
					            android:layout_width="0dp"
 | 
				
			||||||
 | 
					            android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					            android:layout_weight="1"
 | 
				
			||||||
 | 
					            android:gravity="center_vertical"
 | 
				
			||||||
 | 
					            android:orientation="vertical">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <com.google.android.material.textfield.TextInputEditText
 | 
					            <com.google.android.material.textfield.TextInputEditText
 | 
				
			||||||
                android:id="@+id/name"
 | 
					                android:id="@+id/name"
 | 
				
			||||||
        android:layout_width="0dp"
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
                android:layout_height="wrap_content"
 | 
					                android:layout_height="wrap_content"
 | 
				
			||||||
                android:layout_weight="1"
 | 
					                android:layout_weight="1"
 | 
				
			||||||
                tools:text="@tools:sample/first_names" />
 | 
					                tools:text="@tools:sample/first_names" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <com.google.android.material.textfield.TextInputEditText
 | 
					            <com.google.android.material.textfield.TextInputEditText
 | 
				
			||||||
                android:id="@+id/value"
 | 
					                android:id="@+id/value"
 | 
				
			||||||
        android:layout_width="0dp"
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
                android:layout_height="wrap_content"
 | 
					                android:layout_height="wrap_content"
 | 
				
			||||||
                android:layout_weight="2"
 | 
					                android:layout_weight="2"
 | 
				
			||||||
                tools:text="@tools:sample/last_names" />
 | 
					                tools:text="@tools:sample/last_names" />
 | 
				
			||||||
 | 
					        </androidx.appcompat.widget.LinearLayoutCompat>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <com.google.android.material.button.MaterialButton
 | 
					        <com.google.android.material.button.MaterialButton
 | 
				
			||||||
            android:id="@+id/remove"
 | 
					            android:id="@+id/remove"
 | 
				
			||||||
            style="@style/Widget.Material3.Button.OutlinedButton.Icon"
 | 
					            style="@style/Widget.Material3.Button.OutlinedButton.Icon"
 | 
				
			||||||
            android:layout_width="36dp"
 | 
					            android:layout_width="36dp"
 | 
				
			||||||
            android:layout_height="36dp"
 | 
					            android:layout_height="36dp"
 | 
				
			||||||
        android:layout_margin="6dp"
 | 
					            android:contentDescription="@string/delete_field"
 | 
				
			||||||
            android:insetTop="0dp"
 | 
					            android:insetTop="0dp"
 | 
				
			||||||
            android:insetBottom="0dp"
 | 
					            android:insetBottom="0dp"
 | 
				
			||||||
        android:contentDescription="@string/delete_field"
 | 
					 | 
				
			||||||
            android:padding="0dp"
 | 
					            android:padding="0dp"
 | 
				
			||||||
            android:textColor="?colorError"
 | 
					            android:textColor="?colorError"
 | 
				
			||||||
            app:icon="@drawable/ic_compose_attachment_remove"
 | 
					            app:icon="@drawable/ic_compose_attachment_remove"
 | 
				
			||||||
| 
						 | 
					@ -57,3 +73,5 @@
 | 
				
			||||||
            app:strokeColor="?colorError" />
 | 
					            app:strokeColor="?colorError" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    </androidx.appcompat.widget.LinearLayoutCompat>
 | 
					    </androidx.appcompat.widget.LinearLayoutCompat>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</com.google.android.material.card.MaterialCardView>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue