justin2000

Untitled

Nov 5th, 2015
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.16 KB | None | 0 0
  1.  
  2.             <android.support.v7.widget.CardView
  3.                android:id="@+id/team5"
  4.                android:layout_width="fill_parent"
  5.                android:layout_height="wrap_content"
  6.                android:layout_margin="@dimen/cards_margin"
  7.                android:padding="@dimen/cards_padding"
  8.                card_view:cardBackgroundColor="@color/cardsbg"
  9.                card_view:cardElevation="@dimen/cards_elevation"
  10.                android:clickable="true"
  11.                android:foreground="?android:attr/selectableItemBackground">
  12.  
  13.                 <RelativeLayout
  14.                    android:layout_width="fill_parent"
  15.                    android:layout_height="wrap_content">
  16.  
  17.                 <FrameLayout
  18.                    android:layout_width="fill_parent"
  19.                    android:layout_height="wrap_content">
  20.                     <com.makeramen.roundedimageview.RoundedImageView
  21.                        xmlns:app="http://schemas.android.com/apk/res-auto"
  22.                        android:layout_height="wrap_content"
  23.                        android:layout_width="wrap_content"
  24.                        android:layout_marginTop="-8dp"
  25.                        android:src="@drawable/banner3"
  26.                        android:scaleType="centerCrop"
  27.                        android:adjustViewBounds="true"
  28.                        app:riv_mutate_background="false"
  29.                        app:riv_corner_radius_top_left="2dip"
  30.                        app:riv_corner_radius_top_right="2dip"
  31.                        app:riv_corner_radius_bottom_left="0dip"
  32.                        app:riv_corner_radius_bottom_right="0dip"
  33.                        app:riv_border_width="0dp"
  34.                        app:riv_oval="false"
  35.                        />
  36.                     <View
  37.                        android:layout_width="fill_parent"
  38.                        android:layout_height="104dp"
  39.                        android:background="@color/white"
  40.                        android:layout_marginTop="125dip"
  41.                        android:adjustViewBounds="true" />
  42.                     <ImageView
  43.                        android:layout_marginLeft="10dip"
  44.                        android:layout_marginTop="50dip"
  45.                        android:layout_width="100dp"
  46.                        android:layout_height="100dp"
  47.                        android:src="@drawable/wip_round"/>
  48.                 </FrameLayout>
  49.  
  50.                 <RelativeLayout
  51.                    android:layout_width="wrap_content"
  52.                    android:layout_height="wrap_content"
  53.                    android:paddingTop="140dip"
  54.                    android:layout_margin="@dimen/cards_margin">
  55.  
  56.                     <TextView
  57.                        android:id="@+id/team5_name"
  58.                        android:layout_width="wrap_content"
  59.                        android:layout_height="wrap_content"
  60.                        android:layout_alignParentLeft="true"
  61.                        android:layout_alignParentStart="true"
  62.                        android:layout_alignParentTop="true"
  63.                        android:layout_margin="@dimen/cards_text_margin"
  64.                        android:text="@string/team5_name"
  65.                        android:textColor="@color/primary"
  66.                        android:textSize="@dimen/text_big" />
  67.  
  68.                     <TextView
  69.                        android:id="@+id/team5_desc"
  70.                        android:text="@string/team5_desc"
  71.                        android:layout_width="wrap_content"
  72.                        android:layout_height="wrap_content"
  73.                        android:layout_alignLeft="@id/team5_name"
  74.                        android:layout_alignStart="@+id/team5_name"
  75.                        android:layout_below="@id/team5_name"
  76.                        android:layout_marginBottom="@dimen/cards_text_margin"
  77.                        android:lineSpacingMultiplier="1.2"
  78.                        android:textColor="@color/dark_grey"
  79.                        android:textSize="@dimen/text_small" />
  80.                     </RelativeLayout>
  81.  
  82.                 </RelativeLayout>
  83.  
  84.             </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment