<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"
android:layout_marginTop="4dp"
android:background="@drawable/bg_card"
android:orientation="vertical" >
<TextView
android:id="@+id/detailstitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium" />
<!-- description -->
<TextView
android:id="@+id/detailsdescription"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:autoLink="all"
android:linksClickable="true"
android:scrollbars="vertical" />
<WebView
android:id="@+id/descriptionwebview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
<!-- footer -->
<LinearLayout
android:id="@+id/buttom_panel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<!-- date -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/textview_date"
android:textStyle="bold" />
<TextView
android:id="@+id/detailspubdate"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<!-- devider before buttons -->
<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_marginTop="10dp"
android:background="@android:color/darker_gray" />
<!-- buttons -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/openbutton"
style="@style/CardActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:background="@android:color/transparent"
android:text="@string/open_button" />
<View
android:layout_width="1dp"
android:layout_height="fill_parent"
android:layout_marginTop="5dp"
android:background="@android:color/darker_gray" />
<Button
android:id="@+id/favoritebutton"
style="@style/CardActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:background="@android:color/transparent"
android:text="@string/favorite_button" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<com.google.android.gms.ads.AdView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
app:adSize="SMART_BANNER"
app:adUnitId="a15342e80996579" >
</com.google.android.gms.ads.AdView>
</FrameLayout>