14 lines
3.8 KiB
XML
14 lines
3.8 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:layout_width="match_parent" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_Page">
|
||
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Toolbar_Title" android:id="@+id/discovery_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:text="@string/stage_discovery_guild_sidebar_live_stages_category" android:layout_marginStart="16dp" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
|
||
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Toolbar_Subtitle" android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/discovery_start_stage" android:padding="16dp" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/start_stage_button_text_mobile" android:textAllCaps="false" android:fontFamily="?attr/font_primary_normal" app:layout_constraintBottom_toBottomOf="@+id/discovery_title" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="@+id/discovery_title"/>
|
||
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/swipe_refresh_layout" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginLeft="16dp" android:layout_marginTop="16dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/discovery_title">
|
||
|
<androidx.recyclerview.widget.RecyclerView android:id="@+id/discovery_recycler" style="@style/UiKit_ViewGroup_RecyclerView_AppBarScrollingViewBehavior"/>
|
||
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/discovery_empty_state" android:layout_width="match_parent" android:layout_height="match_parent">
|
||
|
<ImageView android:id="@+id/discovery_empty_state_wumpus" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" app:layout_constraintBottom_toTopOf="@+id/discovery_empty_state_header" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" app:srcCompat="@drawable/discovery_empty_state"/>
|
||
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Bold" android:gravity="center" android:id="@+id/discovery_empty_state_header" android:layout_width="0dp" android:layout_marginTop="8dp" android:text="@string/stage_discovery_no_results_header" android:lineSpacingMultiplier="1" app:layout_constraintBottom_toTopOf="@+id/discovery_empty_state_subheader" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/discovery_empty_state_wumpus" app:layout_constraintWidth_percent="0.7" style="@style/UiKit_TextView_Large"/>
|
||
|
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/discovery_empty_state_subheader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4dp" android:text="@string/stage_discovery_no_results_subheader" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/discovery_empty_state_header" style="@style/UiKit_TextView_Medium"/>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|