Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/root_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#0f4b2a">
- <!--<RelativeLayout-->
- <!--android:id="@+id/card_view_front"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:layout_marginStart="20dp"-->
- <!--android:layout_marginTop="20dp"-->
- <!--android:layout_marginEnd="20dp"-->
- <!--android:layout_marginBottom="50dp"-->
- <!--android:onClick="onCardClick"/>-->
- <!--<RelativeLayout-->
- <!--android:id="@+id/card_view_back"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:layout_marginStart="20dp"-->
- <!--android:layout_marginTop="20dp"-->
- <!--android:layout_marginEnd="20dp"-->
- <!--android:layout_marginBottom="50dp"-->
- <!--android:onClick="onCardClick"-->
- <!--android:visibility="gone"/>-->
- <com.wajahatkarim3.easyflipview.EasyFlipView
- android:id="@+id/flip_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="20dp"
- android:layout_marginTop="20dp"
- android:layout_marginEnd="20dp"
- android:layout_marginBottom="50dp"
- app:flipOnTouch="true"
- app:flipEnabled="true"
- app:flipDuration="1000"
- app:flipType="horizontal">
- <!--<include android:id="@+id/back_card"-->
- <!--layout="@layout/card_back"/>-->
- <include android:id="@+id/front_card"
- layout="@layout/card_front"/>
- </com.wajahatkarim3.easyflipview.EasyFlipView>
- <ImageView
- android:layout_width="15dp"
- android:layout_height="15dp"
- android:layout_marginBottom="15dp"
- android:src="@drawable/ic_turn"
- android:layout_toStartOf="@id/title_touch_card"
- android:layout_alignParentBottom="true"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/title_touch_card"
- android:id="@+id/title_touch_card"
- android:layout_marginStart="5dp"
- android:layout_centerInParent="true"
- android:layout_alignParentBottom="true"
- android:textColor="#ffffff"
- android:layout_marginBottom="15dp"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement