cs306-versus/versus-app

View on GitHub
app/src/main/res/layout/announcement_row_element.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <!-- /** This content is generated from the API File Info.* (Alt+Shift+Ctrl+I).** @desc* @file frame_2* @date Friday 19th of May 2023 02:25:49 PM* @title Page 1* @author* @keywords* @generator Export Kit v1.3.figma**/ -->


    <ScrollView
        android:id="@+id/frame_2"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">


        <RelativeLayout
            android:id="@+id/content_container"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">


            <RelativeLayout
                android:id="@+id/page_frame_2_ek1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="0dp"
                android:layout_marginTop="0dp">


                <View
                    android:id="@+id/container_of_post_on_post"
                    android:layout_width="302dp"
                    android:layout_height="237dp"
                    android:layout_marginStart="22dp"
                    android:layout_marginTop="51dp"
                    android:background="@drawable/container_of_post_on_post_shape" />

                <Button
                    android:id="@+id/join_container_on_post"
                    android:layout_width="59dp"
                    android:layout_height="29dp"
                    android:layout_marginStart="30dp"
                    android:layout_marginTop="241dp"
                    android:visibility="gone" />

                <View
                    android:id="@+id/joinhold1"
                    android:layout_width="59dp"
                    android:layout_height="29dp"
                    android:layout_marginStart="133dp"
                    android:layout_marginTop="241dp"
                    android:background="@drawable/join_container_on_post_shape"
                    android:clickable="true" />

                <TextView
                    android:id="@+id/contacing_text"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginStart="149dp"
                    android:layout_marginTop="245dp"
                    android:fontFamily="Inter"
                    android:text="join"
                    android:textColor="#3A8FBE"
                    android:textSize="14sp" />


                <RelativeLayout
                    android:id="@+id/workout_sport_item"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="45dp"
                    android:layout_marginTop="104dp">

                    <ImageView
                        android:id="@+id/body333"
                        android:layout_width="3.5dp"
                        android:layout_height="4dp"
                        android:layout_marginStart="15.17dp"
                        android:layout_marginTop="4dp"
                        android:contentDescription="body333"
                        android:src="@drawable/body333" />

                    <ImageView
                        android:id="@+id/body222"
                        android:layout_width="16.33dp"
                        android:layout_height="6.67dp"
                        android:layout_marginStart="5.83dp"
                        android:layout_marginTop="9.33dp"
                        android:contentDescription="body222"
                        android:src="@drawable/body222" />

                    <ImageView
                        android:id="@+id/body111"
                        android:layout_width="12.25dp"
                        android:layout_height="18dp"
                        android:layout_marginStart="7.58dp"
                        android:layout_marginTop="10dp"
                        android:contentDescription="body111"
                        android:src="@drawable/body111" />

                </RelativeLayout>


                <TextView
                    android:id="@+id/sport_text_on_post"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginLeft="88dp"
                    android:layout_marginTop="109dp"
                    android:fontFamily="Inter"
                    android:text="Football"
                    android:textColor="#3A8FBE"
                    android:textSize="14sp" />

                <TextView
                    android:id="@+id/persons_text_on_post"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginLeft="88dp"
                    android:layout_marginTop="158dp"
                    android:fontFamily="Inter"
                    android:text="2/2"
                    android:textColor="#3A8FBE"
                    android:textSize="14sp" />

                <TextView
                    android:id="@+id/location_text_on_post"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginLeft="85dp"
                    android:layout_marginTop="204dp"
                    android:fontFamily="Inter"
                    android:text="unil-sport"
                    android:textColor="#3A8FBE"
                    android:textSize="14sp" />

                <ImageView
                    android:id="@+id/calendar_on_post"
                    android:layout_width="17dp"
                    android:layout_height="23dp"
                    android:layout_marginStart="195dp"
                    android:layout_marginTop="104dp"
                    android:contentDescription="calendar_on_post"
                    android:src="@drawable/calendar_on_post" />

                <TextView
                    android:id="@+id/date_on_post"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginLeft="228dp"
                    android:layout_marginTop="104dp"
                    android:fontFamily="Inter"
                    android:text="6/7/2023"
                    android:textColor="#3A8FBE"
                    android:textSize="14sp" />

                <TextView
                    android:id="@+id/time_on_post"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginLeft="228dp"
                    android:layout_marginTop="158dp"
                    android:fontFamily="Inter"
                    android:text="04:00 pm"
                    android:textColor="#3A8FBE"
                    android:textSize="14sp" />

                <TextView
                    android:id="@+id/weather_text_on_post"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginLeft="228dp"
                    android:layout_marginTop="204dp"
                    android:fontFamily="Inter"
                    android:text="Sunny day"
                    android:textColor="#3A8FBE"
                    android:textSize="14sp" />

                <TextView
                    android:id="@+id/title_post"
                    android:layout_width="135dp"
                    android:layout_height="50dp"
                    android:layout_marginLeft="141dp"
                    android:layout_marginTop="59dp"
                    android:fontFamily="Inter"
                    android:text="Casual Game"
                    android:textColor="#000000"
                    android:textSize="14sp" />

                <ImageView
                    android:id="@+id/persons_on_post"
                    android:layout_width="28dp"
                    android:layout_height="28dp"
                    android:layout_marginStart="44dp"
                    android:layout_marginTop="155dp"
                    android:contentDescription="persons_on_post"
                    android:src="@drawable/persons_on_post" />

                <ImageView
                    android:id="@+id/location_on_post"
                    android:layout_width="25dp"
                    android:layout_height="25dp"
                    android:layout_marginStart="46dp"
                    android:layout_marginTop="199dp"
                    android:contentDescription="location_on_post"
                    android:src="@drawable/location_on_post" />

                <ImageView
                    android:id="@+id/clock_on_post"
                    android:layout_width="23dp"
                    android:layout_height="23dp"
                    android:layout_marginStart="191dp"
                    android:layout_marginTop="155dp"
                    android:contentDescription="clock_on_post"
                    android:src="@drawable/clock_on_post" />

                <ImageView
                    android:id="@+id/weather_on_post"
                    android:layout_width="48dp"
                    android:layout_height="48dp"
                    android:layout_marginStart="180dp"
                    android:layout_marginTop="188dp"
                    android:contentDescription="weather_on_post"
                    android:src="@drawable/weather_on_post" />

            </RelativeLayout>

        </RelativeLayout>

    </ScrollView>


</ScrollView>