justin2000

Untitled

Apr 3rd, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  4. android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  5. android:paddingRight="@dimen/activity_horizontal_margin"
  6. android:paddingTop="@dimen/activity_vertical_margin"
  7. android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"
  8. xmlns:card_view="http://schemas.android.com/apk/res-auto"
  9. android:background="@color/colorPrimary">
  10.  
  11.  
  12.  
  13. <android.support.v7.widget.CardView
  14. android:id="@+id/dev_card"
  15. android:layout_width="fill_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_margin="@dimen/cards_margin"
  18. android:padding="@dimen/cards_padding"
  19. card_view:cardBackgroundColor="@color/cardsbg"
  20. card_view:cardElevation="@dimen/cards_elevation">
  21. <RelativeLayout
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:gravity="center_horizontal|center_vertical">
  25. <EditText
  26. android:id="@+id/tekst"
  27. android:layout_width="fill_parent"
  28. android:layout_height="wrap_content"
  29. android:textSize="16sp"
  30. android:hint="What do you want to share?"/>
  31. <TextView
  32. android:layout_below="@id/tekst"
  33. android:id="@+id/link"
  34. android:text="http://lmgtfy.com/?q="
  35. android:layout_marginTop="16dp"
  36. android:layout_width="fill_parent"
  37. android:textAlignment="center"
  38. android:layout_height="30dp" />
  39.  
  40. <LinearLayout
  41. android:id="@+id/test"
  42. android:layout_below="@id/link"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:layout_centerHorizontal="true"
  46. android:orientation="horizontal">
  47.  
  48. <TextView
  49. android:id="@+id/shorten"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:background="?selectableItemBackgroundBorderless"
  53. android:padding="@dimen/cards_padding"
  54. android:text="SHORTEN"
  55. android:textStyle="bold" />
  56.  
  57. <TextView
  58. android:id="@+id/copy"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:background="?selectableItemBackgroundBorderless"
  62. android:padding="@dimen/cards_padding"
  63. android:text="COPY"
  64. android:textStyle="bold" />
  65.  
  66. </LinearLayout>
  67. </RelativeLayout>
  68. </android.support.v7.widget.CardView>
  69.  
  70. <TextView
  71. android:id="@+id/credits"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:background="?selectableItemBackgroundBorderless"
  75. android:padding="@dimen/cards_padding"
  76. android:text="Made by Justin Kruit"
  77. android:textStyle="bold"
  78. android:layout_alignParentBottom="true"
  79. android:layout_centerHorizontal="true" />
  80. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment