Advertisement
Guest User

Untitled

a guest
Sep 24th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.65 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:app="http://schemas.android.com/apk/res-auto"
  3.    android:id="@+id/root_view"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:background="#0f4b2a">
  7.  
  8.     <!--<RelativeLayout-->
  9.         <!--android:id="@+id/card_view_front"-->
  10.         <!--android:layout_width="match_parent"-->
  11.         <!--android:layout_height="match_parent"-->
  12.         <!--android:layout_marginStart="20dp"-->
  13.         <!--android:layout_marginTop="20dp"-->
  14.         <!--android:layout_marginEnd="20dp"-->
  15.         <!--android:layout_marginBottom="50dp"-->
  16.         <!--android:onClick="onCardClick"/>-->
  17.  
  18.     <!--<RelativeLayout-->
  19.         <!--android:id="@+id/card_view_back"-->
  20.         <!--android:layout_width="match_parent"-->
  21.         <!--android:layout_height="match_parent"-->
  22.         <!--android:layout_marginStart="20dp"-->
  23.         <!--android:layout_marginTop="20dp"-->
  24.         <!--android:layout_marginEnd="20dp"-->
  25.         <!--android:layout_marginBottom="50dp"-->
  26.         <!--android:onClick="onCardClick"-->
  27.         <!--android:visibility="gone"/>-->
  28.  
  29.     <com.wajahatkarim3.easyflipview.EasyFlipView
  30.        android:id="@+id/flip_view"
  31.        android:layout_width="match_parent"
  32.        android:layout_height="match_parent"
  33.        android:layout_marginStart="20dp"
  34.        android:layout_marginTop="20dp"
  35.        android:layout_marginEnd="20dp"
  36.        android:layout_marginBottom="50dp"
  37.        app:flipOnTouch="true"
  38.        app:flipEnabled="true"
  39.        app:flipDuration="1000"
  40.        app:flipType="horizontal">
  41.  
  42.         <!--<include android:id="@+id/back_card"-->
  43.             <!--layout="@layout/card_back"/>-->
  44.  
  45.         <include android:id="@+id/front_card"
  46.            layout="@layout/card_front"/>
  47.  
  48.     </com.wajahatkarim3.easyflipview.EasyFlipView>
  49.  
  50.         <ImageView
  51.            android:layout_width="15dp"
  52.            android:layout_height="15dp"
  53.            android:layout_marginBottom="15dp"
  54.            android:src="@drawable/ic_turn"
  55.            android:layout_toStartOf="@id/title_touch_card"
  56.            android:layout_alignParentBottom="true"/>
  57.  
  58.         <TextView
  59.            android:layout_width="wrap_content"
  60.            android:layout_height="wrap_content"
  61.            android:text="@string/title_touch_card"
  62.            android:id="@+id/title_touch_card"
  63.            android:layout_marginStart="5dp"
  64.            android:layout_centerInParent="true"
  65.            android:layout_alignParentBottom="true"
  66.            android:textColor="#ffffff"
  67.            android:layout_marginBottom="15dp"/>
  68.  
  69.  
  70. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement