We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am not able to scroll smoothly, please help me out, this is my layout
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingRight="10dp" android:id="@+id/toolbar" android:background="#1e5fa3"> <!--a61d20--> <TextView android:id="@+id/toolTitle" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" android:gravity="center" android:paddingRight="50dp" android:text="Sample" android:textAlignment="center" android:textColor="#ffffff" android:textSize="18sp" /> <!--<ImageView--> <!--android:layout_width="40dp"--> <!--android:layout_height="40dp"--> <!--android:id="@+id/userPro"--> <!--android:src="@drawable/profile64"--> <!--android:layout_gravity="end"/>--> </android.support.v7.widget.Toolbar> <android.support.v4.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/scrollLL" android:clipToPadding="true" android:layout_below="@+id/toolbar"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/mainRL" android:layout_below="@+id/scrollLL"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:id="@+id/llImage" android:layout_marginTop="20dp" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:orientation="horizontal"> <!--<ImageView--> <!--android:layout_width="300dp"--> <!--android:layout_height="350dp"--> <!--android:id="@+id/productImage"--> <!--android:src="@drawable/pic1"--> <!--android:scaleType="centerCrop"/>--> <android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="400dp" android:id="@+id/pager"/> <!--<android.support.v4.view.ViewPager--> <!--android:id="@+id/pager"--> <!--android:layout_width="300dp"--> <!--android:layout_height="350dp"--> <!--android:scaleType="centerCrop"/>--> <!--<me.relex.circleindicator.CircleIndicator--> <!--android:id="@+id/indicator"--> <!--android:layout_width="match_parent"--> <!--android:layout_height="wrap_content"--> <!--app:ci_drawable="@color/white"--> <!--android:layout_marginTop="160dp"--> <!--android:layout_alignBaseline="@+id/pager"/>--> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/llImage" android:orientation="vertical" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="10dp" android:id="@+id/lldetails"> <TextView android:id="@+id/productName" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingLeft="5dp" android:paddingRight="5dp" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" android:text="Product Name" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="5dp" android:visibility="gone"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/BrandName" android:paddingRight="5dp" android:paddingLeft="5dp" android:text="Brand Name : "/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/prodBrand" android:paddingRight="5dp" android:paddingLeft="5dp" android:text="Denim"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="5dp" android:layout_marginLeft="5dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/avail" android:text="Availability: " /> <TextView android:id="@+id/txtAvailable" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="@dimen/songs_count_padding_bottom" android:text="IN STOCK" /> <TextView android:id="@+id/sku" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="@dimen/songs_count_padding_bottom" android:text="SKU Code: " android:layout_marginLeft="25dp"/> <TextView android:id="@+id/txtSkuCode" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="@dimen/songs_count_padding_bottom" android:text="SKU Code" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginLeft="5dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/Rate1" android:text="\u20B9. " android:textSize="18dp" android:textStyle="bold"/> <TextView android:id="@+id/Rate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="@dimen/songs_count_padding_bottom" android:text="125" android:layout_toRightOf="@+id/Rate1" android:textSize="18dp" android:textStyle="bold"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/Rate2" android:layout_toRightOf="@+id/Rate" android:layout_marginLeft="20dp" android:textSize="18dp" android:text="\u20B9. "/> <TextView android:id="@+id/DiscRate" android:layout_width="wrap_content" android:gravity="end" android:text="30" android:layout_toRightOf="@+id/Rate2" android:layout_height="wrap_content" android:paddingBottom="@dimen/songs_count_padding_bottom" android:textSize="18dp"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="5dp"> <Spinner android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/rtqty" android:layout_marginTop="5dp" android:layout_marginRight="150dp" android:background="@drawable/spinner_border" android:spinnerMode="dropdown" android:layout_below="@+id/PrdName"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="10dp" android:layout_marginLeft="5dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Quantity: "/> <Button android:layout_width="30dp" android:layout_height="30dp" android:id="@+id/btnminus" android:text="-" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:background="@drawable/roundedbutton"/> <EditText android:layout_width="30dp" android:layout_height="30dp" android:id="@+id/getvalueCount" android:text="10" android:background="@drawable/bordereditetxt" android:layout_marginLeft="5dp" android:textAlignment="center" android:inputType="number" android:textAppearance="?android:attr/textAppearanceSmall" android:layout_marginRight="5dp" android:layout_marginTop="2dp"/> <Button android:layout_width="30dp" android:layout_height="30dp" android:id="@+id/btnplus" android:text="+" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" android:background="@drawable/roundedbutton"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="end" android:layout_marginTop="3dp" android:layout_marginBottom="3dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp"> <ImageView android:id="@+id/wishlist" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/heart30" /> </LinearLayout> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="30dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp"> <ImageView android:id="@+id/subscribeimage" android:layout_width="20dp" android:layout_height="20dp" android:src="@drawable/cart100" /> <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:id="@+id/subc" android:layout_marginLeft="10dp" android:textAppearance="?android:attr/textAppearanceMedium" android:text="Subscribe" /> <!--<TextView--> <!--android:layout_width="0dp"--> <!--android:layout_height="wrap_content"--> <!--android:layout_weight="1"--> <!--android:id="@+id/wish"--> <!--android:text="Wishlist"--> <!--android:layout_marginRight="10dp"--> <!--android:textAppearance="?android:attr/textAppearanceMedium"--> <!--android:textAlignment="textEnd" />--> </LinearLayout> </LinearLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/content2" android:layout_below="@+id/lldetails" android:layout_marginTop="30dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Product Description:" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold"/> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/prdDecp" android:layout_marginTop="5dp" android:layout_marginLeft="5dp" android:textSize="10dp" android:text="Test about product"/> </LinearLayout> </RelativeLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/content3" android:layout_below="@+id/content2" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="30dp"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/headerRating" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Ratings and Review" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold"/> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/addReview" android:text="+ Review" android:textAlignment="textEnd"/> </LinearLayout> <android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/RRcycleReview" android:scrollbars="vertical" android:layout_below="@+id/headerRating" android:layout_marginTop="10dp"> </android.support.v7.widget.RecyclerView> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/NoReview" android:text="No Reviews yet" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_marginTop="3dp" android:visibility="gone" android:layout_below="@+id/headerRating"/> </RelativeLayout> </RelativeLayout> </android.support.v4.widget.NestedScrollView> <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/prgBar" android:layout_centerHorizontal="true" android:layout_centerInParent="true"/> <!--<LinearLayout--> <!--android:layout_width="match_parent"--> <!--android:layout_height="wrap_content"--> <!--android:layout_below="@+id/toolbar"--> <!--android:gravity="bottom"--> <!--android:layout_alignParentBottom="true"--> <!--android:layout_centerHorizontal="true"--> <!--android:layout_centerVertical="true"--> <!--android:layout_marginLeft="20dp"--> <!--android:layout_marginRight="20dp">--> <!--<TextView--> <!--android:layout_width="0dp"--> <!--android:layout_height="wrap_content"--> <!--android:layout_weight="1"--> <!--android:id="@+id/subc"--> <!--android:text="Subscribe"--> <!--android:textAlignment="center"--> <!--android:background="@color/colorAccent"/>--> <!--<TextView--> <!--android:layout_width="0dp"--> <!--android:layout_height="wrap_content"--> <!--android:layout_weight="1"--> <!--android:id="@+id/wish"--> <!--android:text="Wishlist"--> <!--android:textAlignment="center"--> <!--android:background="@color/colorAccent"/>--> <!--</LinearLayout>-->
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am not able to scroll smoothly, please help me out, this is my layout
The text was updated successfully, but these errors were encountered: