Feat(profile activity): Wireframing

This commit is contained in:
minhtrannhat 2023-11-04 02:02:36 -04:00
parent 6faeaa61e9
commit 06445e2a9f
Signed by: minhtrannhat
GPG Key ID: E13CFA85C53F8062
2 changed files with 152 additions and 7 deletions

View File

@ -1,9 +1,148 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Views.ProfileActivity">
android:orientation="vertical">
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:theme="?attr/actionBarTheme" />
<TextView
android:id="@+id/profileText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/user_profile_text"
android:paddingTop="10dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/surnameText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/surname_text"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
<TextView
android:id="@+id/surnameTextViewEdit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/nameText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/name_text"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
<TextView
android:id="@+id/nameTextViewText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/IDText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/id_text"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
<TextView
android:id="@+id/IDTextViewText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/GPAText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/gpa_text"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
<TextView
android:id="@+id/GPATextViewText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/createdText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/profile_created_text"
android:paddingBottom="10dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
<TextView
android:id="@+id/ProfileTextViewText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="20sp" />
</LinearLayout>
<ListView
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:id="@+id/accessListView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>

View File

@ -8,4 +8,10 @@
<string name="name_dialog_text">Student Name</string>
<string name="ID_dialog_text">Student ID</string>
<string name="GPA_dialog_text">Student GPA</string>
<string name="user_profile_text">User Profile</string>
<string name="profile_created_text">Profile created: </string>
<string name="gpa_text">GPA: </string>
<string name="id_text">ID: </string>
<string name="name_text">Name: </string>
<string name="surname_text">Surname: </string>
</resources>