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

widget_empty_content_view.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: 54142cab8640b73b74aaa8c137911be9d3f524b8 (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
32
33
34
35
36
37
38
39
40
41
42
43
<?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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:padding="@dimen/standard_padding">

    <ImageView
        android:id="@+id/image"
        android:layout_width="match_parent"
        android:layout_height="72dp"
        android:layout_above="@+id/title"
        android:layout_gravity="center"
        android:contentDescription="@null"
        android:tint="@color/fg_secondary"
        app:srcCompat="@drawable/ic_app_logo" />

    <TextView
        android:id="@+id/title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:gravity="center"
        android:paddingTop="16dp"
        android:paddingBottom="16dp"
        android:text="@string/app_name_short"
        android:textAlignment="center"
        android:textSize="@dimen/empty_content_font_size" />

    <TextView
        android:id="@+id/description"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/title"
        android:layout_centerHorizontal="true"
        android:paddingStart="@dimen/standard_padding"
        android:paddingLeft="@dimen/standard_padding"
        android:paddingEnd="@dimen/standard_padding"
        android:paddingRight="@dimen/standard_padding"
        android:text="@string/app_name"
        android:textAlignment="center" />
</RelativeLayout>