Welcome to mirror list, hosted at ThFree Co, Russian Federation.

nav_header_main.xml « layout « res « main « src « app - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6f65fba00c1ad04e1a0c6cd40bebd82deefeaef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/header_view"
    android:layout_width="match_parent"
    android:layout_height="@dimen/drawer_header_height"
    android:background="@color/primary">

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/logo"
        android:layout_width="@dimen/drawer_header_logo_size"
        android:layout_height="@dimen/drawer_header_logo_size"
        android:layout_centerVertical="true"
        android:layout_margin="@dimen/spacer_2x"
        android:gravity="center"
        android:padding="@dimen/spacer_1hx"
        app:srcCompat="@drawable/ic_app_logo" />

    <TextView
        android:id="@+id/app_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_toEndOf="@id/logo"
        android:ellipsize="end"
        android:fontFamily="sans-serif-light"
        android:gravity="center_vertical"
        android:text="@string/app_name_short"
        android:textColor="@android:color/white"
        android:textSize="24sp" />
</RelativeLayout>