ppamorim

Untitled

May 5th, 2014
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.61 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:background="@color/description_bar">
  7.  
  8.     <LinearLayout
  9.        android:layout_width="match_parent"
  10.        android:layout_height="wrap_content"
  11.        android:orientation="vertical">
  12.  
  13.         <ImageView
  14.            android:id="@+id/content_image"
  15.            android:layout_width="match_parent"
  16.            android:layout_height="300dp"
  17.            android:scaleType="centerCrop"/>
  18.  
  19.  
  20.         <TextView
  21.            android:id="@+id/content_title"
  22.            android:layout_width="match_parent"
  23.            android:layout_height="wrap_content"
  24.            android:padding="16dp"
  25.            android:background="@color/title_bar"
  26.            android:textSize="24sp"
  27.            android:textColor="@color/standard_white"/>
  28.  
  29.         <LinearLayout
  30.            android:layout_width="match_parent"
  31.            android:layout_height="wrap_content"
  32.            android:background="@color/bar_feed"
  33.            android:padding="8dp"
  34.            android:orientation="horizontal">
  35.  
  36.             <ImageButton
  37.                android:id="@+id/content_share_button"
  38.                android:layout_width="wrap_content"
  39.                android:layout_height="wrap_content"
  40.                android:layout_weight="1"
  41.                android:src="@drawable/selector_share_button"
  42.                android:background="@color/transparent_white"/>
  43.  
  44.             <ImageButton
  45.                android:id="@+id/content_comments_button"
  46.                android:layout_width="wrap_content"
  47.                android:layout_height="wrap_content"
  48.                android:layout_weight="1"
  49.                android:src="@drawable/selector_comment_button"
  50.                android:background="@color/transparent_white"/>
  51.  
  52.             <ImageButton
  53.                android:id="@+id/content_like_button"
  54.                android:layout_width="wrap_content"
  55.                android:layout_height="wrap_content"
  56.                android:layout_weight="1"
  57.                android:src="@drawable/selector_like_button"
  58.                android:background="@color/transparent_white"/>
  59.  
  60.         </LinearLayout>
  61.  
  62.         <TextView
  63.            android:id="@+id/content_complete_text"
  64.            android:layout_width="match_parent"
  65.            android:layout_height="wrap_content"
  66.            android:layout_margin="16dp"
  67.            android:textSize="16sp"
  68.            android:textColor="@color/standard_white"/>
  69.  
  70.     </LinearLayout>
  71.  
  72. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment