summaryrefslogtreecommitdiff
path: root/res/layout-sw600dp/comics_grid_row.xml
blob: 0b1a666098c3ea0df005526f4399b14be5cfb67b (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
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/comics_list_row"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center_horizontal"
    android:gravity="center_vertical"
    android:orientation="vertical"
    android:padding="4dp" >


    <ImageView
        android:id="@+id/thumbnail"
        android:layout_width="160dp"
        android:layout_height="160dp"
        android:padding="8dp"
        android:layout_gravity="center_horizontal"
        android:layout_weight="0"
        android:background="@drawable/border"
        android:scaleType="centerInside"
        android:src="@drawable/ic_launcher" />



    <LinearLayout
        android:id="@+id/linearLayout4"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0"
        android:gravity="center_horizontal"
        android:orientation="vertical" >





        <TextView
            android:id="@+id/file_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="Comic_1980.cbz" />

        <ProgressBar
            android:id="@+id/file_progress_bar"
            style="?android:attr/progressBarStyleHorizontal"
            android:layout_width="128dp"
            android:layout_height="wrap_content"
            android:layout_weight="1" />





        <TextView
            android:id="@+id/file_progress_info"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="0"
            android:gravity="right"
            android:text="12 of 325"
            android:textSize="12dp" />

    </LinearLayout>

</LinearLayout>