mirror of https://github.com/ThmmyNoLife/mTHMMY
Thodoris1999
6 years ago
3 changed files with 155 additions and 9 deletions
@ -1,6 +1,52 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:orientation="vertical" android:layout_width="match_parent" |
|||
android:layout_height="match_parent"> |
|||
<androidx.cardview.widget.CardView |
|||
xmlns:android="http://schemas.android.com/apk/res/android" |
|||
xmlns:card_view="http://schemas.android.com/apk/res-auto" |
|||
xmlns:tools="http://schemas.android.com/tools" |
|||
android:orientation="vertical" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:foreground="?android:attr/selectableItemBackground" |
|||
card_view:cardBackgroundColor="@color/card_background" |
|||
card_view:cardCornerRadius="5dp" |
|||
card_view:cardElevation="2dp" |
|||
card_view:cardPreventCornerOverlap="false" |
|||
card_view:cardUseCompatPadding="true"> |
|||
|
|||
<LinearLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:orientation="vertical"> |
|||
<TextView |
|||
android:id="@+id/author_textview" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:textColor="@color/accent" |
|||
android:textStyle="bold" |
|||
android:ellipsize="end" |
|||
android:maxLines="1" |
|||
tools:text="author"/> |
|||
|
|||
<TextView |
|||
android:id="@+id/date_time_textview" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:textSize="11sp" |
|||
android:textColor="@color/primary_text" |
|||
tools:text="date & time"/> |
|||
|
|||
<WebView |
|||
android:id="@+id/shout_content" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:layout_marginLeft="16dp" |
|||
android:layout_marginRight="16dp" |
|||
android:background="@color/card_background" |
|||
android:clickable="true" |
|||
android:focusable="true" |
|||
android:text="@string/post" |
|||
tools:ignore="WebViewLayout"/> |
|||
</LinearLayout> |
|||
|
|||
</androidx.cardview.widget.CardView> |
Loading…
Reference in new issue