Advertisement
Guest User

activity_detail_apple.xml

a guest
Oct 21st, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:paddingLeft="@dimen/activity_horizontal_margin"
  6. android:paddingRight="@dimen/activity_horizontal_margin"
  7. android:paddingTop="@dimen/activity_vertical_margin"
  8. android:paddingBottom="@dimen/activity_vertical_margin"
  9. android:theme="@style/ThemeApple"
  10. android:background="@color/appleBackground"
  11. tools:context="com.esgi.amazingrssfeed.DetailAppleActivity">
  12.  
  13. <ImageView
  14. android:layout_width="match_parent"
  15. android:layout_height="150dp"
  16. android:id="@id/image"/>
  17.  
  18. <TextView
  19. android:text="@string/hello_world"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:id="@+id/title"
  23. android:textStyle="bold"
  24. android:layout_below="@id/image"
  25. android:layout_marginTop="20dp"
  26. android:textSize="18dp"
  27. android:textColor="@color/appleText"/>
  28.  
  29. <TextView
  30. android:text="@string/hello_world"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:id="@+id/summary"
  34. android:layout_below="@id/title"
  35. android:layout_marginTop="10dp"
  36. android:textSize="15dp"
  37. android:textColor="@color/appleText"
  38. android:scrollbars="vertical"
  39. android:layout_above="@+id/btnWeb" />
  40.  
  41. <Button
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. android:text="@string/web"
  45. android:id="@+id/btnWeb"
  46. android:layout_alignParentBottom="true"
  47. android:layout_centerHorizontal="true" />
  48.  
  49. <!--
  50. <TextView
  51. android:text="@string/hello_world"
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:id="@+id/link"
  55. android:layout_below="@id/summary"
  56. android:layout_marginTop="10dp"
  57. android:textSize="13dp"
  58. android:textColor="@color/appleText"/>
  59. -->
  60.  
  61. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement