added fixed coachcode after login.
This commit is contained in:
@ -23,13 +23,39 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent">
|
||||
|
||||
<!-- Neu: vertikale Anordnung -> Eingaben + Statuszeile -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- Zeile mit Sprache + Client-Code -->
|
||||
<!-- Language (eigene Zeile) -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="6dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingBottom="6dp"
|
||||
android:text="Language"
|
||||
android:textColor="@color/brand_text_dark"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/string_spinner1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="@drawable/bg_field_filled"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Client Code | Coach Code (gemeinsame Zeile) -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -48,34 +74,7 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Language"
|
||||
android:textColor="@color/brand_text_dark"
|
||||
android:textSize="12sp"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingBottom="6dp"/>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/string_spinner1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="@drawable/bg_field_filled"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginStart="8dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingBottom="6dp"
|
||||
android:text="Client Code"
|
||||
android:textColor="@color/brand_text_dark"
|
||||
@ -94,9 +93,49 @@
|
||||
android:paddingEnd="12dp"
|
||||
android:tag="client_code"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginStart="8dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingBottom="6dp"
|
||||
android:text="Coach Code"
|
||||
android:textColor="@color/brand_text_dark"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/coachEditText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="@drawable/bg_field_locked"
|
||||
android:ems="10"
|
||||
android:inputType="none"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:clickable="false"
|
||||
android:cursorVisible="false"
|
||||
android:longClickable="false"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:drawableEnd="@drawable/ic_lock_24"
|
||||
android:drawablePadding="8dp"
|
||||
android:textColor="@color/brand_text_dark"
|
||||
android:textStyle="bold"
|
||||
android:tag="coach_code"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- NEU: Statuszeile (Session-Alter & Online/Offline) -->
|
||||
<!-- Session/Online -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -109,6 +148,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="8dp"
|
||||
android:text="Session: —"
|
||||
android:textColor="@color/brand_text_dark"
|
||||
android:textSize="13sp" />
|
||||
@ -119,6 +159,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Offline"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:textSize="13sp"
|
||||
android:textColor="#C62828"
|
||||
android:paddingStart="12dp"/>
|
||||
|
||||
Reference in New Issue
Block a user