Text Shadow, Clock, Product Sans Font, Multiple Events and more
BIN
app/src/main/res/drawable-hdpi/ic_action_close.png
Normal file
After Width: | Height: | Size: 363 B |
BIN
app/src/main/res/drawable-hdpi/ic_action_dev.png
Normal file
After Width: | Height: | Size: 888 B |
BIN
app/src/main/res/drawable-hdpi/ic_action_next.png
Normal file
After Width: | Height: | Size: 307 B |
BIN
app/src/main/res/drawable-hdpi/ic_action_translate.png
Normal file
After Width: | Height: | Size: 811 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_close.png
Normal file
After Width: | Height: | Size: 230 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_dev.png
Normal file
After Width: | Height: | Size: 560 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_next.png
Normal file
After Width: | Height: | Size: 277 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_translate.png
Normal file
After Width: | Height: | Size: 517 B |
BIN
app/src/main/res/drawable-xhdpi/ic_action_close.png
Normal file
After Width: | Height: | Size: 380 B |
BIN
app/src/main/res/drawable-xhdpi/ic_action_dev.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_action_next.png
Normal file
After Width: | Height: | Size: 563 B |
BIN
app/src/main/res/drawable-xhdpi/ic_action_translate.png
Normal file
After Width: | Height: | Size: 904 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_close.png
Normal file
After Width: | Height: | Size: 611 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_dev.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_next.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_translate.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
11
app/src/main/res/drawable/white_card_background.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<corners
|
||||
android:radius="3dp" />
|
||||
<solid
|
||||
android:color="@android:color/white"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
@ -1,10 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/gradient_background"
|
||||
tools:context="com.tommasoberlose.anotherwidget.ui.activity.ChooseApplicationActivity">
|
||||
<LinearLayout
|
||||
@ -37,6 +36,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
app:cardCornerRadius="3dp"
|
||||
android:layout_below="@+id/toolbar"
|
||||
android:layout_above="@+id/bottom_buttons"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
@ -66,9 +67,8 @@
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:contentDescription="@string/custom_location_gps"
|
||||
android:id="@+id/action_default"
|
||||
android:src="@drawable/ic_action_reset"
|
||||
android:id="@+id/action_back"
|
||||
android:src="@drawable/ic_action_close"
|
||||
android:tint="@android:color/black"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -81,4 +81,37 @@
|
||||
android:id="@+id/list_view" />
|
||||
</LinearLayout>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="3dp"
|
||||
android:id="@+id/bottom_buttons"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@android:color/white"
|
||||
app:cardBackgroundColor="@android:color/white">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:text="@string/action_default"
|
||||
android:id="@+id/action_default"
|
||||
android:textColor="@android:color/black"
|
||||
style="@style/AnotherWidget.Main.Button"/>
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:text="@string/action_none"
|
||||
android:id="@+id/action_none"
|
||||
android:textColor="@android:color/black"
|
||||
style="@style/AnotherWidget.Main.Button"/>
|
||||
</LinearLayout>
|
||||
</android.support.v7.widget.CardView>
|
||||
</RelativeLayout>
|
||||
|
@ -153,6 +153,30 @@
|
||||
android:id="@+id/font_color_label"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:paddingLeft="32dp"
|
||||
android:paddingRight="32dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_custom_font"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:text="@string/settings_custom_font_title"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/custom_font_label"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -469,6 +493,30 @@
|
||||
android:id="@+id/show_until_label"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:paddingLeft="32dp"
|
||||
android:paddingRight="32dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_show_multiple_events"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:text="@string/settings_show_multiple_events_title"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/show_multiple_events_label"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
368
app/src/main/res/layout/activity_support_dev.xml
Normal file
@ -0,0 +1,368 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/gradient_background"
|
||||
android:orientation="vertical"
|
||||
tools:context="com.tommasoberlose.anotherwidget.ui.activity.SupportDevActivity">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_margin="32dp"
|
||||
android:id="@+id/toolbar"
|
||||
android:gravity="center_vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/main_pre_title"
|
||||
android:alpha="0.6"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:gravity="center_vertical"
|
||||
style="@style/AnotherWidget.Main.Subtitle"
|
||||
android:textAllCaps="true"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/support_custom_app_name"
|
||||
android:gravity="center_vertical"
|
||||
style="@style/AnotherWidget.Main.Title"
|
||||
android:textAllCaps="true"/>
|
||||
</LinearLayout>
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="3dp"
|
||||
android:id="@+id/products_card"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:background="@android:color/white"
|
||||
app:cardBackgroundColor="@android:color/white">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/ic_action_gift"
|
||||
android:tint="@color/dark_grey"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/support_main_title"
|
||||
android:textColor="@android:color/black"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:padding="8dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:textAppearance="?android:textAppearanceListItem"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<ProgressBar
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:id="@+id/loader"
|
||||
android:layout_margin="16dp"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/products_list"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_donation_coffee"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.8"
|
||||
android:text="@string/donation_coffee"
|
||||
android:paddingRight="8dp"
|
||||
android:paddingLeft="40dp"
|
||||
android:textColor="@color/dark_grey"
|
||||
android:textAppearance="?android:textAppearanceButton"/>
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:cardBackgroundColor="@color/black_10"
|
||||
app:cardPreventCornerOverlap="true">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
android:textColor="@color/black_50"
|
||||
android:id="@+id/import_donation_coffee"
|
||||
android:textSize="12sp"/>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_donation_donuts"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.8"
|
||||
android:text="@string/donation_donuts"
|
||||
android:paddingRight="8dp"
|
||||
android:paddingLeft="40dp"
|
||||
android:textColor="@color/dark_grey"
|
||||
android:textAppearance="?android:textAppearanceButton"/>
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:cardBackgroundColor="@color/black_10"
|
||||
app:cardPreventCornerOverlap="true">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
android:textColor="@color/black_50"
|
||||
android:id="@+id/import_donation_donuts"
|
||||
android:textSize="12sp"/>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_donation_breakfast"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.8"
|
||||
android:text="@string/donation_breakfast"
|
||||
android:paddingRight="8dp"
|
||||
android:paddingLeft="40dp"
|
||||
android:textColor="@color/dark_grey"
|
||||
android:textAppearance="?android:textAppearanceButton"/>
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:cardBackgroundColor="@color/black_10"
|
||||
app:cardPreventCornerOverlap="true">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
android:textColor="@color/black_50"
|
||||
android:id="@+id/import_donation_breakfast"
|
||||
android:textSize="12sp"/>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_donation_lunch"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.8"
|
||||
android:text="@string/donation_lunch"
|
||||
android:paddingRight="8dp"
|
||||
android:paddingLeft="40dp"
|
||||
android:textColor="@color/dark_grey"
|
||||
android:textAppearance="?android:textAppearanceButton"/>
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:cardBackgroundColor="@color/black_10"
|
||||
app:cardPreventCornerOverlap="true">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
android:textColor="@color/black_50"
|
||||
android:id="@+id/import_donation_lunch"
|
||||
android:textSize="12sp"/>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_donation_dinner"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.8"
|
||||
android:text="@string/donation_dinner"
|
||||
android:paddingRight="8dp"
|
||||
android:paddingLeft="40dp"
|
||||
android:textColor="@color/dark_grey"
|
||||
android:textAppearance="?android:textAppearanceButton"/>
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:cardBackgroundColor="@color/black_10"
|
||||
app:cardPreventCornerOverlap="true">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
android:textColor="@color/black_50"
|
||||
android:id="@+id/import_donation_dinner"
|
||||
android:textSize="12sp"/>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</android.support.v7.widget.CardView>
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="3dp"
|
||||
android:id="@+id/action_translate"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:background="@android:color/white"
|
||||
app:cardBackgroundColor="@android:color/white">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="8dp"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/ic_action_translate"
|
||||
android:tint="@color/dark_grey"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="8dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/support_translations_title"
|
||||
android:textColor="@color/dark_grey"
|
||||
style="@style/AnotherWidget.Settings.Title"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/support_translations_subtitle"
|
||||
android:textColor="@android:color/black"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</android.support.v7.widget.CardView>
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="3dp"
|
||||
android:id="@+id/action_website"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:background="@android:color/white"
|
||||
app:cardBackgroundColor="@android:color/white">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="8dp"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/ic_action_dev"
|
||||
android:tint="@color/dark_grey"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="8dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/support_website_title"
|
||||
android:textColor="@color/dark_grey"
|
||||
style="@style/AnotherWidget.Settings.Title"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/support_website_subtitle"
|
||||
android:textColor="@android:color/black"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
@ -123,7 +123,6 @@
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:padding="16dp"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/action_support"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
|
@ -7,9 +7,9 @@
|
||||
android:id="@+id/time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-16dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="-16dp"
|
||||
android:lineSpacingMultiplier="1"
|
||||
android:lineSpacingExtra="0dp"
|
||||
android:visibility="gone"
|
||||
@ -21,16 +21,14 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="-8dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_below="@+id/time"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/empty_layout">
|
||||
<TextView
|
||||
android:id="@+id/empty_date"
|
||||
android:layout_width="0dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:lines="1"
|
||||
android:maxLines="1"
|
||||
android:gravity="right"
|
||||
@ -72,7 +70,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="-8dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@+id/time"
|
||||
android:id="@+id/calendar_layout"
|
||||
@ -84,19 +81,24 @@
|
||||
<TextView
|
||||
android:id="@+id/next_event"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="2"
|
||||
android:layout_weight="1"
|
||||
android:maxLines="1"
|
||||
android:lines="1"
|
||||
android:gravity="end"
|
||||
android:gravity="right"
|
||||
android:ellipsize="end"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AnotherWidget.Title" />
|
||||
<TextView
|
||||
android:id="@+id/next_event_difference_time"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
style="@style/AnotherWidget.Title" />
|
||||
android:gravity="center">
|
||||
<TextView
|
||||
android:id="@+id/next_event_difference_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
style="@style/AnotherWidget.Title" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
@ -125,6 +127,12 @@
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AnotherWidget.Subtitle" />
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:id="@+id/multiple_events"
|
||||
android:src="@drawable/ic_action_next"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
@ -136,7 +144,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:id="@+id/divider2"
|
||||
android:text="@string/divider"
|
||||
style="@style/AnotherWidget.Subtitle"/>
|
||||
|
@ -6,15 +6,16 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:id="@+id/bitmap_container"/>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:alpha="0">
|
||||
<include layout="@layout/the_widget"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:id="@+id/intent_container" />
|
||||
android:alpha="0"
|
||||
android:layout_centerInParent="true">
|
||||
<include layout="@layout/the_widget"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:id="@+id/intent_container" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
@ -120,7 +120,6 @@
|
||||
<string name="beta">Beta</string>
|
||||
<string name="settings_product_sans_font_title">Font Product Sans</string>
|
||||
<string name="settings_product_sans_font_subtitle">L\'utilizzo del Product Sans disabilita i tap sugli elementi del widget. Ci sto attualmente lavorando.</string>
|
||||
<string name="settings_show_until_subtitle_6">1 Ora dopo</string>
|
||||
<string name="settings_show_diff_time_title">Tempo rimanente all\'evento</string>
|
||||
<string name="settings_show_declined_events_title">Event Rifiutati</string>
|
||||
<string name="settings_visible">Visibile</string>
|
||||
@ -129,4 +128,25 @@
|
||||
<string name="default_calendar_app">App Calendario di Default</string>
|
||||
<string name="default_weather_app">Meteo Google</string>
|
||||
<string name="default_clock_app">App Orologio di Default</string>
|
||||
<string name="settings_show_until_subtitle_7">1 Ora dopo</string>
|
||||
<string name="settings_show_until_subtitle_6">30 Minuti dopo</string>
|
||||
<string name="action_default">Predefinita</string>
|
||||
<string name="action_none">Disabilita</string>
|
||||
<string name="custom_font_subtitle_0">Font Dispositivo</string>
|
||||
<string name="custom_font_subtitle_1">Product Sans</string>
|
||||
<string name="settings_custom_font_title">Font Widget</string>
|
||||
<string name="action_go_to_next_event">Mostra Evento\nSuccessivo</string>
|
||||
<string name="settings_show_multiple_events_title">Contatore Eventi Multipli</string>
|
||||
<string name="support_main_title">Supporta lo Sviluppatore con</string>
|
||||
<string name="support_translations_title">Aiuta con le Traduzioni</string>
|
||||
<string name="support_translations_subtitle">Apri una pull request su GitHub</string>
|
||||
<string name="support_website_title">Scopri i miei progetti</string>
|
||||
<string name="support_website_subtitle">Stesso sviluppatore, più possibilità</string>
|
||||
<string name="error">Ops, sembra che qualcosa non abbia funzionato!</string>
|
||||
<string name="thanks">Grazie per il supporto!</string>
|
||||
<string name="donation_coffee">Un Caffè Italiano</string>
|
||||
<string name="donation_donuts">Qualche Ciambella</string>
|
||||
<string name="donation_dinner">Una Cena Costosa</string>
|
||||
<string name="donation_breakfast">Una Colazione Inglese</string>
|
||||
<string name="donation_lunch">Una Pranzo Veloce</string>
|
||||
</resources>
|
@ -11,4 +11,5 @@
|
||||
<color name="white_80">#CCFFFFFF</color>
|
||||
<color name="white_50">#80FFFFFF</color>
|
||||
<color name="midnight_blue">#204A85</color>
|
||||
<color name="dark_grey">#222222</color>
|
||||
</resources>
|
||||
|
@ -124,7 +124,6 @@
|
||||
<string name="beta">Beta</string>
|
||||
<string name="settings_product_sans_font_title">Product Sans Font</string>
|
||||
<string name="settings_product_sans_font_subtitle">Using Product Sans disabled the possibilty to tap widget elements. I\'m working on it.</string>
|
||||
<string name="settings_show_until_subtitle_6">1 hour later</string>
|
||||
<string name="settings_show_diff_time_title">Time left for the event</string>
|
||||
<string name="settings_visible">Visible</string>
|
||||
<string name="settings_not_visible">Not Visible</string>
|
||||
@ -133,4 +132,26 @@
|
||||
<string name="default_event_app">Google Calendar Event Details</string>
|
||||
<string name="default_calendar_app">Default Calendar App</string>
|
||||
<string name="default_clock_app">Default Clock App</string>
|
||||
<string name="settings_show_until_subtitle_7">1 hour later</string>
|
||||
<string name="settings_show_until_subtitle_6">30 Minutes later</string>
|
||||
<string name="action_default">Default</string>
|
||||
<string name="action_none">Disabled</string>
|
||||
<string name="settings_custom_font_title">Widget Font</string>
|
||||
<string name="custom_font_subtitle_0">Device Font</string>
|
||||
<string name="custom_font_subtitle_1">Product Sans</string>
|
||||
<string name="action_go_to_next_event">Show Next\nEvent</string>
|
||||
<string name="settings_show_multiple_events_title">Multiple Events Counter</string>
|
||||
<string name="support_custom_app_name" translatable="false">Another Developer</string>
|
||||
<string name="support_main_title">Support the Developer with</string>
|
||||
<string name="support_translations_title">Help with translations</string>
|
||||
<string name="support_translations_subtitle">Open a pull request on GitHub</string>
|
||||
<string name="support_website_title">Find out my projects</string>
|
||||
<string name="support_website_subtitle">Same developer, more possibilities</string>
|
||||
<string name="error">Ops, something went wrong!</string>
|
||||
<string name="thanks">Thanks for support me!</string>
|
||||
<string name="donation_coffee">An Italian Coffee</string>
|
||||
<string name="donation_donuts">Some Glazed Donuts</string>
|
||||
<string name="donation_dinner">An Expensive Dinner</string>
|
||||
<string name="donation_breakfast">An English Breakfast</string>
|
||||
<string name="donation_lunch">A Quick Lunch</string>
|
||||
</resources>
|
||||
|
@ -2,11 +2,11 @@
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:initialKeyguardLayout="@layout/the_widget"
|
||||
android:initialLayout="@layout/the_widget"
|
||||
android:minHeight="150dp"
|
||||
android:minWidth="400dp"
|
||||
android:minHeight="80dp"
|
||||
android:minWidth="380dp"
|
||||
android:configure="com.tommasoberlose.anotherwidget.ui.activity.MainActivity"
|
||||
android:minResizeHeight="150dp"
|
||||
android:minResizeWidth="400dp"
|
||||
android:minResizeHeight="60dp"
|
||||
android:minResizeWidth="380dp"
|
||||
android:previewImage="@drawable/widget_preview"
|
||||
android:resizeMode="vertical"
|
||||
android:updatePeriodMillis="60000"
|
||||
|
@ -2,10 +2,10 @@
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:initialKeyguardLayout="@layout/the_widget"
|
||||
android:initialLayout="@layout/the_widget"
|
||||
android:minHeight="150dp"
|
||||
android:minWidth="400dp"
|
||||
android:minResizeHeight="150dp"
|
||||
android:minResizeWidth="400dp"
|
||||
android:minHeight="80dp"
|
||||
android:minWidth="380dp"
|
||||
android:minResizeHeight="60dp"
|
||||
android:minResizeWidth="380dp"
|
||||
android:previewImage="@drawable/widget_preview"
|
||||
android:resizeMode="vertical"
|
||||
android:updatePeriodMillis="60000"
|
||||
|