summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/widget_small.xml
diff options
context:
space:
mode:
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/widget_small.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/widget_small.xml32
1 files changed, 12 insertions, 20 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/widget_small.xml b/org.fox.ttrss/src/main/res/layout/widget_small.xml
index ec377296..2ea0e9bd 100644
--- a/org.fox.ttrss/src/main/res/layout/widget_small.xml
+++ b/org.fox.ttrss/src/main/res/layout/widget_small.xml
@@ -1,42 +1,34 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget_main"
- android:layout_width="match_parent"
- android:layout_height="fill_parent" >
+ android:padding="@dimen/widget_margin"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" >
<LinearLayout
+ android:background="@drawable/appwidget_dark_bg_clickable"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:minWidth="110dp"
+ android:padding="8dp"
android:orientation="vertical" >
<ImageView
- android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
- android:paddingTop="2dp"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/counter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:gravity="center"
- android:text="-1"
- android:shadowColor="#cc000000"
- android:shadowDx="0"
- android:shadowDy="3"
- android:shadowRadius="3"
+ android:layout_gravity="center"
+ android:gravity="center_horizontal"
+ android:text="123"
android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="@android:color/primary_text_dark" />
+ android:textColor="@android:color/primary_text_dark"
+ android:textSize="13sp" />
</LinearLayout>
- <ProgressBar
- android:id="@+id/progress"
- style="?android:attr/progressBarStyleLarge"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone" />
-
-</FrameLayout> \ No newline at end of file
+</FrameLayout>