Skip to content

Commit cb2e16b

Browse files
committed
-Terminado
1 parent 832f7e7 commit cb2e16b

File tree

1 file changed

+54
-42
lines changed

1 file changed

+54
-42
lines changed
+54-42
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,59 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3-
android:layout_width="match_parent" android:layout_height="match_parent">
2+
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:card_view="http://schemas.android.com/apk/res-auto"
4+
android:layout_width="match_parent"
5+
android:layout_height="150dp"
6+
card_view:cardCornerRadius="4dp"
7+
card_view:cardElevation="4dp"
8+
card_view:cardUseCompatPadding="true">
9+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
10+
android:layout_width="match_parent"
11+
android:layout_height="match_parent">
412

5-
<TextView
6-
android:layout_width="wrap_content"
7-
android:layout_height="wrap_content"
8-
android:textAppearance="?android:attr/textAppearanceLarge"
9-
android:text="Cabecera"
10-
android:id="@+id/tvCabecera"
11-
android:layout_alignParentTop="true"
12-
android:background="#FAAC58"
13-
android:autoText="true"
14-
android:layout_alignParentRight="true"
15-
android:layout_alignParentEnd="true"
16-
android:layout_alignParentLeft="true"
17-
android:layout_alignParentStart="true" />
13+
<TextView
14+
android:layout_width="wrap_content"
15+
android:layout_height="wrap_content"
16+
android:textAppearance="?android:attr/textAppearanceLarge"
17+
android:text="Cabecera"
18+
android:id="@+id/tvCabecera"
19+
android:layout_alignParentTop="true"
20+
android:autoText="true"
21+
android:layout_alignParentRight="true"
22+
android:layout_alignParentEnd="true"
23+
android:layout_alignParentLeft="true"
24+
android:layout_alignParentStart="true" />
25+
<LinearLayout
26+
xmlns:android="http://schemas.android.com/apk/res/android"
27+
android:layout_width="match_parent"
28+
android:layout_height="match_parent"
29+
android:orientation="vertical"
30+
android:layout_below="@+id/tvCabecera">
1831

19-
<TextView
20-
android:layout_width="wrap_content"
21-
android:layout_height="wrap_content"
22-
android:textAppearance="?android:attr/textAppearanceMedium"
23-
android:text="contenido"
24-
android:id="@+id/tvContenido"
25-
android:layout_below="@+id/tvFecha"
26-
android:layout_alignParentLeft="true"
27-
android:layout_alignParentStart="true"
28-
android:layout_alignParentRight="true"
29-
android:layout_alignParentEnd="true"
30-
android:layout_marginLeft="15dp"
31-
android:layout_marginRight="15dp" />
32+
<TextView
33+
android:layout_width="300dp"
34+
android:layout_height="wrap_content"
35+
android:textAppearance="?android:attr/textAppearanceMedium"
36+
android:text="contenido"
37+
android:id="@+id/tvContenido"
38+
android:layout_below="@+id/tvFecha"
39+
android:layout_alignParentLeft="true"
40+
android:layout_alignParentStart="true"
41+
android:layout_marginLeft="15dp" />
3242

33-
<TextView
34-
android:layout_width="wrap_content"
35-
android:layout_height="wrap_content"
36-
android:textAppearance="?android:attr/textAppearanceSmall"
37-
android:text="fecha"
38-
android:id="@+id/tvFecha"
39-
android:layout_below="@+id/tvCabecera"
40-
android:background="#FAAC58"
41-
android:gravity="right"
42-
android:layout_alignParentLeft="true"
43-
android:layout_alignParentStart="true"
44-
android:layout_alignParentRight="true"
45-
android:layout_alignParentEnd="true" />
43+
<TextView
44+
android:layout_width="wrap_content"
45+
android:layout_height="wrap_content"
46+
android:textAppearance="?android:attr/textAppearanceSmall"
47+
android:text="fecha"
48+
android:id="@+id/tvFecha"
49+
android:layout_below="@+id/tvCabecera"
50+
android:gravity="right"
51+
android:layout_alignParentLeft="true"
52+
android:layout_alignParentStart="true"
53+
android:layout_alignParentRight="true"
54+
android:layout_alignParentEnd="true"
55+
android:layout_gravity="right" />
4656

47-
</RelativeLayout>
57+
</LinearLayout>
58+
</RelativeLayout>
59+
</android.support.v7.widget.CardView>

0 commit comments

Comments
 (0)