mirror of https://github.com/Xe/xesite_android
76 lines
2.9 KiB
XML
76 lines
2.9 KiB
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/backgroundColor"
|
|
android:focusable="auto"
|
|
android:padding="@dimen/widget_margin"
|
|
android:theme="@style/ThemeOverlay.Xesite_android.AppWidgetContainer">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="92dp"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="92dp"
|
|
android:layout_height="75dp"
|
|
android:src="@drawable/splash" />
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="67dp"
|
|
android:text="Button" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/parent_article"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true"
|
|
android:focusable="auto"
|
|
android:onClick="clickButton"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/article_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:background="@color/backgroundColor"
|
|
android:contentDescription="@string/appwidget_title"
|
|
android:text="@string/appwidget_title"
|
|
android:textColor="#3C3836"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold|italic" />
|
|
|
|
<TextView
|
|
android:id="@+id/appwidget_text2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:background="@color/backgroundColor"
|
|
android:contentDescription="@string/appwidget_body_preview"
|
|
android:text="@string/appwidget_body_preview"
|
|
android:textColor="#282828"
|
|
android:textSize="16sp"
|
|
android:textStyle="italic" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |