Inhalt
Aktueller Ordner:
duesseldorfer-schuelerinventar-android-studioactivity_profile.xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<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:text="Ihr Profilergebnis"
android:textSize="24sp"
android:textStyle="bold"
android:gravity="center"
android:layout_marginBottom="24dp"/>
<!-- Arbeitsverhalten -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Arbeitsverhalten"
android:textSize="18sp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="8dp">
<ProgressBar
android:id="@+id/pbWorkBehavior"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="0dp"
android:layout_height="20dp"
android:layout_weight="1"/>
<TextView
android:id="@+id/tvWorkScore"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textSize="18sp"
android:layout_marginStart="16dp"/>
</LinearLayout>
<!-- Weitere Kompetenzen analog... -->
<!-- Lernverhalten -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Lernverhalten"
android:textSize="18sp"
android:layout_marginTop="16dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="8dp">
<ProgressBar
android:id="@+id/pbLearnBehavior"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="0dp"
android:layout_height="20dp"
android:layout_weight="1"/>
<TextView
android:id="@+id/tvLearnScore"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textSize="18sp"
android:layout_marginStart="16dp"/>
</LinearLayout>
<!-- Buttons am Ende -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="32dp">
<Button
android:id="@+id/btnBackToMenu"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="HauptmenΓΌ"/>
<Button
android:id="@+id/btnEditProfile"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Bearbeiten"
android:layout_marginStart="16dp"/>
</LinearLayout>
</LinearLayout>
</ScrollView>