Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested Scrollview not supporting with this library #8

Open
likhitha-utu opened this issue Jan 15, 2021 · 0 comments
Open

Nested Scrollview not supporting with this library #8

likhitha-utu opened this issue Jan 15, 2021 · 0 comments

Comments

@likhitha-utu
Copy link

<com.sak.ultilviewlib.UltimateRefreshView
android:id="@+id/pullToRefresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">

        <androidx.core.widget.NestedScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scrollbars="none">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <LinearLayout
                    android:id="@+id/infoLayout"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="16dp"
                    android:layout_marginTop="24dp"
                    android:layout_marginEnd="16dp"
                    android:layout_marginBottom="32dp"
                    android:baselineAligned="false"
                    android:orientation="horizontal"
                    android:visibility="visible">

                    <FrameLayout
                        android:id="@+id/taxFree"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="0.25">

                        <androidx.appcompat.widget.AppCompatTextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="center"
                            android:drawableTop="@drawable/ic_dash_taxfree"
                            android:drawablePadding="4dp"
                            android:gravity="center_horizontal"
                            android:lineSpacingExtra="6sp"
                            android:text="@string/HOM_00004"
                            android:textColor="@color/descColor"
                            android:textSize="10sp"
                            tools:ignore="SmallSp" />

                    </FrameLayout>

                    <FrameLayout
                        android:id="@+id/plus"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="0.25">

                        <androidx.appcompat.widget.AppCompatTextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="center"
                            android:drawableTop="@drawable/ic_home_plus"
                            android:drawablePadding="4dp"
                            android:gravity="center_horizontal"
                            android:lineSpacingExtra="6sp"
                            android:text="@string/HOM_00009"
                            android:textColor="@color/descColor"
                            android:textSize="10sp"
                            tools:ignore="SmallSp" />

                    </FrameLayout>

                    <FrameLayout
                        android:id="@+id/bookings"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="0.25">

                        <androidx.appcompat.widget.AppCompatTextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="center"
                            android:drawableTop="@drawable/ic_dash_bookings"
                            android:drawablePadding="4dp"
                            android:gravity="center_horizontal"
                            android:lineSpacingExtra="6sp"
                            android:text="@string/BOOK_00001"
                            android:textColor="@color/descColor"
                            android:textSize="10sp"
                            tools:ignore="SmallSp" />

                    </FrameLayout>

                    <FrameLayout
                        android:id="@+id/cityGuide"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="0.25">

                        <androidx.appcompat.widget.AppCompatTextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="center"
                            android:drawableTop="@drawable/ic_dash_guide"
                            android:drawablePadding="4dp"
                            android:gravity="center_horizontal"
                            android:lineSpacingExtra="6sp"
                            android:text="@string/HOM_00006"
                            android:textColor="@color/descColor"
                            android:textSize="10sp"
                            android:visibility="visible"
                            tools:ignore="SmallSp" />
                    </FrameLayout>

                </LinearLayout>

                <androidx.appcompat.widget.AppCompatTextView
                    android:id="@+id/homeTitle"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="16dp"
                    android:layout_marginEnd="16dp"
                    android:fontFamily="@font/notosans_bold"
                    android:maxLines="1"
                    android:textColor="@color/headingColor"
                    android:textSize="16sp"
                    android:visibility="gone" />

                <androidx.appcompat.widget.AppCompatTextView
                    android:id="@+id/homeDesc"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="16dp"
                    android:layout_marginTop="5dp"
                    android:layout_marginEnd="16dp"
                    android:ellipsize="end"
                    android:fontFamily="@font/notosans_regular"
                    android:textColor="@color/descColor"
                    android:textSize="14sp"
                    android:visibility="gone" />

                <androidx.recyclerview.widget.RecyclerView
                    android:id="@+id/homeCMS"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginBottom="32dp"
                    app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />

                <LinearLayout
                    android:id="@+id/feedbackLayout"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="29dp"
                    android:orientation="vertical"
                    android:visibility="gone">

                    <androidx.appcompat.widget.AppCompatTextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:fontFamily="@font/notosans_regular"
                        android:text="@string/HOM_00007"
                        android:textColor="@color/darkBlack"
                        android:textSize="14sp" />

                    <androidx.appcompat.widget.AppCompatTextView
                        android:id="@+id/sendFeedback"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:fontFamily="@font/notosans_bold"
                        android:text="@string/HOM_00008"
                        android:textColor="@color/colorAccent"
                        android:textSize="14sp" />

                </LinearLayout>

            </LinearLayout>

        </androidx.core.widget.NestedScrollView>
    </com.sak.ultilviewlib.UltimateRefreshView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant