I want to achieve overflow view with dotted layout. Currently i am using polidea cover flow library URL [gitHub] . Using this library images are drawn at center.
I want to achieve exact UI like this.
an excellent approach is given at https://github.com/davidschreiber/FancyCoverFlow where
FancyCoverFlow in Android app can be used as
fancyCoverFlow = new FancyCoverFlow(context);
fancyCoverFlow.setMaxRotation(45);
fancyCoverFlow.setUnselectedAlpha(0.3f);
fancyCoverFlow.setUnselectedSaturation(0.0f);
fancyCoverFlow.setUnselectedScale(0.4f);
You can also inflate FancyCoverFlow from XML:
<at.technikum.mti.fancycoverflow.FancyCoverFlow
android:layout_width="match_parent"
android:layout_height="match_parent"
fcf:maxRotation="45"
fcf:unselectedAlpha="0.3"
fcf:unselectedSaturation="0.0"
fcf:unselectedScale="0.4" />
please visit also
1) https://github.com/deepwinter/android-coverflow
2) https://github.com/i7an/cover-flow-android
3) https://github.com/driventokill/android-coverflow
4) https://github.com/HelgePlaschke/Android-Cover-Flow-Widget
In Android You can chieve Cover flow Using ViewPager and Below code for
fragmentimage.xml
<?xml version="1.0" encoding="utf-8"?>
<com.example.rajeev.viewpagercoverflow.CarouselLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/root_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/pagerImg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:contentDescription="@string/app_name"
android:src="@drawable/back" />
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</com.example.rajeev.viewpagercoverflow.CarouselLinearLayout>
For more Detail You can visit to https://teachmeandroidhub.blogspot.com/2018/10/android-tutorial-how-to-create-view.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.