13 lines
4.3 KiB
XML
13 lines
4.3 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:background="?attr/colorBackgroundSecondary" android:layout_height="wrap_content" style="@style/UiKit_ViewGroup_Page">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/guild_scheduled_event_list_toolbar_container" android:background="?attr/colorBackgroundTertiary" android:layout_width="match_parent" android:layout_height="?android:attr/actionBarSize" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0">
|
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Toolbar_Title" android:id="@+id/guild_scheduled_event_list_toolbar_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:text="@string/guild_events" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Semibold" android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorControlBrandForeground" android:gravity="center" android:id="@+id/create_event_button" android:background="?attr/bg_pressed_highlight" android:paddingLeft="16dp" android:paddingRight="16dp" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="match_parent" android:text="@string/create" android:contentDescription="@string/create" android:paddingHorizontal="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@+id/guild_scheduled_event_list_recycler_view" android:padding="16dp" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_list_toolbar_container" style="@style/UiKit_ViewGroup_RecyclerView"/>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/guild_scheduled_event_list_empty_state" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_list_toolbar_container">
|
|
<ImageView android:id="@+id/guild_scheduled_event_list_empty_state_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="80dp" android:src="@drawable/ic_events_empty" android:importantForAccessibility="no" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<TextView android:textSize="26sp" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/guild_scheduled_event_list_empty_state_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/guild_event_modal_empty_title" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_list_empty_state_icon" style="@style/UiKit_TextAppearance_Bold"/>
|
|
<TextView android:textSize="14sp" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_scheduled_event_list_empty_state_subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="80dp" android:text="@string/guild_event_modal_empty_subtitle" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_list_empty_state_title" style="@style/UiKit_TextAppearance"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|