tweak article_fragment xml

This commit is contained in:
Andrew Dolgov 2012-02-06 15:07:13 +03:00
parent 36289af071
commit 1f12ff12cd

View File

@ -12,7 +12,6 @@
android:background="?articleDivider"
android:clickable="true"
android:paddingLeft="4dip" >
</ImageView>
<LinearLayout
@ -33,63 +32,51 @@
android:clickable="true"
android:paddingTop="4dip" />
<LinearLayout
android:id="@+id/linearLayout5"
android:padding="5dp"
<RelativeLayout
android:id="@+id/article_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_weight="0"
android:layout_gravity="center_vertical" >
<LinearLayout
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:id="@+id/article_header"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="?articleHeader"
android:orientation="vertical"
>
android:paddingLeft="5dp"
android:paddingRight="5dp" >
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/linearLayout3"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_weight="1"
android:text="There are many variations of passages of Lorem Ipsum available"
/>
<LinearLayout
android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" >
android:text="There are many variations of passages of Lorem Ipsum available" />
<TextView
android:id="@+id/tags"
android:layout_width="0dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/title"
android:layout_below="@+id/title"
android:layout_weight="1"
android:singleLine="true"
android:ellipsize="end"
android:singleLine="true"
android:text="{TAGS}"
android:textSize="10sp" />
<TextView
android:id="@+id/date"
android:layout_width="0dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="right"
android:layout_alignParentRight="true"
android:layout_below="@+id/title"
android:layout_weight="1"
android:gravity="right"
android:text="{DATE}"
android:textSize="10sp"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
</LinearLayout>
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="10sp" />
</LinearLayout>
</RelativeLayout>
<ImageView
android:layout_width="match_parent"