summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/widget_small.xml
blob: 06302799980ad95aa1e8bbdc9bae03fefa0148f3 (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
44
45
46
47
48
49
50
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/widget_main"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/widget_border"
    android:padding="@dimen/widget_margin" >

    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/widget_light"
        android:background="@color/cardview_light_background"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />

    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/widget_dark"
        android:visibility="invisible"
        android:background="@color/cardview_dark_background"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:foreground="@drawable/ripple"
        android:orientation="vertical" >

        <ImageView
            android:padding="8dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:layout_gravity="center_horizontal"
            android:src="@drawable/ic_launcher" />

        <TextView
            android:padding="4dp"
            android:background="#6482af"
            android:id="@+id/widget_unread_counter"
            android:layout_weight="0"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|center"
            android:gravity="center_horizontal"
            android:text=""
            android:textColor="@android:color/primary_text_dark"
            android:textSize="13sp" />

    </LinearLayout>

</FrameLayout>