Release version 1.1
This commit is contained in:
BIN
app/src/main/res/drawable-hdpi/ic_action_info.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_action_info.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 874 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_info.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_action_info.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 548 B |
BIN
app/src/main/res/drawable-xhdpi/ic_action_info.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_action_info.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_info.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_action_info.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
@ -50,6 +50,9 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:orientation="horizontal"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:gravity="center_vertical">
|
||||
<EditText
|
||||
android:layout_width="0dp"
|
||||
@ -60,6 +63,8 @@
|
||||
android:inputType="textCapWords"
|
||||
android:id="@+id/api_key"
|
||||
android:textStyle="bold"
|
||||
android:nextFocusUp="@id/api_key"
|
||||
android:nextFocusLeft="@id/api_key"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/api_key_hint"/>
|
||||
<ImageView
|
||||
@ -70,16 +75,117 @@
|
||||
android:src="@drawable/ic_action_paste"
|
||||
android:tint="@android:color/primary_text_light"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:text="@string/action_save"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
android:background="@color/colorAccent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:id="@+id/action_save"
|
||||
style="@style/AnotherWidget.Main.Button"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/button_container">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:text="@string/action_save"
|
||||
android:gravity="center"
|
||||
android:background="@color/colorAccent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:id="@+id/action_save"
|
||||
style="@style/AnotherWidget.Main.Button"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</android.support.v7.widget.CardView>
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginBottom="16dp">
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center_vertical">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:text="@string/api_key_info_title"
|
||||
android:gravity="start"
|
||||
style="@style/AnotherWidget.Main.Title"
|
||||
android:textSize="20sp"
|
||||
android:textColor="@android:color/primary_text_light"/>
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:id="@+id/action_open_info_text"
|
||||
android:tint="@android:color/primary_text_light"
|
||||
android:src="@drawable/ic_action_info"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorAccent"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:layout_marginTop="12dp"
|
||||
android:textAllCaps="true"
|
||||
android:text="@string/api_key_title_1"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
style="@style/AnotherWidget.Main.Subtitle"
|
||||
android:textSize="16sp"
|
||||
android:gravity="start"
|
||||
android:text="@string/api_key_subtitle_1"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorPrimary"
|
||||
style="@style/AnotherWidget.Main.Button"
|
||||
android:layout_marginTop="12dp"
|
||||
android:id="@+id/action_open_provider"
|
||||
android:text="@string/action_open_provider"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorAccent"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:layout_marginTop="12dp"
|
||||
android:textAllCaps="true"
|
||||
android:text="@string/api_key_title_2"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
style="@style/AnotherWidget.Main.Subtitle"
|
||||
android:textSize="16sp"
|
||||
android:gravity="start"
|
||||
android:text="@string/api_key_subtitle_2"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorAccent"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:layout_marginTop="12dp"
|
||||
android:textAllCaps="true"
|
||||
android:text="@string/api_key_title_3"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
style="@style/AnotherWidget.Main.Subtitle"
|
||||
android:textSize="16sp"
|
||||
android:gravity="start"
|
||||
android:text="@string/api_key_subtitle_3"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
|
47
app/src/main/res/layout/provider_info_layout.xml
Normal file
47
app/src/main/res/layout/provider_info_layout.xml
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/api_key_info_start"
|
||||
android:gravity="start"
|
||||
style="@style/AnotherWidget.Main.Title"
|
||||
android:textSize="20sp"
|
||||
android:textColor="@android:color/primary_text_light"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
style="@style/AnotherWidget.Main.Subtitle"
|
||||
android:textSize="18sp"
|
||||
android:gravity="start"
|
||||
android:id="@+id/text"/>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_gravity="end">
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:id="@+id/action_open_info_text"
|
||||
android:tint="@color/colorAccent"
|
||||
android:src="@drawable/ic_action_aw"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorAccent"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:textAllCaps="true"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:text="@string/signature"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
@ -62,7 +62,7 @@
|
||||
<string name="settings_show_until_title">Vedi eventi al massimo fino a</string>
|
||||
<string name="day_char">g</string>
|
||||
<string name="error_opening_uri">Errore apertura URL: Link copiato negli appunti.</string>
|
||||
<string name="loading_text">Caricamento...</string>
|
||||
<string name="loading_text">Caricamento…</string>
|
||||
<string name="error_opening_app">Errore apertura App.</string>
|
||||
<string name="settings_calendar_app_title">La data apre</string>
|
||||
<string name="settings_weather_app_title">Il meteo apre</string>
|
||||
@ -75,9 +75,21 @@
|
||||
<string name="notification_gps_subtitle">Riaccendi la localizzazione per avere il meteo aggiornato.</string>
|
||||
<string name="action_feedback">Feedback</string>
|
||||
<string name="feedback_title">AW Feedback</string>
|
||||
<string name="feedback_chooser_title">Invia email...</string>
|
||||
<string name="feedback_chooser_title">Invia email…</string>
|
||||
<string name="feedback_error">Errore invio mail.</string>
|
||||
<string name="api_key_hint">Chiave API OpenWeather</string>
|
||||
<string name="error_weather_api_key">Il provider non è configurato correttamente, vuoi comunque uscire?</string>
|
||||
<string name="action_save">Salva</string>
|
||||
<string name="error_no_calendar">Nessun calendario trovato.</string>
|
||||
<string name="api_key_info_title">Cosa fare</string>
|
||||
<string name="signature">Toms</string>
|
||||
<string name="api_key_title_1">Registrati su OpenWeather</string>
|
||||
<string name="action_open_provider">Apri OpenWeather.com</string>
|
||||
<string name="api_key_subtitle_1">Registra un account gratuito su OpenWeather.com in pochi minuti.</string>
|
||||
<string name="api_key_subtitle_2">Accedi alle chiavi API nelle impostazioni e copia la chiave di default.</string>
|
||||
<string name="api_key_subtitle_3">Aggiungi la chiave all\'applicazione in questa sezione e, una volta che la chiave sarà attivata, apparirà il meteo.</string>
|
||||
<string name="api_key_title_2">Copia la chiave API</string>
|
||||
<string name="api_key_title_3">Configura l\'App</string>
|
||||
<string name="api_key_info_start">Ciao a tutti.</string>
|
||||
<string name="api_key_info_text"><![CDATA[Another widget è e rimarrà gratuita e senza banner pubblicitari.<BR /><BR />Però a causa del successo dell\'applicazione, sicuramente oltre ogni mia aspettativa, il provider del meteo non riesce a supportare il numero di richieste che arrivano (a causa dell\'utilizzo di un account gratuito).<BR /><BR />Sono costretto a chiedervi di registrarvi su OpenWeather.com; l\'operazione richiederà solo alcuni minuti e dopo non avrete più problemi con la fruizione delle informazioni sul meteo!<BR /><BR />Mi dispiace per l\'inconveniente ma continuate a supportarmi!!]]></string>
|
||||
</resources>
|
@ -64,7 +64,7 @@
|
||||
<string name="day_char">d</string>
|
||||
<string name="toolbar_transition_name" translatable="false">toolbar</string>
|
||||
<string name="error_opening_uri">Error opening URL: Link copied to clipboard.</string>
|
||||
<string name="loading_text">Loading Data...</string>
|
||||
<string name="loading_text">Loading Data…</string>
|
||||
<string name="error_opening_app">Error opening App.</string>
|
||||
<string name="settings_calendar_app_title">Tap on date opens</string>
|
||||
<string name="settings_weather_app_title">Tap on weather opens</string>
|
||||
@ -77,9 +77,21 @@
|
||||
<string name="notification_gps_subtitle">Turn on the localization to get the updated weather.</string>
|
||||
<string name="action_feedback">Feedback</string>
|
||||
<string name="feedback_title">AW Feedback</string>
|
||||
<string name="feedback_chooser_title">Send email...</string>
|
||||
<string name="feedback_chooser_title">Send email…</string>
|
||||
<string name="feedback_error">Error sending email.</string>
|
||||
<string name="api_key_hint">OpenWeather API Key</string>
|
||||
<string name="error_weather_api_key">The provider is not configured correctly, do you still want to go back?</string>
|
||||
<string name="action_save">Save</string>
|
||||
<string name="error_no_calendar">No calendars found.</string>
|
||||
<string name="api_key_info_title">What to Do</string>
|
||||
<string name="signature">Toms</string>
|
||||
<string name="api_key_info_text"><![CDATA[Another Widget is a free application and will remain without banner ads.<BR /><BR />Due to its great success, surely beyond all my expectations, the weather provider fails to support all the requests that arrive (simply because it is free and therefore limited).<BR /><BR />I have to ask each of you to personally register an account on OpenWeather; the operation will take only a few minutes, and when your key has been activated, you will not have any problems with the weather.<BR /><BR />I\'m sorry for the inconvenience, keep supporting me!]]></string>
|
||||
<string name="api_key_title_1">Register an OpenWeather Account</string>
|
||||
<string name="api_key_subtitle_1">Register a free account on OpenWeather. It will take just a few minutes.</string>
|
||||
<string name="api_key_title_2">Copy your API Key</string>
|
||||
<string name="api_key_subtitle_2">Access the API keys menu from your account settings and copy the default key.</string>
|
||||
<string name="api_key_title_3">Add the key to the app</string>
|
||||
<string name="api_key_subtitle_3">Enter the key in this section and save it. Once the key is activated the weather will be visible.</string>
|
||||
<string name="api_key_info_start">Hi Everyone!</string>
|
||||
<string name="action_open_provider">Go to OpenWeather.com</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user