Update the glance section
BIN
app/src/main/res/drawable-hdpi/round_run_circle_white_18.png
Normal file
After Width: | Height: | Size: 386 B |
BIN
app/src/main/res/drawable-hdpi/round_run_circle_white_24.png
Normal file
After Width: | Height: | Size: 475 B |
BIN
app/src/main/res/drawable-hdpi/round_run_circle_white_36.png
Normal file
After Width: | Height: | Size: 697 B |
BIN
app/src/main/res/drawable-hdpi/round_run_circle_white_48.png
Normal file
After Width: | Height: | Size: 905 B |
BIN
app/src/main/res/drawable-hdpi/round_sticky_note_2.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
app/src/main/res/drawable-hdpi/round_sticky_note_2_white_18.png
Normal file
After Width: | Height: | Size: 237 B |
BIN
app/src/main/res/drawable-hdpi/round_sticky_note_2_white_24.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
app/src/main/res/drawable-hdpi/round_sticky_note_2_white_48.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
app/src/main/res/drawable-mdpi/round_run_circle_white_18.png
Normal file
After Width: | Height: | Size: 269 B |
BIN
app/src/main/res/drawable-mdpi/round_run_circle_white_24.png
Normal file
After Width: | Height: | Size: 326 B |
BIN
app/src/main/res/drawable-mdpi/round_run_circle_white_36.png
Normal file
After Width: | Height: | Size: 475 B |
BIN
app/src/main/res/drawable-mdpi/round_run_circle_white_48.png
Normal file
After Width: | Height: | Size: 634 B |
BIN
app/src/main/res/drawable-mdpi/round_sticky_note_2.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
app/src/main/res/drawable-mdpi/round_sticky_note_2_white_18.png
Normal file
After Width: | Height: | Size: 179 B |
BIN
app/src/main/res/drawable-mdpi/round_sticky_note_2_white_24.png
Normal file
After Width: | Height: | Size: 171 B |
BIN
app/src/main/res/drawable-mdpi/round_sticky_note_2_white_48.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
app/src/main/res/drawable-xhdpi/round_run_circle_white_18.png
Normal file
After Width: | Height: | Size: 475 B |
BIN
app/src/main/res/drawable-xhdpi/round_run_circle_white_24.png
Normal file
After Width: | Height: | Size: 634 B |
BIN
app/src/main/res/drawable-xhdpi/round_run_circle_white_36.png
Normal file
After Width: | Height: | Size: 905 B |
BIN
app/src/main/res/drawable-xhdpi/round_run_circle_white_48.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable-xhdpi/round_sticky_note_2.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
app/src/main/res/drawable-xhdpi/round_sticky_note_2_white_18.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
app/src/main/res/drawable-xhdpi/round_sticky_note_2_white_24.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
app/src/main/res/drawable-xhdpi/round_sticky_note_2_white_48.png
Normal file
After Width: | Height: | Size: 482 B |
BIN
app/src/main/res/drawable-xxhdpi/round_run_circle_white_18.png
Normal file
After Width: | Height: | Size: 697 B |
BIN
app/src/main/res/drawable-xxhdpi/round_run_circle_white_24.png
Normal file
After Width: | Height: | Size: 905 B |
BIN
app/src/main/res/drawable-xxhdpi/round_run_circle_white_36.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/drawable-xxhdpi/round_run_circle_white_48.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable-xxhdpi/round_sticky_note_2.png
Normal file
After Width: | Height: | Size: 593 B |
After Width: | Height: | Size: 347 B |
After Width: | Height: | Size: 398 B |
After Width: | Height: | Size: 730 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_run_circle_white_18.png
Normal file
After Width: | Height: | Size: 905 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_run_circle_white_24.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/round_run_circle_white_36.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/round_run_circle_white_48.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/round_sticky_note_2.png
Normal file
After Width: | Height: | Size: 730 B |
After Width: | Height: | Size: 398 B |
After Width: | Height: | Size: 482 B |
After Width: | Height: | Size: 938 B |
10
app/src/main/res/drawable/round_run_circle.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M12,2C6.48,2 2,6.48 2,12c0,5.52 4.48,10 10,10s10,-4.48 10,-10C22,6.48 17.52,2 12,2zM13.5,6c0.55,0 1,0.45 1,1c0,0.55 -0.45,1 -1,1s-1,-0.45 -1,-1C12.5,6.45 12.95,6 13.5,6zM15.41,11.91c-0.71,-0.2 -1.63,-0.74 -2.32,-1.66l-0.41,2.35l1.19,1.3C13.95,13.98 14,14.1 14,14.22v3.28c0,0.28 -0.22,0.5 -0.5,0.5h0c-0.28,0 -0.5,-0.22 -0.5,-0.5v-3.08l-1.11,-1.21l-0.43,2.15c-0.05,0.27 -0.32,0.45 -0.59,0.39l-2.78,-0.57c-0.27,-0.06 -0.45,-0.32 -0.39,-0.59v0c0.06,-0.27 0.32,-0.44 0.59,-0.39l2.29,0.47l0.96,-4.89L10,10.35v1.15c0,0.28 -0.22,0.5 -0.5,0.5h0C9.22,12 9,11.78 9,11.5V10c0,-0.21 0.13,-0.4 0.33,-0.47l2.95,-1.09c0.49,-0.18 1.02,0.04 1.25,0.51c0.65,1.35 1.55,1.85 2.1,2C15.85,11 16,11.18 16,11.4v0.04C16,11.75 15.71,11.99 15.41,11.91z"/>
|
||||
</vector>
|
10
app/src/main/res/drawable/round_sticky_note_2_24.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M19,3H4.99C3.89,3 3,3.9 3,5l0.01,14c0,1.1 0.89,2 1.99,2h10l6,-6V5C21,3.9 20.1,3 19,3zM8,8h8c0.55,0 1,0.45 1,1v0c0,0.55 -0.45,1 -1,1H8c-0.55,0 -1,-0.45 -1,-1v0C7,8.45 7.45,8 8,8zM11,14H8c-0.55,0 -1,-0.45 -1,-1v0c0,-0.55 0.45,-1 1,-1h3c0.55,0 1,0.45 1,1v0C12,13.55 11.55,14 11,14zM14,19.5V15c0,-0.55 0.45,-1 1,-1h4.5L14,19.5z"/>
|
||||
</vector>
|
@ -103,27 +103,28 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/small_clock_warning"
|
||||
android:padding="10dp"
|
||||
android:padding="8dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:padding="10dp"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/outline_info_24"
|
||||
app:tint="@color/colorSecondaryText"/>
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:duplicateParentState="true"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="@string/glance_info"
|
||||
android:textColor="@color/colorSecondaryText"
|
||||
android:letterSpacing="0"
|
||||
android:fontFamily="@font/google_sans"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
android:textAppearance="@style/AnotherWidget.Settings.Subtitle"
|
||||
app:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@ -14,8 +14,8 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:gravity="center_vertical"
|
||||
@ -25,15 +25,8 @@
|
||||
android:layout_height="48dp"
|
||||
android:padding="11dp"
|
||||
android:id="@+id/icon"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/round_music_note"
|
||||
app:tint="@color/colorPrimaryText"/>
|
||||
<ImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="11dp"
|
||||
android:src="@drawable/round_drag"
|
||||
app:tint="@color/colorPrimaryText"/>
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
@ -56,18 +49,16 @@
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="10dp"
|
||||
android:padding="11dp"
|
||||
android:src="@drawable/round_error"
|
||||
app:tint="@color/errorColorText"
|
||||
android:id="@+id/error_icon"/>
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="10dp"
|
||||
android:padding="11dp"
|
||||
android:id="@+id/info_icon"
|
||||
android:src="@drawable/round_arrow_circle_down"
|
||||
android:rotation="-90"
|
||||
android:alpha="0.8"
|
||||
android:src="@drawable/round_drag_handle"
|
||||
app:tint="@color/colorPrimaryText"/>
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
@ -7,7 +7,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="56dp"
|
||||
android:paddingBottom="48dp"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@ -220,7 +220,8 @@
|
||||
android:id="@+id/action_toggle_google_fit"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
@ -230,14 +231,34 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:text="Google Fit"/>
|
||||
android:text="@string/google_fit"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/settings_music_players_filter_subtitle"
|
||||
android:id="@+id/google_fit_status_label"
|
||||
android:text="@string/google_fit_account_not_connected"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Widget.MaterialComponents.Button.TextButton"
|
||||
app:backgroundTint="@color/colorAccent_op10"
|
||||
android:textColor="@color/colorAccent"
|
||||
android:text="@string/action_connect"
|
||||
android:textAllCaps="false"
|
||||
android:id="@+id/action_connect_to_google_fit" />
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:textColor="@color/colorSecondaryText"
|
||||
android:visibility="gone"
|
||||
app:strokeColor="@color/disabledButtonBackground"
|
||||
android:text="@string/action_disconnect"
|
||||
android:textAllCaps="false"
|
||||
android:id="@+id/action_disconnect_to_google_fit" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@ -204,6 +204,11 @@
|
||||
<string name="settings_show_next_alarm_app_title">Allarme impostato da %s</string>
|
||||
<string name="settings_show_next_alarm_app_subtitle_wrong">La prossima sveglia sembra impostata da un\'app errata. Disinstalla l\'app che imposta allarmi errati.</string>
|
||||
<string name="settings_show_next_alarm_app_subtitle_correct">La prossima sveglia sembra corretta.</string>
|
||||
<string name="google_fit_account_connected">Account collegato</string>
|
||||
<string name="google_fit_account_not_connected">Account non collegato</string>
|
||||
<string name="google_fit">Google Fit</string>
|
||||
<string name="action_connect">Collega</string>
|
||||
<string name="action_disconnect">Scollega</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Condividi</string>
|
||||
|
@ -221,6 +221,11 @@
|
||||
<string name="settings_show_notifications_subtitle">Take a quick view of the last notifications showed up on your device.</string>
|
||||
<string name="settings_show_greetings_title">Greetings</string>
|
||||
<string name="settings_show_greetings_subtitle">View some cool phrase when you don\'t expect it.</string>
|
||||
<string name="google_fit_account_connected">Account connected</string>
|
||||
<string name="google_fit_account_not_connected">Account not connected</string>
|
||||
<string name="google_fit">Google Fit</string>
|
||||
<string name="action_connect">Connect</string>
|
||||
<string name="action_disconnect">Disconnect</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Share</string>
|
||||
|