mirror of
https://github.com/AU-COVIDSafe/mobile-android.git
synced 2025-04-19 13:05:18 +00:00
COVIDSafe code from version 1.0.16
This commit is contained in:
commit
b827cf3cce
341 changed files with 28036 additions and 0 deletions
80
app/src/main/res/layout/fragment_home.xml
Normal file
80
app/src/main/res/layout/fragment_home.xml
Normal file
|
@ -0,0 +1,80 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/home_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#f6f6f6"
|
||||
android:fillViewport="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/header_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:background="@color/lighter_green"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/header_background_overlap"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:id="@+id/header_background_overlap"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/lighter_green"
|
||||
app:layout_constraintTop_toBottomOf="@+id/header_barrier" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/home_header_help"
|
||||
android:layout_width="31dp"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginTop="@dimen/keyline_7"
|
||||
android:layout_marginRight="@dimen/keyline_4"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:src="@drawable/ic_help_outline_black"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<include layout="@layout/fragment_home_setup_complete_header" />
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/header_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="home_header_label_setup_complete_subtitle_bottom_space" />
|
||||
|
||||
<include layout="@layout/fragment_home_setup_incomplete_content" />
|
||||
|
||||
<include layout="@layout/fragment_home_external_links" />
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/content_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="push_card_view,external_links_bottom_card" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/home_version_number"
|
||||
style="?textAppearanceBody2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/keyline_4"
|
||||
android:layout_marginBottom="@dimen/keyline_5"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/cadet_grey"
|
||||
app:layout_constraintTop_toBottomOf="@+id/content_barrier" />
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/keyline_2"
|
||||
app:layout_constraintTop_toBottomOf="@+id/home_version_number" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</ScrollView>
|
Loading…
Add table
Add a link
Reference in a new issue