diff options
author | Andrew Dolgov <[email protected]> | 2015-12-02 21:14:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-12-02 21:16:50 +0300 |
commit | e9802a9ed2773edc8814d9da7f31e92cb7c4e8b8 (patch) | |
tree | fd41b59585c0ce204a82d1fd1c604c18964b4904 /org.fox.ttrss/src | |
parent | e0a74a352b4931c8904a59e20024a52babc9af6a (diff) |
update widget design
Diffstat (limited to 'org.fox.ttrss/src')
-rw-r--r-- | org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_bg_pressed.9.png | bin | 798 -> 0 bytes | |||
-rw-r--r-- | org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg.9.png | bin | 731 -> 0 bytes | |||
-rw-r--r-- | org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg_focused.9.png | bin | 856 -> 0 bytes | |||
-rw-r--r-- | org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_bg_pressed.9.png | bin | 1098 -> 0 bytes | |||
-rw-r--r-- | org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg.9.png | bin | 1005 -> 0 bytes | |||
-rw-r--r-- | org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg_focused.9.png | bin | 1135 -> 0 bytes | |||
-rw-r--r-- | org.fox.ttrss/src/main/res/drawable/appwidget_dark_bg_clickable.xml | 24 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/widget_small.xml | 13 |
8 files changed, 7 insertions, 30 deletions
diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_bg_pressed.9.png b/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_bg_pressed.9.png Binary files differdeleted file mode 100644 index efacbcfa..00000000 --- a/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_bg_pressed.9.png +++ /dev/null diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg.9.png b/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg.9.png Binary files differdeleted file mode 100644 index 02ee4401..00000000 --- a/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg.9.png +++ /dev/null diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg_focused.9.png b/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg_focused.9.png Binary files differdeleted file mode 100644 index ccc01774..00000000 --- a/org.fox.ttrss/src/main/res/drawable-hdpi/appwidget_dark_bg_focused.9.png +++ /dev/null diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_bg_pressed.9.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_bg_pressed.9.png Binary files differdeleted file mode 100644 index 97a3ba09..00000000 --- a/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_bg_pressed.9.png +++ /dev/null diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg.9.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg.9.png Binary files differdeleted file mode 100644 index 7ccb762b..00000000 --- a/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg.9.png +++ /dev/null diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg_focused.9.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg_focused.9.png Binary files differdeleted file mode 100644 index da9289e6..00000000 --- a/org.fox.ttrss/src/main/res/drawable-xhdpi/appwidget_dark_bg_focused.9.png +++ /dev/null diff --git a/org.fox.ttrss/src/main/res/drawable/appwidget_dark_bg_clickable.xml b/org.fox.ttrss/src/main/res/drawable/appwidget_dark_bg_clickable.xml deleted file mode 100644 index 7cfc9d2b..00000000 --- a/org.fox.ttrss/src/main/res/drawable/appwidget_dark_bg_clickable.xml +++ /dev/null @@ -1,24 +0,0 @@ -<!-- - Copyright 2011 Google Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:drawable="@drawable/appwidget_bg_pressed" android:state_pressed="true" /> - <item android:drawable="@drawable/appwidget_dark_bg_focused" - android:state_focused="true" - android:state_enabled="true" - android:state_window_focused="true" /> - <item android:drawable="@drawable/appwidget_dark_bg" /> -</selector> 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 f1a90491..9b607dfd 100755 --- a/org.fox.ttrss/src/main/res/layout/widget_small.xml +++ b/org.fox.ttrss/src/main/res/layout/widget_small.xml @@ -5,28 +5,29 @@ android:padding="@dimen/widget_margin" > <LinearLayout - android:background="@drawable/appwidget_dark_bg_clickable" + android:background="@android:color/white" 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:padding="4dp" + android:layout_width="46dp" + android:layout_height="46dp" android:layout_weight="1" android:layout_gravity="center_horizontal" android:src="@drawable/ic_launcher" /> <TextView + android:padding="4dp" + android:background="#6482af" android:id="@+id/widget_unread_counter" android:layout_weight="0" - android:layout_width="wrap_content" + android:layout_width="match_parent" 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" /> |