Closed mlkmhd closed 9 years ago
Hi, thank you for building this parallax scroll view. I have a problem. i have a LinearLayout inside a parallaxview and inside that i have two RelativeLayout. the bottom of second RelativeLayout not showing completely.
LinearLayout
parallaxview
RelativeLayout
<com.nirhart.parallaxscroll.views.ParallaxScrollView xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="none" app:inner_parallax_factor="1.9" app:parallax_factor="1.9" app:parallax_views_num="3" android:fillViewport="true" android:fadingEdge="none"> <LinearLayout android:id="@+id/ll_content" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:orientation="vertical"> <!-- first view --> <RelativeLayout android:id="@+id/rr_cover" android:layout_width="match_parent" android:layout_height="150dp"> <ImageView android:id="@+id/img_cover" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerCrop" /> </RelativeLayout> <!-- second view --> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:background="?android:windowBackground"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true"> <ImageButton android:id="@+id/img_add_to_wish_list" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" android:background="@drawable/shape_button_show_comments" android:src="@drawable/add_to_favorites" /> <ImageButton android:id="@+id/btn_show_comments" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" android:text="@string/comments" android:background="@drawable/shape_button_show_comments" android:src="@drawable/comment_bubble" /> </LinearLayout> </LinearLayout> </com.nirhart.parallaxscroll.views.ParallaxScrollView>
and this is output
bottom of screen not showing when full scroll to bottom
Hi, thank you for building this parallax scroll view. I have a problem. i have a
LinearLayout
inside aparallaxview
and inside that i have two RelativeLayout. the bottom of secondRelativeLayout
not showing completely.and this is output![screenshot from 2015-03-19 13 42 54](https://cloud.githubusercontent.com/assets/6010081/6728407/e9d7e0ec-ce3e-11e4-8819-42bed5da53bc.png)
bottom of screen not showing when full scroll to bottom