]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/activity_main.xml
somewhat complete profile implementation
[mobile-ledger.git] / app / src / main / res / layout / activity_main.xml
index abcf9fb866793ae3cac3153503f2450a17ee00e3..833b5fb280118d8dff55974f12b75e27a809116a 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"
                         android:showDividers="beginning"
                         app:layout_constraintBottom_toBottomOf="parent">
 
+                        <TextView
+                            android:id="@+id/nav_profiles"
+                            style="@style/nav_button"
+                            android:layout_width="match_parent"
+                            android:layout_weight="1"
+                            android:drawableStart="@drawable/ic_view_list_black_24dp"
+                            android:onClick="nav_profiles_clicked"
+                            android:text="@string/profiles" />
+
                         <TextView
                             android:id="@+id/textView2"
                             style="@style/nav_button"