diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_main.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/pager_content_podcast.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/pager_content_podcast_item.xml | 18 |
3 files changed, 27 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 8052335..4126c8c 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -4,7 +4,7 @@ android:layout_height="match_parent" android:layout_width="match_parent">--> - <android.support.v4.view.ViewPager + <com.camilstaps.common.DisablableViewPager xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/pager" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/pager_content_podcast.xml b/app/src/main/res/layout/pager_content_podcast.xml new file mode 100644 index 0000000..148c301 --- /dev/null +++ b/app/src/main/res/layout/pager_content_podcast.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<ListView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/podcasts_list" + android:layout_width="match_parent" + android:layout_height="match_parent"> + +</ListView>
\ No newline at end of file diff --git a/app/src/main/res/layout/pager_content_podcast_item.xml b/app/src/main/res/layout/pager_content_podcast_item.xml new file mode 100644 index 0000000..22e45d0 --- /dev/null +++ b/app/src/main/res/layout/pager_content_podcast_item.xml @@ -0,0 +1,18 @@ +<?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="match_parent" + android:orientation="vertical" > + + <TextView + android:id="@+id/podcast_date" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + <TextView + android:id="@+id/podcast_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + +</LinearLayout>
\ No newline at end of file |