Skip to content

Instantly share code, notes, and snippets.

@FeherMarcell
Created March 3, 2014 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FeherMarcell/9325847 to your computer and use it in GitHub Desktop.
Save FeherMarcell/9325847 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="10dp"
>
<LinearLayout
android:id="@+id/itemData"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:orientation="vertical"
android:padding="10dp"
android:layout_alignParentLeft="true"
>
<TextView
android:id="@+id/callerName"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/caller_name"
/>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:orientation="horizontal"
>
<TextView
android:id="@+id/callDate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/callDate"
android:layout_marginRight="10dp"
/>
<TextView
android:id="@+id/callType"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/callType"
/>
</LinearLayout>
</LinearLayout>
<ImageView
android:id="@+id/infoButton"
android:layout_width="45dp"
android:layout_height="45dp"
android:src="@drawable/info_button"
android:layout_alignRight="@id/itemData"
android:layout_centerVertical="true"
/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment