Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1eb85b78 authored by Niedermann IT-Dienstleistungen's avatar Niedermann IT-Dienstleistungen
Browse files

Partially revert #458 (to slim drawer header layout)

parent 28bf7c09
Loading
Loading
Loading
Loading
+27 −39
Original line number Diff line number Diff line
@@ -27,57 +27,45 @@
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="178dp"
                    android:background="@color/primary"
                    android:orientation="vertical"
                    android:weightSum="1">
                    android:layout_height="wrap_content"
                    android:background="?attr/colorPrimary"
                    android:padding="10dp"
                    android:theme="@style/ThemeOverlay.AppCompat.Dark"
                    android:orientation="horizontal"
                    android:gravity="bottom">

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:paddingTop="24dp"
                        android:layout_gravity="center_vertical"
                        android:src="@mipmap/ic_launcher"
                        android:contentDescription="@string/app_name" />


                    <LinearLayout
                    <android.support.v7.widget.LinearLayoutCompat
                        android:layout_width="match_parent"
                        android:layout_height="56dp"
                        android:orientation="vertical"
                        android:layout_alignParentBottom="true"
                        android:layout_alignParentLeft="true"
                        android:layout_alignParentStart="true">

                        android:layout_height="wrap_content"
                        android:layout_gravity="center_vertical"
                        android:paddingLeft="12dp"
                        android:paddingStart="12dp"
                        android:paddingTop="24dp"
                        android:orientation="vertical">
                        <TextView
                            android:id="@+id/name"
                            android:layout_width="wrap_content"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="16dp"
                            android:textColor="#ffffff"
                            android:text="@string/app_name"
                            android:textSize="14sp"
                            android:textStyle="bold"

                            />
                            android:textAppearance="@style/TextAppearance.AppCompat.Title" />

                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:textColor="#ffffff"
                            android:layout_marginLeft="16dp"
                            android:layout_marginTop="5dp"
                            android:id="@+id/account"
                            android:textSize="14sp"
                            android:textStyle="normal"

                            />
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"/>
                    </android.support.v7.widget.LinearLayoutCompat>
                </LinearLayout>

                    <ImageView
                        android:layout_width="70dp"
                        android:layout_height="70dp"
                        android:layout_marginLeft="16dp"
                        android:layout_marginTop="38dp"
                        android:src="@mipmap/ic_launcher_round"
                        android:contentDescription="@string/app_name" />
                </RelativeLayout>

                <android.support.v7.widget.RecyclerView
                    android:id="@+id/navigationList"
                    android:layout_width="match_parent"