summaryrefslogtreecommitdiffstats
path: root/res/layout/conversation_attachment_previews.xml
blob: 7887e49b32137d025693f85b8f25993f576b75fe (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
<?xml version="1.0" encoding="utf-8"?>

<!-- The height is set programmatically set in CIVC -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/attachment_previews"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/attachment_preview_margin_top"
        android:layout_marginLeft="@dimen/attachment_preview_margin_side"
        android:layout_marginRight="@dimen/attachment_preview_margin_side"
        android:visibility="gone" >
    <!-- Use dips for textSize since we want the badge to be a fixed size. -->
    <TextView
            android:id="@+id/ap_overflow"
            android:layout_width="@dimen/ap_overflow_count_diameter"
            android:layout_height="@dimen/ap_overflow_count_diameter"
            android:layout_marginRight="@dimen/ap_margin_side"
            android:layout_marginBottom="@dimen/ap_margin_side"
            android:layout_gravity="bottom|right"
            android:includeFontPadding="false"
            android:textStyle="bold"
            android:textSize="10dp"/>
    <ImageView
            android:id="@+id/ap_placeholder"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:src="@drawable/ic_attachment_load" />
    <ImageView
            android:id="@+id/ap_progress_bar"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:src="@drawable/ic_spinner_inner_holo" />
</FrameLayout>