Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
- android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"
- xmlns:card_view="http://schemas.android.com/apk/res-auto"
- android:background="@color/colorPrimary">
- <android.support.v7.widget.CardView
- android:id="@+id/dev_card"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/cards_margin"
- android:padding="@dimen/cards_padding"
- card_view:cardBackgroundColor="@color/cardsbg"
- card_view:cardElevation="@dimen/cards_elevation">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal|center_vertical">
- <EditText
- android:id="@+id/tekst"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textSize="16sp"
- android:hint="What do you want to share?"/>
- <TextView
- android:layout_below="@id/tekst"
- android:id="@+id/link"
- android:text="http://lmgtfy.com/?q="
- android:layout_marginTop="16dp"
- android:layout_width="fill_parent"
- android:textAlignment="center"
- android:layout_height="30dp" />
- <LinearLayout
- android:id="@+id/test"
- android:layout_below="@id/link"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/shorten"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="?selectableItemBackgroundBorderless"
- android:padding="@dimen/cards_padding"
- android:text="SHORTEN"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/copy"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="?selectableItemBackgroundBorderless"
- android:padding="@dimen/cards_padding"
- android:text="COPY"
- android:textStyle="bold" />
- </LinearLayout>
- </RelativeLayout>
- </android.support.v7.widget.CardView>
- <TextView
- android:id="@+id/credits"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="?selectableItemBackgroundBorderless"
- android:padding="@dimen/cards_padding"
- android:text="Made by Justin Kruit"
- android:textStyle="bold"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment