widget fixes

This commit is contained in:
Andrew Dolgov 2015-02-13 00:15:03 +03:00
parent cedec42443
commit 4d9949aabe
2 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss"
android:versionCode="305"
android:versionCode="307"
android:versionName="1.87" >
<uses-sdk

View File

@ -1,28 +1,29 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget_main"
android:padding="@dimen/widget_margin"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
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="match_parent"
android:layout_height="match_parent"
android:minWidth="110dp"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="8dp"
android:orientation="vertical" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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/counter"
android:layout_weight="0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_gravity="bottom|center"
android:gravity="center_horizontal"
android:text="123"
android:textAppearance="?android:attr/textAppearanceSmall"