<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
ScrollView
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:background
=
"@color/black_shade_1"
tools:context
=
".EditCourseActivity"
>
<
RelativeLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
>
<
LinearLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:orientation
=
"vertical"
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTILCourseName"
style
=
"@style/LoginTextInputLayoutStyle"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_marginLeft
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginRight
=
"10dp"
android:hint
=
"Enter Course Name"
android:padding
=
"5dp"
android:textColorHint
=
"@color/white"
app:hintTextColor
=
"@color/white"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtCourseName"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"textImeMultiLine|textMultiLine"
android:textColor
=
"@color/white"
android:textColorHint
=
"@color/white"
android:textSize
=
"14sp"
/>
</
com.google.android.material.textfield.TextInputLayout
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTILCoursePrice"
style
=
"@style/LoginTextInputLayoutStyle"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_marginLeft
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginRight
=
"10dp"
android:hint
=
"Enter Course Price"
android:padding
=
"5dp"
android:textColorHint
=
"@color/white"
app:boxStrokeColor
=
"@color/purple_200"
app:hintTextColor
=
"@color/white"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtCoursePrice"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"phone"
android:textColor
=
"@color/white"
android:textColorHint
=
"@color/white"
android:textSize
=
"14sp"
app:boxStrokeColor
=
"@color/purple_200"
/>
</
com.google.android.material.textfield.TextInputLayout
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTILCourseSuitedFor"
style
=
"@style/LoginTextInputLayoutStyle"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_marginLeft
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginRight
=
"10dp"
android:hint
=
"Enter Course Suited For"
android:padding
=
"5dp"
android:textColorHint
=
"@color/white"
app:hintTextColor
=
"@color/white"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtSuitedFor"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"textImeMultiLine|textMultiLine"
android:textColor
=
"@color/white"
android:textColorHint
=
"@color/white"
android:textSize
=
"14sp"
/>
</
com.google.android.material.textfield.TextInputLayout
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTILCourseImageLink"
style
=
"@style/LoginTextInputLayoutStyle"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_marginLeft
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginRight
=
"10dp"
android:hint
=
"Enter Course Image Link"
android:padding
=
"5dp"
android:textColorHint
=
"@color/white"
app:hintTextColor
=
"@color/white"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtCourseImageLink"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"textImeMultiLine|textMultiLine"
android:textColor
=
"@color/white"
android:textColorHint
=
"@color/white"
android:textSize
=
"14sp"
/>
</
com.google.android.material.textfield.TextInputLayout
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTILCourseLink"
style
=
"@style/LoginTextInputLayoutStyle"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_marginLeft
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginRight
=
"10dp"
android:hint
=
"Enter Course Link"
android:padding
=
"5dp"
android:textColorHint
=
"@color/white"
app:hintTextColor
=
"@color/white"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtCourseLink"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"textImeMultiLine|textMultiLine"
android:textColor
=
"@color/white"
android:textColorHint
=
"@color/white"
android:textSize
=
"14sp"
/>
</
com.google.android.material.textfield.TextInputLayout
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTILCourseDescription"
style
=
"@style/LoginTextInputLayoutStyle"
android:layout_width
=
"match_parent"
android:layout_height
=
"200dp"
android:layout_marginLeft
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginRight
=
"10dp"
android:hint
=
"Enter Course Description"
android:padding
=
"5dp"
android:textColorHint
=
"@color/white"
app:hintTextColor
=
"@color/white"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtCourseDescription"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"textImeMultiLine|textMultiLine"
android:textColor
=
"@color/white"
android:textColorHint
=
"@color/white"
android:textSize
=
"14sp"
/>
</
com.google.android.material.textfield.TextInputLayout
>
<
LinearLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:orientation
=
"horizontal"
android:weightSum
=
"2"
>
<
Button
android:id
=
"@+id/idBtnAddCourse"
android:layout_width
=
"0dp"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginEnd
=
"10dp"
android:layout_marginBottom
=
"10dp"
android:layout_weight
=
"1"
android:background
=
"@drawable/button_back"
android:text
=
"Update Your \n Course"
android:textAllCaps
=
"false"
/>
<
Button
android:id
=
"@+id/idBtnDeleteCourse"
android:layout_width
=
"0dp"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"10dp"
android:layout_marginTop
=
"10dp"
android:layout_marginEnd
=
"10dp"
android:layout_marginBottom
=
"10dp"
android:layout_weight
=
"1"
android:background
=
"@drawable/button_back"
android:text
=
"Delete Your \n Course"
android:textAllCaps
=
"false"
/>
</
LinearLayout
>
</
LinearLayout
>
<
ProgressBar
android:id
=
"@+id/idPBLoading"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_centerInParent
=
"true"
android:layout_gravity
=
"center"
android:layout_marginTop
=
"20dp"
android:indeterminate
=
"true"
android:indeterminateDrawable
=
"@drawable/progress_back"
android:visibility
=
"gone"
/>
</
RelativeLayout
>
</
ScrollView
>