Changeset View
Changeset View
Standalone View
Standalone View
app/src/main/res/layout/fragment_alerts.xml
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
| <androidx.constraintlayout.widget.ConstraintLayout | <androidx.constraintlayout.widget.ConstraintLayout | ||||
| xmlns:android="http://schemas.android.com/apk/res/android" | xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| xmlns:tools="http://schemas.android.com/tools" | xmlns:tools="http://schemas.android.com/tools" | ||||
| xmlns:app="http://schemas.android.com/apk/res-auto" | xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
| android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="match_parent" | android:layout_height="match_parent" | ||||
| tools:context=".fragments.AlertsFragment"> | tools:context=".fragments.AlertsFragment"> | ||||
| <TextView android:layout_width="match_parent" android:layout_height="wrap_content" | |||||
| <!-- TODO: Update blank fragment layout --> | android:gravity="center" android:id="@+id/statusTextView" | ||||
| app:layout_constraintStart_toStartOf="parent" | |||||
| app:layout_constraintTop_toTopOf="parent" | |||||
| app:layout_constraintBottom_toTopOf="@id/scrollView" | |||||
| android:layout_margin="10dp" | |||||
| app:layout_constraintVertical_bias="0.0"/> | |||||
| <androidx.core.widget.NestedScrollView | <androidx.core.widget.NestedScrollView | ||||
| android:id="@+id/scrollView" | |||||
| app:layout_constraintStart_toStartOf="parent" | app:layout_constraintStart_toStartOf="parent" | ||||
| app:layout_constraintEnd_toEndOf="parent" | app:layout_constraintEnd_toEndOf="parent" | ||||
| app:layout_constraintTop_toTopOf="parent" | app:layout_constraintTop_toBottomOf="@id/statusTextView" | ||||
| app:layout_constraintBottom_toBottomOf="parent" | app:layout_constraintBottom_toBottomOf="parent" | ||||
| android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="wrap_content"> | android:layout_height="0dp" | ||||
| android:layout_margin="10dp" | |||||
| > | |||||
| <TextView | <TextView | ||||
| android:layout_margin="10dp" | android:layout_margin="10dp" | ||||
| android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:text="@string/hello_blank_fragment" | android:text="@string/hello_blank_fragment" | ||||
| android:id="@+id/simpleTextView" | android:id="@+id/simpleTextView" | ||||
| /> | /> | ||||
| </androidx.core.widget.NestedScrollView> | </androidx.core.widget.NestedScrollView> | ||||
| </androidx.constraintlayout.widget.ConstraintLayout> | </androidx.constraintlayout.widget.ConstraintLayout> | ||||
| No newline at end of file | No newline at end of file | ||||
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register