mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-09-20 22:09:08 -05:00
130 lines
5.5 KiB
XML
130 lines
5.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<com.mikepenz.iconics.view.IconicsImageView
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginLeft="24dp"
|
|
android:layout_marginTop="48dp"
|
|
app:iiv_color="@color/colorPrimary"
|
|
app:iiv_icon="cmd-account-check"
|
|
app:iiv_size="32dp"
|
|
tools:srcCompat="@tools:sample/avatars" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="24dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginRight="24dp"
|
|
android:text="@string/login_summary_title"
|
|
android:textSize="24sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="24dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginRight="24dp"
|
|
android:text="@string/login_summary_subtitle" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="16dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/profileListView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginLeft="24dp"
|
|
android:layout_marginRight="24dp"
|
|
android:layout_weight="1"
|
|
tools:listitem="@layout/row_login_profile_list_item">
|
|
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/registerMeSwitch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="24dp"
|
|
android:layout_marginRight="24dp"
|
|
android:checked="true"
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="16dp"
|
|
android:text="@string/login_allow_registration" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/anotherButton"
|
|
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:text="@string/login_summary_add_student"
|
|
android:textAllCaps="false" />
|
|
|
|
<Space
|
|
android:layout_width="0.0dip"
|
|
android:layout_height="0.0dip"
|
|
android:layout_weight="1.0" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/finishButton"
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginRight="20dp"
|
|
android:text="@string/done"
|
|
android:textAllCaps="false" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</layout> |