diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java index 3194dff4..8d38bf1e 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java @@ -132,15 +132,18 @@ public class MainActivity extends BaseActivity implements RecentFragment.OnListF @Override public int getCount() { // Show 1 total pages. - return 1; + return 2; } @Override public CharSequence getPageTitle(int position) { switch (position) { case 0: - return "RECENT"; + return "RECENT POSTS"; + case 1: + return "FORUM"; } + return null; } } diff --git a/app/src/main/res/drawable/logo_try_no_letter.png b/app/src/main/res/drawable/logo_try_no_letter.png new file mode 100644 index 00000000..cfa00032 Binary files /dev/null and b/app/src/main/res/drawable/logo_try_no_letter.png differ diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index 22bc4c4f..278fbdc0 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -7,20 +7,37 @@ + + + + + + + + class="gr.thmmy.mthmmy.utils.CustomRecyclerView" + android:id="@+id/list" + android:name="gr.thmmy.mthmmy.activities.Topic" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingTop="4dp" + android:paddingBottom="4dp" + android:clipToPadding="false" + android:background="@color/white" + app:layoutManager="LinearLayoutManager" + tools:context="gr.thmmy.mthmmy.activities.TopicActivity" + tools:listitem="@layout/activity_topic_post_row" /> + + diff --git a/app/src/main/res/layout/activity_topic_post_row.xml b/app/src/main/res/layout/activity_topic_post_row.xml index d92c5ce8..2242102d 100644 --- a/app/src/main/res/layout/activity_topic_post_row.xml +++ b/app/src/main/res/layout/activity_topic_post_row.xml @@ -29,4 +29,83 @@ android:layout_below="@+id/author" android:layout_alignRight="@+id/dateTime" android:layout_alignEnd="@+id/dateTime" /> - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index c3830c4a..88b48966 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -12,7 +12,7 @@ #3F51B5 #303F9F #C5CAE9 - #009688 + #FFFFFF #E7E7E7 #757575