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

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