mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-01-31 15:08:21 +01:00
Improve login student selection layout (#329)
This commit is contained in:
parent
4a36d78709
commit
baf1420193
@ -1,5 +1,4 @@
|
|||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/loginItemContainer"
|
android:id="@+id/loginItemContainer"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -9,34 +8,41 @@
|
|||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:id="@+id/loginItemCheck"
|
android:id="@+id/loginItemCheck"
|
||||||
android:layout_width="26dp"
|
android:layout_width="32dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="12dp"
|
||||||
android:layout_marginLeft="16dp"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="24dp"
|
||||||
android:layout_marginEnd="32dp"
|
android:layout_marginEnd="28dp"
|
||||||
android:layout_marginRight="32dp"
|
android:layout_marginRight="28dp"
|
||||||
|
android:layout_marginBottom="24dp"
|
||||||
tools:text=" " />
|
tools:text=" " />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginItemName"
|
android:id="@+id/loginItemName"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="34dp"
|
||||||
|
android:layout_marginEnd="16dp"
|
||||||
|
android:layout_marginRight="16dp"
|
||||||
android:layout_toEndOf="@id/loginItemCheck"
|
android:layout_toEndOf="@id/loginItemCheck"
|
||||||
android:layout_toRightOf="@id/loginItemCheck"
|
android:layout_toRightOf="@id/loginItemCheck"
|
||||||
|
android:gravity="bottom"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
app:firstBaselineToTopHeight="32dp"
|
tools:text="@tools:sample/full_names" />
|
||||||
tools:text="Jan Kowalski" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginItemSchool"
|
android:id="@+id/loginItemSchool"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="20dp"
|
||||||
android:layout_below="@id/loginItemName"
|
android:layout_below="@id/loginItemName"
|
||||||
|
android:layout_marginEnd="16dp"
|
||||||
|
android:layout_marginRight="16dp"
|
||||||
android:layout_toEndOf="@id/loginItemCheck"
|
android:layout_toEndOf="@id/loginItemCheck"
|
||||||
android:layout_toRightOf="@id/loginItemCheck"
|
android:layout_toRightOf="@id/loginItemCheck"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:gravity="bottom"
|
||||||
|
android:maxLines="1"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
app:firstBaselineToTopHeight="20dp"
|
tools:text="@tools:sample/lorem/random" />
|
||||||
tools:text="Szkoła Wulkanowego nr 1" />
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user