Improve UI of widget's empty state
This commit is contained in:
@@ -72,8 +72,8 @@
|
||||
android:id="@+id/widget_placeholder_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Go to Settings->General to customise the widget"
|
||||
android:textSize="14sp"
|
||||
android:text="Go to Settings -> General to customise the widget"
|
||||
android:textSize="12sp"
|
||||
android:gravity="center_horizontal"
|
||||
android:textColor="@color/widget_text_color"
|
||||
android:paddingStart="8dp"
|
||||
|
||||
@@ -72,8 +72,8 @@
|
||||
android:id="@+id/widget_placeholder_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Go to Settings->General to customise the widget"
|
||||
android:textSize="14sp"
|
||||
android:text="Go to Settings -> General to customise the widget"
|
||||
android:textSize="12sp"
|
||||
android:gravity="center_horizontal"
|
||||
android:textColor="@color/widget_text_color"
|
||||
android:paddingStart="8dp"
|
||||
|
||||
@@ -72,8 +72,8 @@
|
||||
android:id="@+id/widget_placeholder_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Go to Settings->General to customise the widget"
|
||||
android:textSize="14sp"
|
||||
android:text="Go to Settings -> General to customise the widget"
|
||||
android:textSize="12sp"
|
||||
android:gravity="center_horizontal"
|
||||
android:textColor="@color/widget_text_color"
|
||||
android:paddingStart="8dp"
|
||||
|
||||
@@ -192,11 +192,12 @@ struct EnteAlbumWidgetEntryView: View {
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.padding(8)
|
||||
|
||||
Text("Go to Settings->General to customise the widget")
|
||||
.font(.custom("Inter", size: 14, relativeTo: .caption))
|
||||
Text("Go to Settings -> General to customise the widget")
|
||||
.font(.custom("Inter", size: 12, relativeTo: .caption))
|
||||
.foregroundStyle(.white) // Tint-aware color
|
||||
.multilineTextAlignment(.center)
|
||||
.padding(.bottom, 12)
|
||||
.padding(.horizontal, 8)
|
||||
.backwardWidgetAccentable(true)
|
||||
Spacer()
|
||||
}
|
||||
|
||||
@@ -190,11 +190,12 @@ struct EnteMemoryWidgetEntryView: View {
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.padding(8)
|
||||
|
||||
Text("Go to Settings->General to customise the widget")
|
||||
.font(.custom("Inter", size: 14, relativeTo: .caption))
|
||||
Text("Go to Settings -> General to customise the widget")
|
||||
.font(.custom("Inter", size: 12, relativeTo: .caption))
|
||||
.foregroundStyle(.white) // Tint-aware color
|
||||
.multilineTextAlignment(.center)
|
||||
.padding(.bottom, 12)
|
||||
.padding(.horizontal, 8)
|
||||
.backwardWidgetAccentable(true)
|
||||
Spacer()
|
||||
}
|
||||
|
||||
@@ -192,11 +192,12 @@ struct EntePeopleWidgetEntryView: View {
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.padding(8)
|
||||
|
||||
Text("Go to Settings->General to customise the widget")
|
||||
.font(.custom("Inter", size: 14, relativeTo: .caption))
|
||||
Text("Go to Settings -> General to customise the widget")
|
||||
.font(.custom("Inter", size: 12, relativeTo: .caption))
|
||||
.foregroundStyle(.white) // Tint-aware color
|
||||
.multilineTextAlignment(.center)
|
||||
.padding(.bottom, 12)
|
||||
.padding(.horizontal, 8)
|
||||
.backwardWidgetAccentable(true)
|
||||
Spacer()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user