Add weather icon pack, updates frequency and fix google fit

This commit is contained in:
Tommaso Berlose
2020-05-12 23:54:07 +02:00
parent ba5a860e75
commit ac381c8542
89 changed files with 702 additions and 263 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 886 B

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:fontStyle="normal"
app:fontWeight="400"
app:font="@font/product_sans_regular" />
<font
app:fontStyle="italic"
app:fontWeight="400"
app:font="@font/product_sans_italic" />
<font
app:fontStyle="normal"
app:fontWeight="200"
app:font="@font/product_sans_light" />
<font
app:fontStyle="normal"
app:fontWeight="300"
app:font="@font/product_sans_thin" />
<font
app:fontStyle="normal"
app:fontWeight="700"
app:font="@font/product_sans_medium" />
<font
app:fontStyle="normal"
app:fontWeight="800"
app:font="@font/product_sans_bold" />
<font
app:fontStyle="italic"
app:fontWeight="800"
app:font="@font/product_sans_bold_italic" />
<font
app:fontStyle="normal"
app:fontWeight="900"
app:font="@font/product_sans_black" />
</font-family>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -84,6 +84,7 @@
android:textColorHint="@color/colorSecondaryText"
android:textAlignment="viewStart"
android:id="@+id/search"
android:fontFamily="@font/product_sans"
android:gravity="center_vertical|start"
android:hint="@string/search"
android:text="@={viewModel.searchInput}"

View File

@ -87,6 +87,7 @@
android:maxLines="1"
android:singleLine="true"
android:hint="@string/settings_date_format_title"
android:fontFamily="@font/product_sans"
android:text="@={viewModel.dateInput}"
android:autofillHints=""
tools:ignore="TextFields" />
@ -116,7 +117,7 @@
android:layout_width="match_parent"
android:layout_height="48dp"
android:id="@+id/date_format_value"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
android:letterSpacing="0"
android:textColor="@color/colorPrimaryText"
android:textSize="20sp"

View File

@ -70,6 +70,7 @@
android:paddingRight="16dp"
android:inputType="textCapWords"
android:id="@+id/location"
android:fontFamily="@font/product_sans"
android:gravity="center_vertical|start"
android:hint="@string/search"
android:textAlignment="viewStart"

View File

@ -55,7 +55,7 @@
android:layout_height="wrap_content"
android:paddingBottom="20dp"
android:textColor="@color/colorSecondaryText"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textAppearance="@style/AnotherWidget.Settings.Subtitle"
android:textSize="16sp"
android:gravity="center"
android:text="@string/support_dev_subtitle" />

View File

@ -80,6 +80,7 @@
app:boxStrokeColor="@color/colorAccent"
app:hintTextColor="@color/colorAccent"
android:hint="@string/api_key_hint"
android:fontFamily="@font/product_sans"
android:textAlignment="viewStart"
android:textDirection="locale"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
@ -88,6 +89,7 @@
android:layout_height="wrap_content"
android:textAlignment="viewStart"
android:textDirection="locale"
android:fontFamily="@font/product_sans"
android:gravity="center_vertical|start" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>

View File

@ -16,7 +16,7 @@
android:paddingBottom="16dp"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"
@ -29,7 +29,7 @@
android:text="Titolo"
android:textColor="@color/colorPrimaryText"/>
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textAppearance="@style/AnotherWidget.Settings.Subtitle"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"

View File

@ -11,7 +11,7 @@
android:visibility="gone"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"
@ -22,12 +22,11 @@
android:paddingBottom="8dp"
android:paddingLeft="32dp"
android:paddingRight="32dp"
android:textSize="16sp"
android:id="@+id/header_text"
android:text=""
android:textColor="@color/colorPrimaryText"/>
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textAppearance="@style/AnotherWidget.Settings.Subtitle"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"
@ -38,7 +37,6 @@
android:paddingBottom="8dp"
android:paddingLeft="32dp"
android:paddingRight="32dp"
android:textSize="15sp"
android:id="@+id/warning_text"
android:text=""
android:textColor="@color/warningColorText"/>

View File

@ -21,6 +21,7 @@
android:duplicateParentState="true"
android:id="@+id/label"
android:textSize="15sp"
android:textStyle="bold"
android:textColor="@color/colorAccent"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
app:textAllCaps="false" />

View File

@ -19,7 +19,7 @@
android:visibility="gone"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"
@ -28,7 +28,6 @@
android:paddingBottom="8dp"
android:paddingLeft="32dp"
android:paddingRight="32dp"
android:textSize="16sp"
android:gravity="start"
android:textAlignment="viewStart"
android:id="@+id/header_text"
@ -49,7 +48,7 @@
android:gravity="center_vertical"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textAppearance="@style/AnotherWidget.Settings.Subtitle"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"
@ -58,7 +57,6 @@
android:paddingBottom="16dp"
android:paddingLeft="32dp"
android:paddingRight="32dp"
android:textSize="15sp"
android:gravity="start"
android:textAlignment="viewStart"
android:id="@+id/text_alpha"

View File

@ -25,9 +25,10 @@
android:paddingBottom="12dp"
android:duplicateParentState="true"
android:id="@+id/label"
android:textSize="15sp"
android:textSize="16sp"
android:textStyle="bold"
android:textColor="@drawable/menu_text_color"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
android:textAppearance="@style/AnotherWidget.Settings.Subtitle"
app:textAllCaps="false" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="24dp"

View File

@ -14,7 +14,7 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:textColor="@color/colorPrimaryText"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false"
android:gravity="start"
android:textSize="18sp"
@ -28,7 +28,7 @@
android:layout_height="wrap_content"
android:gravity="start"
android:textColor="@color/colorSecondaryText"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false"
android:textSize="18sp"
android:textAlignment="viewStart"

View File

@ -6,7 +6,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"
@ -29,7 +29,7 @@
android:background="@color/disabledButtonBackground" />
<EditText
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_height="64dp"
android:background="@color/colorPrimaryDark"
android:paddingStart="16dp"
android:paddingEnd="56dp"
@ -37,13 +37,12 @@
android:layout_marginStart="24dp"
android:layout_marginTop="8dp"
android:id="@+id/notes"
android:gravity="center_vertical|start"
android:gravity="center"
android:textDirection="locale"
android:textAlignment="viewStart"
android:lines="1"
android:inputType="textCapSentences"
android:maxLines="1"
android:singleLine="true"
android:fontFamily="@font/product_sans"
android:inputType="textCapSentences|textMultiLine"
android:maxLines="2"
android:lines="2"
android:autofillHints=""
tools:ignore="TextFields" />
<LinearLayout

View File

@ -45,6 +45,7 @@
android:layout_height="match_parent"
android:text="@string/app_name"
android:gravity="center"
android:textStyle="bold"
android:layout_marginBottom="1dp"
style="@style/AnotherWidget.Main.Title"/>
</LinearLayout>

View File

@ -274,6 +274,43 @@
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_widget_update_frequency"
android:orientation="horizontal">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
android:src="@drawable/round_update"
android:tint="@color/colorPrimaryText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_widget_update_frequency_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/widget_update_frequency_label"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@ -48,7 +48,7 @@
android:text="@string/clock_warning"
android:textColor="@color/colorPrimaryText"
android:letterSpacing="0"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false" />
<com.google.android.material.button.MaterialButton
android:layout_width="wrap_content"
@ -149,6 +149,43 @@
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_clock_text_color"
android:orientation="horizontal">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
android:src="@drawable/round_palette"
android:tint="@color/colorPrimaryText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_clock_text_color_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/clock_text_color_label"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -187,43 +224,6 @@
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_clock_text_color"
android:orientation="horizontal">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
android:src="@drawable/round_palette"
android:tint="@color/colorPrimaryText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_clock_text_color_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/clock_text_color_label"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -316,6 +316,7 @@
android:text="@string/clock_warning"
android:textColor="@color/colorPrimaryText"
android:letterSpacing="0"
android:fontFamily="@font/product_sans"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:textAllCaps="false" />
</LinearLayout>

View File

@ -55,6 +55,43 @@
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_font_color"
android:orientation="horizontal">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
android:src="@drawable/round_palette"
android:tint="@color/colorPrimaryText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_font_color_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/font_color_label"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -103,7 +140,7 @@
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_font_color"
android:id="@+id/action_secondary_font_color"
android:orientation="horizontal">
<ImageView
android:layout_width="48dp"
@ -121,11 +158,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_font_color_title"/>
android:text="@string/settings_secondary_font_color_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/font_color_label"
android:id="@+id/secondary_font_color_label"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>

View File

@ -45,7 +45,7 @@
android:text="@string/settings_title"
android:textColor="@color/colorPrimaryText"
android:gravity="center"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textAppearance="@style/AnotherWidget.Main.Title"
tools:ignore="RelativeOverlap" />
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>

View File

@ -48,7 +48,7 @@
android:text="@string/weather_warning"
android:textColor="@color/colorPrimaryText"
android:letterSpacing="0"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false" />
<com.google.android.material.button.MaterialButton
android:layout_width="wrap_content"
@ -286,6 +286,43 @@
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_weather_icon_pack"
android:orientation="horizontal">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
android:src="@drawable/round_cloud_queue"
android:tint="@color/colorPrimaryText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_weather_icon_pack_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/label_weather_icon_pack"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@ -39,22 +39,6 @@
android:textSize="16sp"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_show_music_title"/>
<com.google.android.material.button.MaterialButton
android:layout_width="wrap_content"
android:layout_height="36dp"
style="@style/Widget.MaterialComponents.Button.TextButton"
android:letterSpacing="0"
android:textAllCaps="false"
android:clickable="true"
android:layout_marginStart="-8dp"
android:layout_marginBottom="-8dp"
android:paddingBottom="0dp"
android:paddingTop="0dp"
android:focusable="true"
android:visibility="gone"
android:id="@+id/button"
android:textColor="@color/errorColorText"
android:text="@string/action_grant_permission"/>
</LinearLayout>
<ImageView
android:layout_width="48dp"

View File

@ -10,7 +10,7 @@
android:id="@+id/header"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textAppearance="@style/AnotherWidget.Settings.Title"
app:textAllCaps="false"
android:letterSpacing="0"
android:layout_width="match_parent"

View File

@ -26,7 +26,7 @@
android:textSize="16sp"
android:textColor="@color/colorPrimaryText"
android:letterSpacing="0"
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"/>
android:textAppearance="@style/AnotherWidget.Settings.Title"/>
<com.google.android.material.card.MaterialCardView
android:layout_width="wrap_content"
@ -42,6 +42,7 @@
android:paddingRight="12dp"
android:gravity="center"
android:text="12.00$"
android:fontFamily="@font/product_sans"
android:textColor="@color/colorAccent"
android:id="@+id/product_price"
android:textSize="14sp"/>

View File

@ -43,7 +43,7 @@
android:layout_height="20dp"
android:id="@+id/empty_weather_icon"
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"/>
android:layout_marginEnd="8dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -156,9 +156,9 @@
<TextView
android:id="@+id/next_event_date"
android:layout_width="wrap_content"
android:ellipsize="end"
android:lines="1"
android:maxLines="1"
android:ellipsize="end"
android:includeFontPadding="false"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Subtitle" />

View File

@ -230,4 +230,15 @@
<string name="settings_request_fitness_access">We need a few permissions to get your daily steps from Google Fit.</string>
<string name="settings_ampm_indicator_title">Show AM/PM Indicator</string>
<string name="daily_steps_counter">%d steps today</string>
<string name="settings_secondary_font_color_title">Second row text color</string>
<string name="soon">soon</string>
<string name="now">now</string>
<string name="settings_widget_update_frequency_title">Time left update frequency</string>
<string name="settings_widget_update_frequency_subtitle">High frequency causes more battery consume</string>
<string name="settings_widget_update_frequency_low">Low</string>
<string name="settings_widget_update_frequency_default">Default</string>
<string name="settings_widget_update_frequency_high">High</string>
<string name="settings_weather_icon_pack_title">Icon pack</string>
<string name="settings_weather_icon_pack_default">Default</string>
<string name="settings_weather_icon_pack_minimal">Minimal</string>
</resources>

View File

@ -210,4 +210,15 @@
<string name="settings_request_fitness_access">We need a few permissions to get your daily steps from Google Fit.</string>
<string name="settings_ampm_indicator_title">Show AM/PM Indicator</string>
<string name="daily_steps_counter">%d steps today</string>
<string name="settings_secondary_font_color_title">Second row text color</string>
<string name="soon">soon</string>
<string name="now">now</string>
<string name="settings_widget_update_frequency_title">Time left update frequency</string>
<string name="settings_widget_update_frequency_subtitle">High frequency causes more battery consume</string>
<string name="settings_widget_update_frequency_low">Low</string>
<string name="settings_widget_update_frequency_default">Default</string>
<string name="settings_widget_update_frequency_high">High</string>
<string name="settings_weather_icon_pack_title">Icon pack</string>
<string name="settings_weather_icon_pack_default">Default</string>
<string name="settings_weather_icon_pack_minimal">Minimal</string>
</resources>

View File

@ -98,7 +98,8 @@
<string name="settings_second_row_info_subtitle_0">Orario evento</string>
<string name="settings_second_row_info_subtitle_1">Location evento</string>
<string name="settings_second_row_info_subtitle_2">Mostra orario prossimo allarme</string>
<string name="settings_font_color_title">Colore Testo</string>
<string name="settings_font_color_title">Colore testo prima riga</string>
<string name="settings_secondary_font_color_title">Colore testo seconda riga</string>
<string name="title_main_text_size">Dimensione Testo Prima Riga</string>
<string name="title_second_text_size">Dimensione Testo Seconda Riga</string>
<string name="settings_clock_title">Orologio</string>
@ -209,4 +210,14 @@
<string name="settings_request_fitness_access">Abbiamo bisogno di alcuni permessi per leggere i tuoi passi di oggi da Google Fit.</string>
<string name="settings_ampm_indicator_title">Mostra AM/PM</string>
<string name="daily_steps_counter">%d passi</string>
<string name="soon">a breve</string>
<string name="now">ora</string>
<string name="settings_widget_update_frequency_title">Frequenza aggiornamento tempo rimanente</string>
<string name="settings_widget_update_frequency_subtitle">Maggiore è la frequenza maggiore sarà il consumo di batteria</string>
<string name="settings_widget_update_frequency_low">Bassa</string>
<string name="settings_widget_update_frequency_default">Default</string>
<string name="settings_widget_update_frequency_high">Alta</string>
<string name="settings_weather_icon_pack_title">Icon pack</string>
<string name="settings_weather_icon_pack_default">Default</string>
<string name="settings_weather_icon_pack_minimal">Minimal</string>
</resources>

View File

@ -104,7 +104,8 @@
<string name="settings_second_row_info_subtitle_1">Event address</string>
<string name="settings_second_row_info_subtitle_0">Event time</string>
<string name="settings_second_row_info_subtitle_2">Show next alarm time</string>
<string name="settings_font_color_title">Text color</string>
<string name="settings_font_color_title">First row text color</string>
<string name="settings_secondary_font_color_title">Second row text color</string>
<string name="settings_background_color_title">Background color</string>
<string name="title_main_text_size">First row text size</string>
<string name="title_second_text_size">Second row text size</string>
@ -222,4 +223,14 @@
<string name="battery_low_warning">Low battery level</string>
<string name="settings_ampm_indicator_title">Show AM/PM Indicator</string>
<string name="daily_steps_counter">%d steps so far</string>
<string name="soon">soon</string>
<string name="now">now</string>
<string name="settings_widget_update_frequency_title">Time left update frequency</string>
<string name="settings_widget_update_frequency_subtitle">High frequency causes more battery consume</string>
<string name="settings_widget_update_frequency_low">Low</string>
<string name="settings_widget_update_frequency_default">Default</string>
<string name="settings_widget_update_frequency_high">High</string>
<string name="settings_weather_icon_pack_title">Icon pack</string>
<string name="settings_weather_icon_pack_default">Default</string>
<string name="settings_weather_icon_pack_minimal">Minimal</string>
</resources>

View File

@ -19,15 +19,18 @@
<style name="AnotherWidget.Main.Title" parent="TextAppearance.AppCompat.Button">
<item name="android:textColor">@color/colorPrimaryText</item>
<item name="android:textSize">18sp</item>
<item name="android:textSize">20sp</item>
<item name="textAllCaps">false</item>
<item name="android:gravity">center</item>
<item name="android:textStyle">bold</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Main.Subtitle" parent="TextAppearance.AppCompat.Small">
<item name="android:textColor">@color/colorSecondaryText</item>
<item name="android:textSize">16sp</item>
<item name="android:gravity">center</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Main.Description" parent="TextAppearance.AppCompat.Small">
@ -35,6 +38,7 @@
<item name="android:textSize">18sp</item>
<item name="android:gravity">center</item>
<item name="android:alpha">0.6</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Main.Button" parent="TextAppearance.AppCompat.Button">
@ -45,6 +49,7 @@
<item name="android:clickable">true</item>
<item name="android:focusable">true</item>
<item name="android:foreground">?android:attr/selectableItemBackground</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Main.Button.Dark" parent="TextAppearance.AppCompat.Button">
@ -56,6 +61,7 @@
<item name="android:focusable">true</item>
<item name="android:textSize">12sp</item>
<item name="android:foreground">?android:attr/selectableItemBackground</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Main.Button.TabBar" parent="TextAppearance.AppCompat.Button">
@ -63,23 +69,27 @@
<item name="android:gravity">center</item>
<item name="android:padding">8dp</item>
<item name="android:textSize">12sp</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Settings.Header" parent="TextAppearance.AppCompat.Medium">
<item name="android:textColor">@color/colorPrimaryText</item>
<item name="android:textSize">14sp</item>
<item name="android:textSize">15sp</item>
<item name="android:textStyle">bold</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Settings.Title" parent="TextAppearance.AppCompat.Medium">
<item name="android:textColor">@color/colorPrimaryText</item>
<item name="android:textSize">16sp</item>
<item name="android:textSize">17sp</item>
<item name="android:textStyle">bold</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Settings.Subtitle" parent="TextAppearance.AppCompat.Medium">
<item name="android:textSize">14sp</item>
<item name="android:textSize">15sp</item>
<item name="android:textColor">@color/colorSecondaryText</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Title" parent="TextAppearance.AppCompat.Medium">
@ -88,12 +98,14 @@
<item name="android:textSize">24sp</item>
<item name="android:shadowRadius">5</item>
<item name="android:gravity">center</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Subtitle" parent="TextAppearance.AppCompat.Small">
<item name="android:textColor">@color/colorAccent</item>
<item name="android:textSize">16sp</item>
<item name="android:gravity">center_horizontal</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="AnotherWidget.Date" parent="AnotherWidget.Subtitle">
@ -101,6 +113,7 @@
<style name="AnotherWidget.Date.Big" parent="AnotherWidget.Title">
<item name="android:textSize">22sp</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="BottomSheet" parent="@style/Widget.Design.BottomSheet.Modal">
@ -113,6 +126,7 @@
<item name="android:windowIsFloating">false</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowSoftInputMode">adjustResize</item>
<item name="android:fontFamily">@font/product_sans</item>
</style>
<style name="BottomSheetDialogTheme" parent="BaseBottomSheetDialog" />