diff options
Diffstat (limited to 'res/layout/wallpaper_component_selection_item.xml')
-rw-r--r-- | res/layout/wallpaper_component_selection_item.xml | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/res/layout/wallpaper_component_selection_item.xml b/res/layout/wallpaper_component_selection_item.xml index 365221e..e36ec0a 100644 --- a/res/layout/wallpaper_component_selection_item.xml +++ b/res/layout/wallpaper_component_selection_item.xml @@ -23,13 +23,26 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/wallpaper_border" /> - <ImageView - android:id="@+id/live_lock_screen_ribbon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="top|right" - android:src="@drawable/ribbon_live_lock_screen" - android:visibility="gone" /> + <LinearLayout + android:id="@+id/live_lock_screen_badge" + android:orientation="vertical" + android:layout_width="@dimen/animated_lock_screen_badge_width" + android:layout_height="@dimen/animated_lock_screen_badge_height" + android:background="@android:color/white" + android:layout_gravity="center_horizontal|bottom" + android:visibility="gone"> + <com.cyngn.theme.widget.FittedTextView + android:layout_width="@dimen/animated_lock_screen_text_width" + android:layout_height="@dimen/animated_lock_screen_text_height" + android:includeFontPadding="false" + android:gravity="center" + android:layout_marginLeft="@dimen/animated_lock_screen_text_margin_left" + android:layout_marginRight="@dimen/animated_lock_screen_text_margin_right" + android:layout_marginTop="@dimen/animated_lock_screen_text_margin_top" + android:layout_marginBottom="@dimen/animated_lock_screen_text_margin_bottom" + style="@style/animated_lock_screen_badge_text_style" + android:text="@string/animated_lock_screen_badge_text"/> + </LinearLayout> </FrameLayout> <com.cyngn.theme.widget.LatoTextView |