Files
osj-forum/OSJ Forum/res/layout/item_topic.xml
Ricky Barrette b2f00849a2 Cleaned up posts list items
I also created header.xml, a reusable resource for displaying an avatar,
title, user name, and time stamp.

I also renamed some view id's to be more developer friendly

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-10-21 00:19:38 -04:00

32 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="5dip" >
<include layout="@layout/header" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/textView_latestPost"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/latest_post"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/textView_newPosts"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@+id/textView_latestPost"
android:text="@string/new_posts"
android:textAppearance="?android:attr/textAppearanceSmall"
android:visibility="gone" />
</RelativeLayout>
</LinearLayout>