Changes

2,486 bytes removed ,  00:46, 2 July 2019
'''item_layout.xml'''
 
<syntaxhighlight lang="xml">
<? xml version = "1.0" encoding = "utf-8"?>xml version = "1.0" encoding = "utf-8" ?> <android.support.v7.widget.CardView cardView xmlns: android = " http : // schemas . android . com / apk / res / android " android: layout_width = "match_parent" android: layout_height = "match_parent" card_view: cardCornerRadius = "2dp" card_view: cardElevation = "2dp" card_view: cardUseCompatPadding = "true">  <RelativeLayout Android: layout_width = "match_parent" Android: layout_height = "match_parent" android: padding = "16dp">  <! - MINIATURE -> <com.supportandroid.v7volley.widgettoolbox.CardView xmlnsNetworkImageView android:layout_width = "80dp" android: layout_height = "80dp" android :id = "@+id/image" android:scaleType = "centerCrop" xmlns Android: card_view layout_alignParentStart = " http true" android: layout_below = "@+id/line" Android: layout_marginTop = "16dp" / schemas . >   <! - TITLE ->  <TextView android:layout_width = "wrap_content" android:layout_height = "wrap_content" android:textAppearance = "?android . com :attr/ apk textAppearanceSmall" android:text = "Title" android:id = "@+id/ res - auto title" android:layout_marginBottom = "10dp"xmlns android: card_view layout_toEndOf = "@+id/image" Android android: layout_width layout_alignTop = "match_parent@+id/image"Android android: layout_width layout_marginStart = "match_parent16dp"/> Android <! - DESCRIPTION ->  <TextView android: layout_height layout_width = "match_parentwrap_content"Android android: layout_height = "match_parentwrap_content" card_view android: cardCornerRadius textAppearance = "2dp?android:attr/textAppearanceSmall"card_view android: cardCornerRadius text = "2dpDescription" card_view android: cardElevation id = "2dp@+id/description"card_view android: cardElevation layout_marginBottom = "2dp16dp" card_view android: cardUseCompatPadding layout_below = "true@+id/icon">card_view android: cardUseCompatPadding layout_marginTop = "true16dp" />
<RelativeLayout<RelativeLayout Android: layout_width = "match_parent"Android: layout_width = "match_parent" Android: layout_height = "match_parent"Android: layout_height = "match_parent" android: padding = "16dp">android: padding = "16dp" ! - DIVIDING LINE ->
<! - MINIATURE -><! - MINIATURE -> <com.android.volley.toolbox.NetworkImageView<com.android.volley.toolbox.NetworkImageViewView android: layout_width = "80dp"android: layout_width = "80dpwrap_content" Android: layout_height = "80dp"Androidandroid: layout_height = "80dp1dp" android: id = "@ + id / image"android: id = "@ + id / imageline" android: scaleType = "centerCrop"android: scaleType = "centerCrop" Android: layout_alignParentStart = "true"Android: layout_alignParentStart background = "true#ffe9e9e9" android: layout_below = "@ + id / line"android: layout_below = "@ + id / line" Android: layout_marginTop = "16dp" />Android: layout_marginTop = "16dpdescription" />
<! - TITLE FORBES ICON -><! - TITLE -> <TextView<TextView android: layout_width = "wrap_content"android: layout_width = "wrap_content" android: layout_height = "wrap_content"android: layout_height = "wrap_content" android: textAppearance = "? android: attr / textAppearanceSmall"android: textAppearance = "? android: attr / textAppearanceSmall" android: text = "Title"android: text = "Title" android: id = "@ + id / title"android: id = "@ + id / title" android: layout_marginBottom = "10dp"android: layout_marginBottom = "10dp" android: layout_toEndOf = "@ + id / image"android: layout_toEndOf = "@ + id / image" android: layout_alignTop = "@ + id / image"android: layout_alignTop = "@ + id / image" android: layout_marginStart = "16dp" />android: layout_marginStart = "16dp" />
<! - DESCRIPTION -><! - DESCRIPTION -> <TextView<TextViewImageView android: layout_width = "wrap_content"android: layout_width = "wrap_content48dp" android: layout_height = "wrap_content"android: layout_height = "wrap_content" android: textAppearance = "? android: attr / textAppearanceSmall"android: textAppearance = "? android: attr / textAppearanceSmall48dp" android: text = "Description"android: text = "Description" Android: id = "@ + id / description"Android: id = "@ + id / descriptionicon" android: layout_marginBottom layout_alignParentTop = "16dptrue" android: layout_marginBottom layout_alignParentLeft = "16dptrue" android: layout_below layout_alignParentStart = "@ + id / icontrue" android: layout_below src = "@ + id / icon" Android: layout_marginTop = "16dp" drawable/>Android: layout_marginTop = "16dpforbes" />
<! - LINEA DIVISORIA MARK FORBES -><! - LINEA DIVISORIA -> <View<View android: layout_width = "wrap_content"android: layout_width = "wrap_content" android: layout_height = "1dp"android: layout_height = "1dp" Android: id = "@ + id / line"Android: id = "@ + id / line" Android: background = "# ffe9e9e9"Android: background = "# ffe9e9e9" android: layout_below = "@ + id / description" />android: layout_below = "@ + id / description" />
<! - ICONO FORBES -><! - ICONO FORBES -> <ImageView<ImageViewTextView Androidandroid: layout_width = "48dpwrap_content"Android android: layout_width layout_height = "48dpwrap_content" Androidandroid: layout_height textAppearance = "48dp?android:attr/textAppearanceSmall"Android android: layout_height text = "48dpForbes" Androidandroid: id = "@ + id / iconpublisher"Android android: id layout_toEndOf = "@ + id / icon" Android: layout_alignParentTop = "true"Android: layout_alignParentTop = "true" android: layout_alignParentLeft = "true"android: layout_alignParentLeft = "true" Android: layout_alignParentStart = "true"Android: layout_alignParentStart textStyle = "truebold" android: src = "@ drawable / forbes" />android: src layout_marginStart = "@ drawable / forbes16dp" />
<! - MARK FORBES -><! - MARK FORBES -> <TextView<TextView android: layout_width = "wrap_content"android: layout_width = "wrap_content" android: layout_height = "wrap_content"android: layout_height = "wrap_content" android: textAppearance = "? android: attr / textAppearanceSmall"android: textAppearance = "? android: attr / textAppearanceSmall" android: text = "Forbes"android: text = "Forbes" android: id = "@ + id / publisher"android: id = "@ + id / publisher" android: layout_toEndOf = "@ + id / icon"android: layout_toEndOf = "@ + id / icon" android: textStyle = "bold"android: textStyle = "bold" android: layout_marginStart = "16dp" />android: layout_marginStart = "16dp" /> </ RelativeLayout></ RelativeLayout></android.support.v7.widget.CardView> </android.support.v7.widget.CardView>
</syntaxhighlight>