tt-rss-android/res/layout/article_fragment.xml

39 lines
2.9 KiB
XML
Raw Normal View History

2011-09-09 11:58:11 +00:00
2011-11-23 20:18:18 +00:00
<LinearLayout android:id="@+id/article_fragment" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal">
<ImageView android:layout_weight="0" android:background="?articleDivider" android:layout_width="wrap_content" android:paddingLeft="4dip" android:layout_height="match_parent"></ImageView>
2011-11-23 20:18:18 +00:00
<LinearLayout
2011-11-27 15:17:38 +00:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
2011-11-23 20:18:18 +00:00
android:id="@+id/linerLayout2"
android:layout_width="match_parent"
android:layout_weight="1"
android:layout_height="match_parent" android:orientation="vertical">
<LinearLayout android:background="?articleHeader" android:layout_gravity="center_vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/article_header" android:padding="10dip" android:orientation="vertical">
<TextView android:singleLine="true" android:layout_weight="1" android:text="{Title}" android:layout_height="wrap_content" android:ellipsize="end" android:layout_width="match_parent" android:id="@+id/title" android:textSize="18dip"></TextView>
<LinearLayout
android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
<TextView android:text="{COMMENTS}" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceSmall" android:layout_width="wrap_content" android:id="@+id/comments"></TextView>
<TextView android:text="{DATE}" android:gravity="right" android:textAppearance="?android:attr/textAppearanceSmall" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/date"></TextView>
</LinearLayout>
2011-11-23 20:18:18 +00:00
</LinearLayout>
<ImageView android:background="?feedlistDivider" android:paddingTop="2dip" android:layout_weight="0" android:layout_height="wrap_content" android:layout_width="match_parent"></ImageView>
2011-11-27 15:17:38 +00:00
<WebView android:layout_weight="1" android:layout_width="match_parent" android:padding="3dip" android:layout_height="match_parent" android:id="@+id/content"></WebView>
<!-- Ad Placeholder -->
<com.google.ads.AdView
2011-11-27 16:04:25 +00:00
android:id="@+id/ad"
2011-11-27 15:17:38 +00:00
android:layout_weight="0"
android:gravity="center"
android:background="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
ads:adUnitId="a14ed24fe8c671c"
ads:adSize="BANNER"
2011-11-27 16:04:25 +00:00
ads:loadAdOnCreate="false" />
2011-09-09 11:58:11 +00:00
</LinearLayout>
</LinearLayout>