Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout 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:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#F5F5F5"
- android:orientation="vertical"
- tools:context="volunteer.HelpRequests"
- >
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <GridLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="20dp"
- android:columnCount="1"
- android:rowCount="7"
- tools:ignore="MissingConstraints">
- <androidx.cardview.widget.CardView
- android:id="@+id/cardView0ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="0"
- android:layout_column="0"
- android:layout_rowWeight="1"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="8dp"
- app:cardCornerRadius="8dp"
- app:cardElevation="10dp">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView0ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:layout_marginBottom="20dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/imageView0ID"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:background="#8c8c8c"
- android:paddingVertical="5dp"
- android:text="help"
- android:clickable="true"
- android:src="@drawable/help_button"
- />
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/cardView1ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="1"
- android:layout_column="0"
- android:layout_rowWeight="1"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="8dp"
- app:cardCornerRadius="8dp"
- app:cardElevation="10dp">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView1ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:layout_marginBottom="20dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/imageView1ID"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:background="#8c8c8c"
- android:paddingVertical="5dp"
- android:text="help"
- android:clickable="true"
- android:src="@drawable/help_button"
- />
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/cardView2ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="2"
- android:layout_column="0"
- android:layout_rowWeight="1"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="8dp"
- app:cardCornerRadius="8dp"
- app:cardElevation="10dp">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView2ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:layout_marginBottom="20dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/imageView2ID"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:background="#8c8c8c"
- android:paddingVertical="5dp"
- android:text="help"
- android:clickable="true"
- android:src="@drawable/help_button"
- />
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/cardView3ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="3"
- android:layout_column="0"
- android:layout_rowWeight="1"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="8dp"
- app:cardCornerRadius="8dp"
- app:cardElevation="10dp">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView3ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:layout_marginBottom="20dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/imageView3ID"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:background="#8c8c8c"
- android:paddingVertical="5dp"
- android:text="help"
- android:clickable="true"
- android:src="@drawable/help_button"
- />
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/cardView4ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="4"
- android:layout_column="0"
- android:layout_rowWeight="1"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="8dp"
- app:cardCornerRadius="8dp"
- app:cardElevation="10dp">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView4ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:layout_marginBottom="20dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/imageView4ID"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:background="#8c8c8c"
- android:paddingVertical="5dp"
- android:text="help"
- android:clickable="true"
- android:src="@drawable/help_button"
- />
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/cardView5ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="5"
- android:layout_column="0"
- android:layout_rowWeight="1"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="8dp"
- app:cardCornerRadius="8dp"
- app:cardElevation="10dp">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView5ID"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:layout_marginBottom="20dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/imageView5ID"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="true"
- android:background="#8c8c8c"
- android:paddingVertical="5dp"
- android:text="help"
- android:clickable="true"
- android:src="@drawable/help_button"
- />
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- </GridLayout>
- </ScrollView>
- <!-- bottom navigation bar design -->
- <com.google.android.material.bottomnavigation.BottomNavigationView
- android:id="@+id/bottomNavID"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:background="@drawable/shape_bottom_nav"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:menu="@menu/bottom_nav_items" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment