| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/entry"
- android:padding="7dp"
- android:layout_margin="8dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="@color/entry_title"
- android:textStyle="bold"
- android:id="@+id/tv_row_blog_title" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="New Text"
- android:id="@+id/tv_row_blog_hidden"
- android:visibility="gone" />
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/iv_row_blog_image"
- android:maxWidth="110dp"
- android:contentDescription="@string/app_cdesc"
- android:minHeight="30dp"
- android:minWidth="30dp"
- android:layout_gravity="top|center_vertical"
- android:background="@color/image_border"
- android:padding="0.5dp"
- android:layout_margin="3dp"
- android:adjustViewBounds="true"
- android:maxHeight="100dp"/>
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="top">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/tv_row_blog_text"
- android:textAppearance="@android:style/TextAppearance.Medium"
- android:layout_margin="5dp"
- android:maxLines="4"
- android:minHeight="30dp"/>
- <ImageView
- android:layout_width="match_parent"
- android:layout_weight="1"
- android:layout_height="40dp"
- android:layout_marginTop="-40dp"
- android:background="@drawable/gradient_v_white"
- android:adjustViewBounds="true"/>
- </LinearLayout>
- </LinearLayout>
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="0.5dp"
- android:background="@color/image_border"
- android:layout_margin="10dp"
- android:layout_marginBottom="1dp"
- android:layout_marginEnd="10dp"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_marginStart="10dp"
- android:layout_marginTop="3dp"
- android:alpha="0.5"
- android:adjustViewBounds="false"/>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp">
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:id="@+id/tv_row_blog_date"
- android:layout_weight=".5" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:id="@+id/tv_row_blog_details"
- android:layout_weight=".5"
- android:gravity="end" />
- <ImageView
- android:layout_width="10dp"
- android:layout_height="10dp"
- android:id="@+id/imageView"
- android:src="@drawable/comment"
- android:contentDescription="@string/app_cdesc"
- android:layout_marginStart="5dp" />
- </LinearLayout>
- </LinearLayout>
|