|
@@ -7,18 +7,6 @@
|
|
|
android:layout_height="match_parent"
|
|
|
tools:context=".ui.fragments.ProCollegeFragment">
|
|
|
|
|
|
- <WebView
|
|
|
- android:id="@+id/content"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent">
|
|
|
-
|
|
|
- </WebView>
|
|
|
-
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/login"
|
|
|
android:layout_width="0dp"
|
|
@@ -44,7 +32,8 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:backgroundTint="?cardBackgroundColor"
|
|
|
android:hint="@string/username"
|
|
|
- android:textColor="?android:textColor" />
|
|
|
+ android:textColor="?android:textColor"
|
|
|
+ tools:ignore="TextContrastCheck" />
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
@@ -64,7 +53,8 @@
|
|
|
android:backgroundTint="?cardBackgroundColor"
|
|
|
android:hint="@string/password"
|
|
|
android:inputType="textPassword"
|
|
|
- android:textColor="?android:textColor" />
|
|
|
+ android:textColor="?android:textColor"
|
|
|
+ tools:ignore="TextContrastCheck" />
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<Button
|
|
@@ -93,14 +83,39 @@
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
- <ProgressBar
|
|
|
- android:id="@+id/content_progress"
|
|
|
- style="?android:progressBarStyleHorizontal"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/webview_container"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="0dp"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent" />
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:visibility="gone">
|
|
|
+
|
|
|
+ <WebView
|
|
|
+ android:id="@+id/content"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ </WebView>
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/content_progress"
|
|
|
+ style="?android:progressBarStyleHorizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ tools:visibility="visible" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|