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

@ -5,6 +5,12 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="10sp" > 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 <LinearLayout
android:id="@+id/article_header" android:id="@+id/article_header"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -45,8 +51,8 @@
android:layout_weight="0.7" android:layout_weight="0.7"
android:ellipsize="end" android:ellipsize="end"
android:singleLine="true" android:singleLine="true"
android:textColor="?headlineExcerptTextColor"
android:text="{TAGS}" android:text="{TAGS}"
android:textColor="?headlineExcerptTextColor"
android:textSize="13sp" /> android:textSize="13sp" />
<TextView <TextView
@ -60,61 +66,53 @@
android:textColor="?headlineExcerptTextColor" android:textColor="?headlineExcerptTextColor"
android:textSize="13sp" android:textSize="13sp"
android:textStyle="italic" /> android:textStyle="italic" />
</LinearLayout> </LinearLayout>
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="5sp"
android:layout_marginTop="5sp"
android:layout_weight="0" android:layout_weight="0"
android:background="?horizontalDivider" android:background="?horizontalDivider"
android:layout_marginTop="5sp"
android:layout_marginBottom="5sp"
android:paddingTop="2dip" /> android:paddingTop="2dip" />
</LinearLayout> </LinearLayout>
</org.fox.ttrss.TitleWebView>
<WebView <LinearLayout
android:id="@+id/content" android:id="@+id/attachments_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="0"
/> android:paddingTop="5sp" >
<LinearLayout <Spinner
android:id="@+id/attachments_holder" android:id="@+id/attachments"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" 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:layout_weight="0"
android:paddingTop="5sp" > android:text="@string/attachment_view" />
<Spinner <Button
android:id="@+id/attachments" android:id="@+id/attachment_share"
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_weight="0"
android:prompt="@string/attachments_prompt" /> android:text="@string/attachment_share" />
<Button <Button
android:id="@+id/attachment_view" android:id="@+id/attachment_copy"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:text="@string/attachment_view" /> 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> </LinearLayout>