Skip to content

Commit

Permalink
chore: move content from fragment to activity [2]
Browse files Browse the repository at this point in the history
Forgot to commit this file. This is meant for b687f1d
  • Loading branch information
EdricChan03 committed Mar 21, 2018
1 parent b0fd373 commit c08dfbf
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,31 @@
android:id="@+id/app_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".MainActivity">
<FrameLayout
android:id="@+id/fragment_container"

<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/recycler_swiperefresh"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
android:layout_height="match_parent">

<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical" />
</android.support.v4.widget.SwipeRefreshLayout>

<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:src="@drawable/ic_plus_black_24dp"
tools:targetApi="O"
android:tooltipText="Add new todo"
android:translationZ="16dp"
app:elevation="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
app:layout_constraintEnd_toEndOf="parent"
tools:targetApi="O" />
</android.support.constraint.ConstraintLayout>

0 comments on commit c08dfbf

Please sign in to comment.