]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/activity_main.xml
larger logo in the drawer, show on small screens to and move the dext on the right
[mobile-ledger.git] / app / src / main / res / layout / activity_main.xml
index 01e4bb2add8b084fee04eebc746c3a47aefc0b66..d3eb61d6204724144d4542504bb9ffdc45350e01 100644 (file)
                             android:layout_width="match_parent"
                             android:layout_height="wrap_content"
                             android:background="@drawable/side_nav_bar"
-                            android:gravity="bottom"
-                            android:orientation="vertical"
+                            android:gravity="center_vertical"
+                            android:orientation="horizontal"
                             android:paddingLeft="@dimen/activity_horizontal_margin"
                             android:paddingTop="@dimen/activity_vertical_margin"
                             android:paddingRight="@dimen/activity_horizontal_margin"
 
                             <include layout="@layout/nav_header_logo" />
 
-                            <TextView
+                            <LinearLayout
                                 android:layout_width="match_parent"
-                                android:layout_height="wrap_content"
-                                android:text="@string/app_name"
-                                android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
-
-                            <TextView
-                                android:id="@+id/drawer_version_text"
-                                android:layout_width="wrap_content"
-                                android:layout_height="wrap_content"
-                                android:text="@string/nav_header_subtitle" />
+                                android:layout_height="match_parent"
+                                android:layout_marginStart="16dp"
+                                android:gravity="center_vertical"
+                                android:orientation="vertical">
+
+                                <TextView
+                                    android:layout_width="match_parent"
+                                    android:layout_height="wrap_content"
+                                    android:text="@string/app_name"
+                                    android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
+
+                                <TextView
+                                    android:id="@+id/drawer_version_text"
+                                    android:layout_width="wrap_content"
+                                    android:layout_height="wrap_content"
+                                    android:text="dummy version"
+                                    tools:ignore="HardcodedText" />
+                            </LinearLayout>
 
                         </LinearLayout>