article layout: do not use relative for header
This commit is contained in:
parent
835ec51811
commit
5ff5f84562
@ -32,7 +32,7 @@
|
|||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:paddingTop="4dip" />
|
android:paddingTop="4dip" />
|
||||||
|
|
||||||
<RelativeLayout
|
<LinearLayout
|
||||||
android:id="@+id/article_header"
|
android:id="@+id/article_header"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -46,37 +46,35 @@
|
|||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
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:text="There are many variations of passages of Lorem Ipsum available"
|
android:text="There are many variations of passages of Lorem Ipsum available"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content" >
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tags"
|
android:id="@+id/tags"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignLeft="@+id/title"
|
android:layout_weight="1"
|
||||||
android:layout_below="@+id/title"
|
android:ellipsize="end"
|
||||||
android:layout_weight="1"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:text="{TAGS}"
|
||||||
android:singleLine="true"
|
android:textSize="10sp" />
|
||||||
android:text="{TAGS}"
|
|
||||||
android:textSize="10sp" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/date"
|
android:id="@+id/date"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_weight="1"
|
||||||
android:layout_below="@+id/title"
|
android:gravity="right"
|
||||||
android:layout_weight="1"
|
android:text="{DATE}"
|
||||||
android:gravity="right"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:text="{DATE}"
|
android:textSize="10sp" />
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
</LinearLayout>
|
||||||
android:textSize="10sp" />
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user