11 lines
4.4 KiB
XML
11 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/server_settings_overview_icon_name_container" android:paddingLeft="16dp" android:paddingTop="16dp" android:paddingRight="16dp" android:clipToPadding="false" style="@style/UiKit_ViewGroup_ConstraintLayout">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/server_settings_overview_icon" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:placeholderImage="?attr/color_brand_500" app:roundAsCircle="true" app:roundWithOverlayColor="?attr/primary_600" style="@style/Avatar_XXLarge"/>
|
|
<ImageView android:background="@drawable/drawable_uikit_white_circle" android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_upload_image_40dp" android:importantForAccessibility="no" android:elevation="@dimen/app_elevation" app:layout_constraintEnd_toEndOf="@+id/server_settings_overview_icon" app:layout_constraintRight_toRightOf="@+id/server_settings_overview_icon" app:layout_constraintTop_toTopOf="@+id/server_settings_overview_icon" style="@style/UiKit_ImageView"/>
|
|
<TextView android:textSize="42sp" android:textColor="@color/primary_100" android:ellipsize="none" android:gravity="center" android:id="@+id/server_settings_overview_icon_text" android:layout_width="0dp" android:layout_height="0dp" android:layout_margin="8dp" android:singleLine="true" app:layout_constraintBottom_toBottomOf="@+id/server_settings_overview_icon" app:layout_constraintEnd_toEndOf="@+id/server_settings_overview_icon" app:layout_constraintLeft_toLeftOf="@+id/server_settings_overview_icon" app:layout_constraintRight_toRightOf="@+id/server_settings_overview_icon" app:layout_constraintStart_toStartOf="@+id/server_settings_overview_icon" app:layout_constraintTop_toTopOf="@+id/server_settings_overview_icon" app:textAllCaps="true" style="@style/UiKit_TextView"/>
|
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Semibold" android:textSize="@dimen/uikit_textsize_small" android:gravity="center_horizontal" android:id="@+id/icon_label" android:layout_width="wrap_content" android:text="@string/minimum_size" android:maxLines="2" android:layout_centerHorizontal="true" android:textAlignment="center" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="@+id/server_settings_overview_icon" app:layout_constraintLeft_toLeftOf="@+id/server_settings_overview_icon" app:layout_constraintRight_toRightOf="@+id/server_settings_overview_icon" app:layout_constraintStart_toStartOf="@+id/server_settings_overview_icon" app:layout_constraintTop_toBottomOf="@+id/server_settings_overview_icon" style="@style/UiKit_TextView_Subtext"/>
|
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Semibold" android:textColor="?attr/colorTextLink" android:id="@+id/server_settings_overview_icon_remove" android:background="?attr/selectableItemBackground" android:padding="8dp" android:visibility="gone" android:layout_width="wrap_content" android:text="@string/remove" android:layout_centerHorizontal="true" app:layout_constraintEnd_toEndOf="@+id/server_settings_overview_icon" app:layout_constraintLeft_toLeftOf="@+id/server_settings_overview_icon" app:layout_constraintRight_toRightOf="@+id/server_settings_overview_icon" app:layout_constraintStart_toStartOf="@+id/server_settings_overview_icon" app:layout_constraintTop_toBottomOf="@+id/icon_label" style="@style/UiKit_TextView_Subtext"/>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/overview_name" android:layout_width="0dp" android:hint="@string/form_label_server_name" android:layout_marginStart="16dp" app:layout_constraintBottom_toBottomOf="@+id/server_settings_overview_icon" app:layout_constraintEnd_toEndOf="0" app:layout_constraintLeft_toRightOf="@+id/server_settings_overview_icon" app:layout_constraintRight_toRightOf="0" app:layout_constraintStart_toEndOf="@+id/server_settings_overview_icon" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_TextInputLayout_Primary">
|
|
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|