use titlewebview in tablet mode

This commit is contained in:
Andrew Dolgov 2013-01-02 22:24:17 +04:00
parent 3974868298
commit 5d1c621be8

View File

@ -4,7 +4,13 @@
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="10sp" >
<org.fox.ttrss.TitleWebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" >
<LinearLayout
android:id="@+id/article_header"
android:layout_width="match_parent"
@ -12,7 +18,7 @@
android:layout_weight="0"
android:orientation="vertical"
android:paddingBottom="4sp" >
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
@ -21,7 +27,7 @@
android:text="There are many variations of passages of Lorem Ipsum available"
android:textColor="?linkColor"
android:textSize="21sp" />
<TextView
android:id="@+id/comments"
android:layout_width="match_parent"
@ -32,7 +38,7 @@
android:text="24 comments"
android:textColor="?linkColor"
android:textSize="13sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -45,10 +51,10 @@
android:layout_weight="0.7"
android:ellipsize="end"
android:singleLine="true"
android:textColor="?headlineExcerptTextColor"
android:text="{TAGS}"
android:textColor="?headlineExcerptTextColor"
android:textSize="13sp" />
<TextView
android:id="@+id/date"
android:layout_width="wrap_content"
@ -60,61 +66,53 @@
android:textColor="?headlineExcerptTextColor"
android:textSize="13sp"
android:textStyle="italic" />
</LinearLayout>
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5sp"
android:layout_marginTop="5sp"
android:layout_weight="0"
android:background="?horizontalDivider"
android:layout_marginTop="5sp"
android:layout_marginBottom="5sp"
android:paddingTop="2dip" />
</LinearLayout>
</org.fox.ttrss.TitleWebView>
<WebView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
/>
<LinearLayout
android:id="@+id/attachments_holder"
<LinearLayout
android:id="@+id/attachments_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:paddingTop="5sp" >
<Spinner
android:id="@+id/attachments"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:prompt="@string/attachments_prompt" />
<Button
android:id="@+id/attachment_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:paddingTop="5sp" >
android:text="@string/attachment_view" />
<Spinner
android:id="@+id/attachments"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:prompt="@string/attachments_prompt" />
<Button
android:id="@+id/attachment_share"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@string/attachment_share" />
<Button
android:id="@+id/attachment_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@string/attachment_view" />
<Button
android:id="@+id/attachment_copy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@string/attachment_copy" />
</LinearLayout>
<Button
android:id="@+id/attachment_share"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@string/attachment_share" />
<Button
android:id="@+id/attachment_copy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@string/attachment_copy" />
</LinearLayout>
</LinearLayout>