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'm noticing a weird effect when the device is rotated:
Looks like the shadow is calculated only once when the view is inflated and then reapplied size and orientation changes.
`
<ScrollView android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_centerInParent="true" android:scrollbarThumbVertical="@color/alpha_white" android:scrollbarSize="3dp"> <LinearLayout android:id="@+id/login_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:focusable="true" android:focusableInTouchMode="true" android:orientation="vertical" android:padding="8dp" > <com.gigamole.library.ShadowLayout android:layout_width="wrap_content" android:layout_height="wrap_content" app:sl_shadowed="true" app:sl_shadow_angle="90" app:sl_shadow_radius="2dp" app:sl_shadow_distance="1dp" app:sl_shadow_color="@android:color/black"> <ImageView android:id="@+id/logo" android:layout_width="wrap_content" android:layout_height="200dp" android:paddingTop="0dp" android:paddingBottom="12dp" android:paddingStart="48dp" android:paddingEnd="48dp" android:layout_gravity="top" android:contentDescription="@string/cont_descr_app_logo" android:src="@drawable/logo_white"/> </com.gigamole.library.ShadowLayout> ... </LinearLayout> </ScrollView>
The initial orientation doesn't matter - it's OK until you rotate. Rotating back and forth produces the same screens.
P.S. Great library, btw! :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm noticing a weird effect when the device is rotated:
Looks like the shadow is calculated only once when the view is inflated and then reapplied size and orientation changes.
`
`
The initial orientation doesn't matter - it's OK until you rotate. Rotating back and forth produces the same screens.
P.S. Great library, btw! :)
The text was updated successfully, but these errors were encountered: