tt-rss-android/org.fox.ttrss/src/main/res/layout/widget_small.xml

36 lines
1.2 KiB
XML
Executable File

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget_main"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="@dimen/widget_margin" >
<LinearLayout
android:background="@drawable/appwidget_dark_bg_clickable"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="8dp"
android:orientation="vertical" >
<ImageView
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_weight="1"
android:layout_gravity="center_horizontal"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/widget_unread_counter"
android:layout_weight="0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:gravity="center_horizontal"
android:text=""
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/primary_text_dark"
android:textSize="13sp" />
</LinearLayout>
</FrameLayout>