72 lines
3.1 KiB
XML
72 lines
3.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout 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"
|
||
|
android:orientation="vertical" android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/imgCourse"
|
||
|
android:layout_width="256dp"
|
||
|
android:layout_height="256dp"
|
||
|
android:contentDescription="@string/timetable"
|
||
|
android:scaleType="fitCenter"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/linearLayout2"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintHorizontal_bias="0.5"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:srcCompat="@drawable/ic_baseline_calendar_today_24dp" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/linearLayout2"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="60dp"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="10dp"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/txtView_Course"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/course_heading"
|
||
|
android:textAlignment="center"
|
||
|
android:textSize="26sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/txtView_CourseDesc"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="7dp"
|
||
|
android:text="@string/course_desc_on"
|
||
|
android:textAlignment="center"
|
||
|
android:textSize="18sp" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/btnSelectCourse"
|
||
|
style="@style/Widget.AppCompat.Button.Colored"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:onClick="btnSelectCourseClick"
|
||
|
android:text="@string/select_course"
|
||
|
android:textColor="#FFFFFFFF"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
||
|
</LinearLayout>
|