blipinsk / FlippableStackView

An Android library introducing a stack of Views with the first item being flippable.
Apache License 2.0
810 stars 150 forks source link

Include it with scale Animation #17

Open meMuhammadkamal opened 8 years ago

meMuhammadkamal commented 8 years ago

Hi Blipinsk Thaks for this helpful library it give me exactly what i wanted but there's a little problem when i add it to layout then i use tag then i scale up the view then the Stackview doesn't appear and here's the code:

<FrameLayout 
    android:id="@+id/timeLineContainer"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/backgroundColor"
    android:clipChildren="false"
    tools:context=".fragments.TimeLineFragment">
 <RelativeLayout
        android:id="@+id/prayerContainer"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="50dp"
        android:clipChildren="false"
        android:orientation="vertical">
 <include
            android:id="@+id/Fajr"
            layout="@layout/prayer_dialog"
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:layout_alignParentTop="true"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="2dp" />
   </RelativeLayout>
</FrameLayout>
meMuhammadkamal commented 8 years ago

prayer_dialog Please tell me if i'm doing anything wrong

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/prayerDialog"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/prayer_background"
    android:orientation="vertical">
    <com.bartoszlipinski.flippablestackview.FlippableStackView
        android:id="@+id/stack"
        android:layout_width="10dp"
        android:layout_height="10dp" />
</FrameLayout>