]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/activity_main.xml
nice side-swipe switch between account summary and transaction list
[mobile-ledger.git] / app / src / main / res / layout / activity_main.xml
index abcf9fb866793ae3cac3153503f2450a17ee00e3..dacbcea8866eb46eb52c174ec736c6270f294035 100644 (file)
                         android:layout_height="wrap_content"
                         android:background="@drawable/ic_clear_black_24dp"
                         android:clickable="true"
-                        android:focusable="auto"
+                        android:focusable="true"
                         android:onClick="onStopTransactionRefreshClick" />
                 </LinearLayout>
 
             </LinearLayout>
 
-            <FrameLayout
+            <android.support.v4.view.ViewPager
                 android:id="@+id/root_frame"
                 android:layout_width="match_parent"
                 android:layout_height="0dp"
                 app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintTop_toBottomOf="@+id/main_header">
+                app:layout_constraintTop_toBottomOf="@+id/main_header"
+                app:layout_behavior="@string/appbar_scrolling_view_behavior"
+                >
 
-            </FrameLayout>
+            </android.support.v4.view.ViewPager>
 
             <View
                 android:layout_width="0dp"