mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-13 09:30:28 -07:00
70 lines
3.1 KiB
XML
70 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_collapseMode="pin" />
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingTop="8dp">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/app_bar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/server_info_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="172dp"
|
|
android:background="?attr/colorSurface"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
|
|
|
|
<TextView
|
|
style="@style/TitleLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="24dp"
|
|
android:text="@string/login_title_expanded"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/no_server_added_text_view"
|
|
style="@style/TitleMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="@dimen/global_padding_bottom"
|
|
android:text="@string/login_empty"
|
|
android:visibility="gone"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/server_list_recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:paddingBottom="@dimen/global_padding_bottom"
|
|
android:visibility="gone"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
</LinearLayout>
|