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>
16 lines
497 B
XML
16 lines
497 B
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" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView_post"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/post" />
|
|
|
|
</LinearLayout> |