Cleaned up topic content data model

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-09-13 12:29:35 -04:00
parent 997af18b5c
commit 12f4f72729
13 changed files with 272 additions and 66 deletions

View File

@@ -1,14 +1,15 @@
<?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="match_parent" >
android:layout_height="wrap_content" >
<QuickContactBadge
android:id="@+id/quickContactBadge1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" />
android:layout_centerVertical="true"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/textView1"
@@ -34,10 +35,20 @@
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/quickContactBadge1"
android:layout_below="@+id/textView2"
android:layout_alignParentRight="true"
android:layout_toRightOf="@+id/quickContactBadge1"
android:text="@string/user"
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView2"
android:layout_alignParentRight="true"
android:text="@string/new_posts"
android:visibility="gone"
android:textAppearance="?android:attr/textAppearanceSmall" />
</RelativeLayout>

View File

@@ -1,5 +1,4 @@
<resources>
<string name="app_name">OSJ Forum</string>
<string name="title_topic_detail">Topic Detail</string>
<string name="title_topic_list">Topics</string>
@@ -11,5 +10,7 @@
<string name="post">Post</string>
<string name="user">User</string>
<string name="latest_post">Lastest Post</string>
<string name="new_posts">New Posts</string>
<string name="username">test</string>
<string name="password">Test1</string>
</resources>