PedroBarbosa

Untitled

May 1st, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.81 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <FrameLayout
  4.     xmlns:android="http://schemas.android.com/apk/res/android"
  5.     xmlns:tools="http://schemas.android.com/tools"
  6.     android:layout_width="@dimen/item_movie_width"
  7.     android:layout_height="@dimen/item_movie_height"
  8.     android:clipChildren="false"
  9.  
  10.     >
  11.  
  12.     <ImageView
  13.         android:id="@+id/item_movie_cover"
  14.         android:layout_width="match_parent"
  15.         android:layout_height="match_parent"
  16.         android:background="@color/movie_placeholder"
  17.         android:scaleType="centerCrop"
  18.         />
  19.  
  20.     <com.quarkprojects.smashi.customViews.LobsterTextView
  21.         android:id="@+id/item_movie_title"
  22.         android:layout_width="match_parent"
  23.         android:layout_height="wrap_content"
  24.         android:paddingBottom="@dimen/activity_vertical_margin"
  25.         android:paddingLeft="@dimen/activity_horizontal_margin_half"
  26.         android:paddingRight="@dimen/activity_horizontal_margin_half"
  27.         android:paddingTop="@dimen/activity_vertical_margin"
  28.         android:background="#AA000000"
  29.         android:maxLines="2"
  30.         android:ellipsize="end"
  31.         android:textColor="#FFF"
  32.         android:layout_gravity="bottom"
  33.         android:gravity="bottom"
  34.         tools:text="Avengers"
  35.         android:textSize="20sp"
  36.         />
  37.  
  38. </FrameLayout>
  39.  
  40.     <!--
  41.     ULTIMO
  42.     <FrameLayout
  43.         xmlns:android="http://schemas.android.com/apk/res/android"
  44.         xmlns:tools="http://schemas.android.com/tools"
  45.         android:layout_width="@dimen/item_movie_width"
  46.         android:layout_height="@dimen/item_movie_height"
  47.         android:clipChildren="false"
  48.  
  49.         >
  50.  
  51.         <ImageView
  52.             android:id="@+id/item_movie_cover"
  53.             android:layout_width="match_parent"
  54.             android:layout_height="match_parent"
  55.             android:background="@color/movie_placeholder"
  56.             android:scaleType="centerCrop"
  57.             />
  58.  
  59.         <com.quarkprojects.smashi.customViews.LobsterTextView
  60.             android:id="@+id/item_movie_title"
  61.             android:layout_width="match_parent"
  62.             android:layout_height="wrap_content"
  63.             android:paddingBottom="@dimen/activity_vertical_margin"
  64.             android:paddingLeft="@dimen/activity_horizontal_margin_half"
  65.             android:paddingRight="@dimen/activity_horizontal_margin_half"
  66.             android:paddingTop="@dimen/activity_vertical_margin"
  67.             android:background="#AA000000"
  68.             android:maxLines="2"
  69.             android:ellipsize="end"
  70.             android:textColor="#FFF"
  71.             android:layout_gravity="bottom"
  72.             android:gravity="bottom"
  73.             tools:text="Avengers"
  74.             android:textSize="20sp"
  75.             />
  76.  
  77.     </FrameLayout>
  78.  
  79.     -->
  80.     <!--
  81.     <FrameLayout
  82.         xmlns:android="http://schemas.android.com/apk/res/android"
  83.         xmlns:tools="http://schemas.android.com/tools"
  84.         android:layout_width="@dimen/item_movie_width"
  85.         android:layout_height="@dimen/item_movie_height"
  86.         android:clipChildren="false"
  87.  
  88.         >
  89.  
  90.  
  91.         <ImageView
  92.             android:id="@+id/item_movie_cover"
  93.             android:layout_width="match_parent"
  94.             android:layout_height="match_parent"
  95.             android:background="@color/movie_placeholder"
  96.             android:scaleType="centerCrop"
  97.             />
  98.  
  99.  
  100.         <com.quarkprojects.smashi.customViews.LobsterTextView
  101.             android:id="@+id/item_movie_title"
  102.             android:layout_width="match_parent"
  103.             android:layout_height="wrap_content"
  104.             android:paddingBottom="@dimen/activity_vertical_margin"
  105.             android:paddingLeft="@dimen/activity_horizontal_margin_half"
  106.             android:paddingRight="@dimen/activity_horizontal_margin_half"
  107.             android:paddingTop="@dimen/activity_vertical_margin"
  108.             android:background="#AA000000"
  109.             android:maxLines="2"
  110.             android:ellipsize="end"
  111.             android:textColor="#FFF"
  112.             android:layout_gravity="bottom"
  113.             android:gravity="bottom"
  114.             tools:text="Avengers"
  115.             android:textSize="20sp"
  116.             />
  117.  
  118.  
  119.  
  120.     </FrameLayout>
  121.     -->
  122.     <!--
  123.  
  124.     android:layout_width="@dimen/item_movie_width"
  125.     android:layout_height="@dimen/item_movie_height"
  126.  
  127. -->
  128.     <!--<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  129.         xmlns:tools="http://schemas.android.com/tools"
  130.         android:layout_width="match_parent"
  131.         android:layout_height="match_parent"
  132.         tools:context=".MainActivity">
  133.  
  134.         <com.dexafree.materialList.view.MaterialListView
  135.             android:layout_width="fill_parent"
  136.             android:layout_height="fill_parent"
  137.             android:id="@+id/material_listview"/>
  138.  
  139.  
  140.     </RelativeLayout>
  141.  
  142.     -->
Add Comment
Please, Sign In to add comment