fahad005

Untitled

Feb 7th, 2023
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 12.91 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     android:background="#F5F5F5"
  8.     android:orientation="vertical"
  9.     tools:context="volunteer.HelpRequests"
  10.     >
  11.  
  12.     <ScrollView
  13.         android:layout_width="match_parent"
  14.         android:layout_height="match_parent"
  15.         app:layout_constraintBottom_toBottomOf="parent"
  16.         app:layout_constraintEnd_toEndOf="parent"
  17.         app:layout_constraintStart_toStartOf="parent"
  18.         app:layout_constraintTop_toTopOf="parent">
  19.  
  20.         <GridLayout
  21.             android:layout_width="match_parent"
  22.             android:layout_height="wrap_content"
  23.             android:layout_margin="20dp"
  24.             android:columnCount="1"
  25.             android:rowCount="7"
  26.             tools:ignore="MissingConstraints">
  27.  
  28.             <androidx.cardview.widget.CardView
  29.                 android:id="@+id/cardView0ID"
  30.                 android:layout_width="wrap_content"
  31.                 android:layout_height="wrap_content"
  32.                 android:layout_row="0"
  33.                 android:layout_column="0"
  34.                 android:layout_rowWeight="1"
  35.                 android:layout_columnWeight="1"
  36.                 android:layout_gravity="fill"
  37.                 android:layout_margin="8dp"
  38.                 app:cardCornerRadius="8dp"
  39.                 app:cardElevation="10dp">
  40.  
  41.                 <RelativeLayout
  42.                     android:layout_width="wrap_content"
  43.                     android:layout_height="wrap_content"
  44.                     android:orientation="vertical">
  45.  
  46.                     <TextView
  47.                         android:id="@+id/textView0ID"
  48.                         android:layout_width="wrap_content"
  49.                         android:layout_height="wrap_content"
  50.                         android:padding="10dp"
  51.                         android:layout_marginBottom="20dp"
  52.                         android:textStyle="bold" />
  53.  
  54.                     <ImageView
  55.                         android:id="@+id/imageView0ID"
  56.                         android:layout_width="match_parent"
  57.                         android:layout_height="50dp"
  58.                         android:layout_alignParentLeft="true"
  59.                         android:layout_alignParentRight="true"
  60.                         android:layout_alignParentBottom="true"
  61.                         android:background="#8c8c8c"
  62.                         android:paddingVertical="5dp"
  63.                         android:text="help"
  64.                         android:clickable="true"
  65.                         android:src="@drawable/help_button"
  66.                          />
  67.                 </RelativeLayout>
  68.             </androidx.cardview.widget.CardView>
  69.  
  70.  
  71.             <androidx.cardview.widget.CardView
  72.                 android:id="@+id/cardView1ID"
  73.                 android:layout_width="wrap_content"
  74.                 android:layout_height="wrap_content"
  75.                 android:layout_row="1"
  76.                 android:layout_column="0"
  77.                 android:layout_rowWeight="1"
  78.                 android:layout_columnWeight="1"
  79.                 android:layout_gravity="fill"
  80.                 android:layout_margin="8dp"
  81.                 app:cardCornerRadius="8dp"
  82.                 app:cardElevation="10dp">
  83.  
  84.                 <RelativeLayout
  85.                     android:layout_width="wrap_content"
  86.                     android:layout_height="wrap_content"
  87.                     android:orientation="vertical">
  88.  
  89.                     <TextView
  90.                         android:id="@+id/textView1ID"
  91.                         android:layout_width="wrap_content"
  92.                         android:layout_height="wrap_content"
  93.                         android:padding="10dp"
  94.                         android:layout_marginBottom="20dp"
  95.                         android:textStyle="bold" />
  96.  
  97.                     <ImageView
  98.                         android:id="@+id/imageView1ID"
  99.                         android:layout_width="match_parent"
  100.                         android:layout_height="50dp"
  101.                         android:layout_alignParentLeft="true"
  102.                         android:layout_alignParentRight="true"
  103.                         android:layout_alignParentBottom="true"
  104.                         android:background="#8c8c8c"
  105.                         android:paddingVertical="5dp"
  106.                         android:text="help"
  107.                         android:clickable="true"
  108.                         android:src="@drawable/help_button"
  109.                         />
  110.                 </RelativeLayout>
  111.             </androidx.cardview.widget.CardView>
  112.  
  113.  
  114.             <androidx.cardview.widget.CardView
  115.                 android:id="@+id/cardView2ID"
  116.                 android:layout_width="wrap_content"
  117.                 android:layout_height="wrap_content"
  118.                 android:layout_row="2"
  119.                 android:layout_column="0"
  120.                 android:layout_rowWeight="1"
  121.                 android:layout_columnWeight="1"
  122.                 android:layout_gravity="fill"
  123.                 android:layout_margin="8dp"
  124.                 app:cardCornerRadius="8dp"
  125.                 app:cardElevation="10dp">
  126.  
  127.                 <RelativeLayout
  128.                     android:layout_width="wrap_content"
  129.                     android:layout_height="wrap_content"
  130.                     android:orientation="vertical">
  131.  
  132.                     <TextView
  133.                         android:id="@+id/textView2ID"
  134.                         android:layout_width="wrap_content"
  135.                         android:layout_height="wrap_content"
  136.                         android:padding="10dp"
  137.                         android:layout_marginBottom="20dp"
  138.                         android:textStyle="bold" />
  139.  
  140.                     <ImageView
  141.                         android:id="@+id/imageView2ID"
  142.                         android:layout_width="match_parent"
  143.                         android:layout_height="50dp"
  144.                         android:layout_alignParentLeft="true"
  145.                         android:layout_alignParentRight="true"
  146.                         android:layout_alignParentBottom="true"
  147.                         android:background="#8c8c8c"
  148.                         android:paddingVertical="5dp"
  149.                         android:text="help"
  150.                         android:clickable="true"
  151.                         android:src="@drawable/help_button"
  152.                         />
  153.                 </RelativeLayout>
  154.             </androidx.cardview.widget.CardView>
  155.  
  156.  
  157.             <androidx.cardview.widget.CardView
  158.                 android:id="@+id/cardView3ID"
  159.                 android:layout_width="wrap_content"
  160.                 android:layout_height="wrap_content"
  161.                 android:layout_row="3"
  162.                 android:layout_column="0"
  163.                 android:layout_rowWeight="1"
  164.                 android:layout_columnWeight="1"
  165.                 android:layout_gravity="fill"
  166.                 android:layout_margin="8dp"
  167.                 app:cardCornerRadius="8dp"
  168.                 app:cardElevation="10dp">
  169.  
  170.                 <RelativeLayout
  171.                     android:layout_width="wrap_content"
  172.                     android:layout_height="wrap_content"
  173.                     android:orientation="vertical">
  174.  
  175.                     <TextView
  176.                         android:id="@+id/textView3ID"
  177.                         android:layout_width="wrap_content"
  178.                         android:layout_height="wrap_content"
  179.                         android:padding="10dp"
  180.                         android:layout_marginBottom="20dp"
  181.                         android:textStyle="bold" />
  182.  
  183.                     <ImageView
  184.                         android:id="@+id/imageView3ID"
  185.                         android:layout_width="match_parent"
  186.                         android:layout_height="50dp"
  187.                         android:layout_alignParentLeft="true"
  188.                         android:layout_alignParentRight="true"
  189.                         android:layout_alignParentBottom="true"
  190.                         android:background="#8c8c8c"
  191.                         android:paddingVertical="5dp"
  192.                         android:text="help"
  193.                         android:clickable="true"
  194.                         android:src="@drawable/help_button"
  195.                         />
  196.                 </RelativeLayout>
  197.             </androidx.cardview.widget.CardView>
  198.  
  199.  
  200.             <androidx.cardview.widget.CardView
  201.                 android:id="@+id/cardView4ID"
  202.                 android:layout_width="wrap_content"
  203.                 android:layout_height="wrap_content"
  204.                 android:layout_row="4"
  205.                 android:layout_column="0"
  206.                 android:layout_rowWeight="1"
  207.                 android:layout_columnWeight="1"
  208.                 android:layout_gravity="fill"
  209.                 android:layout_margin="8dp"
  210.                 app:cardCornerRadius="8dp"
  211.                 app:cardElevation="10dp">
  212.  
  213.                 <RelativeLayout
  214.                     android:layout_width="wrap_content"
  215.                     android:layout_height="wrap_content"
  216.                     android:orientation="vertical">
  217.  
  218.                     <TextView
  219.                         android:id="@+id/textView4ID"
  220.                         android:layout_width="wrap_content"
  221.                         android:layout_height="wrap_content"
  222.                         android:padding="10dp"
  223.                         android:layout_marginBottom="20dp"
  224.                         android:textStyle="bold" />
  225.  
  226.                     <ImageView
  227.                         android:id="@+id/imageView4ID"
  228.                         android:layout_width="match_parent"
  229.                         android:layout_height="50dp"
  230.                         android:layout_alignParentLeft="true"
  231.                         android:layout_alignParentRight="true"
  232.                         android:layout_alignParentBottom="true"
  233.                         android:background="#8c8c8c"
  234.                         android:paddingVertical="5dp"
  235.                         android:text="help"
  236.                         android:clickable="true"
  237.                         android:src="@drawable/help_button"
  238.                         />
  239.                 </RelativeLayout>
  240.             </androidx.cardview.widget.CardView>
  241.  
  242.  
  243.             <androidx.cardview.widget.CardView
  244.                 android:id="@+id/cardView5ID"
  245.                 android:layout_width="wrap_content"
  246.                 android:layout_height="wrap_content"
  247.                 android:layout_row="5"
  248.                 android:layout_column="0"
  249.                 android:layout_rowWeight="1"
  250.                 android:layout_columnWeight="1"
  251.                 android:layout_gravity="fill"
  252.                 android:layout_margin="8dp"
  253.                 app:cardCornerRadius="8dp"
  254.                 app:cardElevation="10dp">
  255.  
  256.                 <RelativeLayout
  257.                     android:layout_width="wrap_content"
  258.                     android:layout_height="wrap_content"
  259.                     android:orientation="vertical">
  260.  
  261.                     <TextView
  262.                         android:id="@+id/textView5ID"
  263.                         android:layout_width="wrap_content"
  264.                         android:layout_height="wrap_content"
  265.                         android:padding="10dp"
  266.                         android:layout_marginBottom="20dp"
  267.                         android:textStyle="bold" />
  268.  
  269.                     <ImageView
  270.                         android:id="@+id/imageView5ID"
  271.                         android:layout_width="match_parent"
  272.                         android:layout_height="50dp"
  273.                         android:layout_alignParentLeft="true"
  274.                         android:layout_alignParentRight="true"
  275.                         android:layout_alignParentBottom="true"
  276.                         android:background="#8c8c8c"
  277.                         android:paddingVertical="5dp"
  278.                         android:text="help"
  279.                         android:clickable="true"
  280.                         android:src="@drawable/help_button"
  281.                         />
  282.                 </RelativeLayout>
  283.             </androidx.cardview.widget.CardView>
  284.  
  285.         </GridLayout>
  286.  
  287.     </ScrollView>
  288.  
  289.         <!--   bottom navigation bar design   -->
  290.     <com.google.android.material.bottomnavigation.BottomNavigationView
  291.         android:id="@+id/bottomNavID"
  292.         android:layout_width="match_parent"
  293.         android:layout_height="wrap_content"
  294.         android:layout_alignParentBottom="true"
  295.         android:background="@drawable/shape_bottom_nav"
  296.         app:layout_constraintBottom_toBottomOf="parent"
  297.         app:layout_constraintEnd_toEndOf="parent"
  298.         app:layout_constraintStart_toStartOf="parent"
  299.         app:menu="@menu/bottom_nav_items" />
  300.  
  301. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment