diff options
author | Camil Staps | 2015-04-10 14:43:39 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-10 14:43:39 +0200 |
commit | 8ec588af8edc52cc076efd7f2b487fc32c02fbe1 (patch) | |
tree | 7423cf70d026c4e90efc04a4790f97f636133584 /app/src/main | |
parent | Fixed bug that did not reload texts after changing settings (diff) |
Cleaned layout
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/res/layout/activity_main.xml | 43 |
1 files changed, 3 insertions, 40 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 193db2d..7d924ef 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,44 +1,7 @@ -<!-- As the main content view, the view below consumes the entire - space available using match_parent in both dimensions. --> -<RelativeLayout +<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/container" + android:id="@+id/pager" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context=".MainActivity" - android:orientation="vertical" - android:padding="0dp"> - - <LinearLayout - android:id="@+id/tabs" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:layout_alignParentBottom="true"> - - <Button - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight=".5" - android:text="Button 1"/> - - <Button - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight=".5" - android:text="Button 2"/> - - </LinearLayout> - - <android.support.v4.view.ViewPager - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/pager" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_above="@id/tabs" - android:layout_margin="0dp"> - - </android.support.v4.view.ViewPager> -</RelativeLayout> + android:layout_margin="0dp"/>
\ No newline at end of file |