activity_notification2.xml 3.34 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/whitecolor"
    android:orientation="vertical"
    tools:context=".fragments.notificationFrag.NotificationsListFrag">

    <androidx.appcompat.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/blue">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:text="@string/notifications_txt"
            android:textColor="@color/white"
            android:textSize="18dp" />

    </androidx.appcompat.widget.Toolbar>

    <HorizontalScrollView
        android:id="@+id/horitxt"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/twentyfive_height"
        android:layout_marginTop="@dimen/layout_marginTop_five"
        android:scrollbarThumbHorizontal="@color/transparent"
        android:scrollbars="horizontal">

        <LinearLayout
            android:visibility="gone"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:orientation="horizontal">

            <TextView
                android:id="@+id/dashboard_txt"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:gravity="center"
                android:text="@string/dashboard_txt"
                android:textColor="@color/yellowcolor"
                android:textSize="@dimen/fifteenText_size" />

            <ImageView
                android:layout_width="@dimen/twelve_width"
                android:layout_height="@dimen/twelve_height"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/layout_marginstart_five"
                android:src="@drawable/icon_forward"
                android:tint="@color/textcolor" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginStart="@dimen/layout_marginstart_ten"
                android:gravity="center"
                android:text="@string/notifications_txt"
                android:textColor="@color/textcolor"
                android:textSize="@dimen/fifteenText_size" />

        </LinearLayout>
    </HorizontalScrollView>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/whitecolor">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/whitecolor"
            android:orientation="vertical">

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/notifications_recylcerview"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

            </androidx.recyclerview.widget.RecyclerView>


        </LinearLayout>
    </RelativeLayout>

</LinearLayout>