diff options
author | Camil Staps | 2015-04-11 23:30:39 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-11 23:30:39 +0200 |
commit | dbc2ea6cc842ade3fd48cc8457916e39443de77e (patch) | |
tree | 560fc8efe18b3cacbd2f1ce52d44d462b51c9411 /app/src/main/res/layout | |
parent | General improvements & continuation of development (diff) |
General continuation of development
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_main.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/layout/pager_content.xml | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 7d924ef..d11f106 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,7 +1,12 @@ -<android.support.v4.view.ViewPager +<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/swiperefresh" + android:layout_height="match_parent" + android:layout_width="match_parent"> + + <android.support.v4.view.ViewPager android:id="@+id/pager" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_margin="0dp"/>
\ No newline at end of file + android:layout_margin="0dp"/> +</android.support.v4.widget.SwipeRefreshLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/pager_content.xml b/app/src/main/res/layout/pager_content.xml index 0f53c69..9a3a6cc 100644 --- a/app/src/main/res/layout/pager_content.xml +++ b/app/src/main/res/layout/pager_content.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/content" android:layout_width="match_parent" android:layout_height="match_parent" |