2021-07-05 22:04:13 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-07-06 01:03:01 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-07-05 22:04:13 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-07-06 01:03:01 +00:00
|
|
|
android:background="@color/gruvbox_dark_bg"
|
2021-07-05 22:04:13 +00:00
|
|
|
android:focusable="auto"
|
|
|
|
android:padding="@dimen/widget_margin"
|
|
|
|
android:theme="@style/ThemeOverlay.Xesite_android.AppWidgetContainer">
|
|
|
|
|
|
|
|
<LinearLayout
|
2021-07-08 02:40:54 +00:00
|
|
|
android:id="@+id/widget_parent"
|
2021-07-05 22:04:13 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-07-06 01:03:01 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="UselessParent">
|
2021-07-05 22:04:13 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2021-07-06 00:30:17 +00:00
|
|
|
android:layout_width="match_parent"
|
2021-07-08 02:40:54 +00:00
|
|
|
android:layout_height="174dp"
|
2021-07-06 00:30:17 +00:00
|
|
|
android:orientation="horizontal">
|
2021-07-05 22:04:13 +00:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
android:layout_width="92dp"
|
|
|
|
android:layout_height="75dp"
|
2021-07-08 02:40:54 +00:00
|
|
|
android:layout_marginStart="0dp"
|
|
|
|
android:layout_marginTop="0dp"
|
|
|
|
android:layout_marginEnd="0dp"
|
|
|
|
android:layout_marginBottom="0dp"
|
|
|
|
android:contentDescription="Logo"
|
|
|
|
android:src="@drawable/splash" />
|
2021-07-05 22:04:13 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/article_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-08 02:40:54 +00:00
|
|
|
android:layout_marginStart="0dp"
|
|
|
|
android:layout_marginTop="0dp"
|
2021-07-05 22:04:13 +00:00
|
|
|
android:layout_marginEnd="0dp"
|
2021-07-08 02:40:54 +00:00
|
|
|
android:layout_marginBottom="0dp"
|
2021-07-06 01:03:01 +00:00
|
|
|
android:background="@color/gruvbox_dark_bg"
|
2021-07-05 22:04:13 +00:00
|
|
|
android:contentDescription="@string/appwidget_title"
|
|
|
|
android:text="@string/appwidget_title"
|
2021-07-06 01:03:01 +00:00
|
|
|
android:textColor="@color/gruvbox_dark_fg"
|
2021-07-05 22:04:13 +00:00
|
|
|
android:textSize="24sp"
|
|
|
|
android:textStyle="bold|italic" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2021-07-06 00:30:17 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/article_preview"
|
|
|
|
android:layout_width="match_parent"
|
2021-07-08 02:40:54 +00:00
|
|
|
android:layout_height="wrap_content"
|
2021-07-06 00:30:17 +00:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginTop="0dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
2021-07-06 01:03:01 +00:00
|
|
|
android:background="@color/gruvbox_dark_bg"
|
2021-07-06 00:30:17 +00:00
|
|
|
android:contentDescription="@string/appwidget_body_preview"
|
2021-07-06 01:03:01 +00:00
|
|
|
android:ellipsize="end"
|
2021-07-08 02:40:54 +00:00
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:text="@string/appwidget_body_preview"
|
2021-07-06 01:03:01 +00:00
|
|
|
android:textColor="@color/gruvbox_dark_fg"
|
2021-07-06 00:30:17 +00:00
|
|
|
android:textSize="16sp" />
|
|
|
|
|
2021-07-05 22:04:13 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|