|
@ -1,21 +1,38 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<FrameLayout |
|
|
<RelativeLayout |
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
|
android:id="@+id/latest_posts_row" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:background="@color/background_light"> |
|
|
android:layout_marginBottom="2dp"> |
|
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView |
|
|
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto" |
|
|
|
|
|
android:id="@+id/card_view" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
android:layout_gravity="center" |
|
|
|
|
|
android:foreground="?android:attr/selectableItemBackground" |
|
|
|
|
|
card_view:cardBackgroundColor="@color/background" |
|
|
|
|
|
card_view:cardCornerRadius="5dp" |
|
|
|
|
|
card_view:cardElevation="2dp" |
|
|
|
|
|
card_view:cardPreventCornerOverlap="false" |
|
|
|
|
|
card_view:cardUseCompatPadding="true"> |
|
|
|
|
|
|
|
|
<RelativeLayout |
|
|
<RelativeLayout |
|
|
android:id="@+id/latest_posts_row" |
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
|
|
android:id="@+id/latest_posts_row_head" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:background="?android:attr/selectableItemBackground" |
|
|
android:background="?android:attr/selectableItemBackground" |
|
|
android:clickable="true" |
|
|
android:clickable="true" |
|
|
android:focusable="true" |
|
|
android:focusable="true" |
|
|
android:paddingBottom="6dp" |
|
|
android:paddingStart="10dp" |
|
|
android:paddingLeft="10dp" |
|
|
android:paddingEnd="10dp" |
|
|
android:paddingRight="10dp" |
|
|
android:paddingTop="8dp"> |
|
|
android:paddingTop="6dp"> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/title" |
|
|
android:id="@+id/title" |
|
@ -34,21 +51,24 @@ |
|
|
android:layout_below="@+id/title" |
|
|
android:layout_below="@+id/title" |
|
|
android:textColor="@color/secondary_text"/> |
|
|
android:textColor="@color/secondary_text"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
<View |
|
|
android:id="@+id/spacer_divider" |
|
|
android:id="@+id/spacer_divider" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="1dp" |
|
|
android:layout_height="1dp" |
|
|
android:layout_below="@+id/date" |
|
|
android:layout_below="@+id/date" |
|
|
android:layout_marginBottom="3dp" |
|
|
android:layout_marginTop="6dp" |
|
|
android:layout_marginTop="3dp" |
|
|
android:background="@color/secondary_text"/> |
|
|
android:background="@color/divider"/> |
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
<FrameLayout |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:layout_alignParentStart="true" |
|
|
android:layout_alignParentStart="true" |
|
|
android:layout_below="@+id/spacer_divider"> |
|
|
android:layout_below="@+id/latest_posts_row_head" |
|
|
|
|
|
android:paddingStart="10dp" |
|
|
|
|
|
android:paddingEnd="10dp" |
|
|
|
|
|
android:paddingTop="6dp" |
|
|
|
|
|
android:paddingBottom="8dp"> |
|
|
|
|
|
|
|
|
<gr.thmmy.mthmmy.views.ReactiveWebView |
|
|
<gr.thmmy.mthmmy.views.ReactiveWebView |
|
|
android:id="@+id/post" |
|
|
android:id="@+id/post" |
|
@ -58,4 +78,5 @@ |
|
|
android:text="@string/post"/> |
|
|
android:text="@string/post"/> |
|
|
</FrameLayout> |
|
|
</FrameLayout> |
|
|
</RelativeLayout> |
|
|
</RelativeLayout> |
|
|
</FrameLayout> |
|
|
</androidx.cardview.widget.CardView> |
|
|
|
|
|
</RelativeLayout> |