Blame view

res/layout/rowlayout.xml 1.17 KB
1
2
3
4
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/lelayout"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
Imanol-Mikel Barba Sabariego authored
5
    android:background="@drawable/selectedonlist" >
6
7
8
9
10
11
12
13
14
15

    <ImageView
        android:id="@+id/rowImageView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_centerVertical="true"
        android:layout_marginLeft="5dip"
        android:adjustViewBounds="true"
        android:contentDescription="@string/itemType"
16
17
        android:maxHeight="30dip"
        android:maxWidth="30dip"
18
19
20
21
22
23
24
25
26
27
28
29
30
31
        android:scaleType="fitCenter"
        android:src="@android:drawable/btn_star_big_off" />

    <TextView
        android:id="@+id/rowTextView"
        android:layout_width="fill_parent"
        android:layout_height="40dip"
        android:layout_centerVertical="true"
        android:layout_marginLeft="5dip"
        android:layout_toRightOf="@+id/rowImageView"
        android:gravity="center_vertical"
        android:textColor="@drawable/selectedonlist2"
        android:textSize="20sp" />
Imanol-Mikel Barba Sabariego authored
32
</RelativeLayout>