tweak portrait smallscreen headline layout

This commit is contained in:
Andrew Dolgov 2011-11-30 17:25:14 +03:00
parent 1fec72cf4a
commit 0fda7ffd7b
3 changed files with 226 additions and 214 deletions

View File

@ -5,14 +5,18 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?headlineNormalBackground" android:background="?headlineNormalBackground"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" > android:orientation="vertical" >
<LinearLayout
android:id="@+id/linearLayout7"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?headlineSeparatorNormal" android:background="?headlineSeparatorNormal"
android:paddingRight="4dip" > android:paddingRight="4dip" />
</ImageView>
<LinearLayout <LinearLayout
android:id="@+id/linearLayout1" android:id="@+id/linearLayout1"
@ -29,15 +33,7 @@
android:ellipsize="end" android:ellipsize="end"
android:singleLine="true" android:singleLine="true"
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="16sp" > android:textSize="16sp" />
</TextView>
<WebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" >
</WebView>
<LinearLayout <LinearLayout
android:id="@+id/linerLayout3" android:id="@+id/linerLayout3"
@ -94,9 +90,15 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:src="@drawable/ic_rss_bw" > android:src="@drawable/ic_rss_bw" />
</ImageView> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<WebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
</LinearLayout> </LinearLayout>

View File

@ -5,14 +5,19 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?headlineSelectedBackground" android:background="?headlineSelectedBackground"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" > android:orientation="vertical" >
<LinearLayout
android:id="@+id/linearLayout7"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?headlineSeparatorSelected" android:background="?headlineSeparatorSelected"
android:paddingRight="4dip" > android:paddingRight="4dip" />
</ImageView>
<LinearLayout <LinearLayout
android:id="@+id/linearLayout1" android:id="@+id/linearLayout1"
@ -29,15 +34,7 @@
android:ellipsize="end" android:ellipsize="end"
android:singleLine="true" android:singleLine="true"
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="16sp" > android:textSize="16sp" />
</TextView>
<WebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" >
</WebView>
<LinearLayout <LinearLayout
android:id="@+id/linerLayout3" android:id="@+id/linerLayout3"
@ -94,9 +91,17 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:src="@drawable/ic_rss_bw" > android:src="@drawable/ic_rss_bw" />
</ImageView>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<WebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
</LinearLayout>

View File

@ -5,14 +5,19 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?headlineUnreadBackground" android:background="?headlineUnreadBackground"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" > android:orientation="vertical" >
<LinearLayout
android:id="@+id/linearLayout7"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?headlineSeparatorUnread" android:background="?headlineSeparatorUnread"
android:paddingRight="4dip" > android:paddingRight="4dip" />
</ImageView>
<LinearLayout <LinearLayout
android:id="@+id/linearLayout1" android:id="@+id/linearLayout1"
@ -29,15 +34,7 @@
android:ellipsize="end" android:ellipsize="end"
android:singleLine="true" android:singleLine="true"
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="16sp" > android:textSize="16sp" />
</TextView>
<WebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" >
</WebView>
<LinearLayout <LinearLayout
android:id="@+id/linerLayout3" android:id="@+id/linerLayout3"
@ -94,9 +91,17 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:src="@drawable/ic_rss_bw" > android:src="@drawable/ic_rss_bw" />
</ImageView>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<WebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
</LinearLayout>