- weathered

This commit is contained in:
2021-04-20 20:09:32 +01:00
parent 9d053bfb60
commit b41ba10abb
212 changed files with 2453 additions and 1413 deletions

View File

@@ -15,10 +15,11 @@
android:orientation="horizontal">
<ImageView
android:id="@+id/list_icon"
android:id="@+id/db_icon"
android:layout_width="64dp"
android:layout_height="64dp"
tools:src="@drawable/day_305" />
tools:src="@drawable/cloud_symbol"
tools:tint="@color/colour_one" />
<LinearLayout
android:layout_width="0dp"
@@ -29,7 +30,7 @@
android:orientation="vertical">
<TextView
android:id="@+id/list_day"
android:id="@+id/db_condition"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Wednesday" />
@@ -53,15 +54,16 @@
android:orientation="horizontal">
<TextView
android:id="@+id/list_main_temp"
android:id="@+id/db_main_temp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:includeFontPadding="false"
android:textSize="28sp"
tools:text="28" />
<TextView
android:id="@+id/db_temp_unit"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="°" />

View File

@@ -4,6 +4,8 @@
android:id="@+id/widget_item_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="3dp"
android:layout_marginRight="3dp"
android:orientation="vertical">
<TextView
@@ -18,33 +20,31 @@
<ImageView
android:id="@+id/widget_item_image"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center"
tools:src="@drawable/demo_icon" />
tools:src="@drawable/cloud_symbol"
tools:tint="@color/colour_one" />
<TextView
android:id="@+id/widget_item_temp_high"
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:includeFontPadding="false"
android:gravity="center"
android:textColor="#ffffff"
android:textSize="12sp"
android:textStyle="bold"
tools:text="20" />
<TextView
android:id="@+id/widget_item_temp_low"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:includeFontPadding="false"
android:gravity="center"
android:textColor="#ffffff"
android:textSize="12sp"
tools:text="11" />
android:orientation="horizontal">
<TextView
android:id="@+id/widget_item_temp_high"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:textSize="12sp"
android:textStyle="bold"
tools:text="20" />
<TextView
android:id="@+id/db_temp_unit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="°" />
</LinearLayout>
</LinearLayout>

View File

@@ -39,7 +39,6 @@
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:textSize="60sp"
android:textStyle="bold"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/loc_container"
@@ -49,7 +48,7 @@
android:id="@+id/temp_unit_4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginTop="9dp"
android:text="@string/degrees_c"
android:textSize="24sp"
android:textStyle="bold"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -8,7 +8,7 @@
<fragment
android:id="@+id/nav_home"
android:name=".ui.home.HomeFragment"
android:name="com.appttude.h_mal.atlas_weather.monoWeather.ui.home.HomeFragment"
android:label="Home"
tools:layout="@layout/fragment_home">
<action
@@ -22,7 +22,7 @@
<fragment
android:id="@+id/furtherDetailsFragment"
android:name=".ui.details.FurtherInfoFragment"
android:name="com.appttude.h_mal.atlas_weather.monoWeather.ui.details.FurtherInfoFragment"
android:label="Further Details">
<argument
android:name="forecast"
@@ -31,7 +31,7 @@
<fragment
android:id="@+id/nav_world"
android:name=".ui.world.WorldFragment"
android:name="com.appttude.h_mal.atlas_weather.monoWeather.ui.world.WorldFragment"
android:label="World"
tools:layout="@layout/fragment__two">
<action
@@ -51,12 +51,12 @@
</fragment>
<fragment
android:id="@+id/addLocationFragment"
android:name=".ui.world.AddLocationFragment"
android:name="com.appttude.h_mal.atlas_weather.monoWeather.ui.world.AddLocationFragment"
android:label="Add Weather Location"
tools:layout="@layout/activity_add_forecast" />
<fragment
android:id="@+id/worldItemFragment"
android:name=".ui.WorldItemFragment"
android:name="com.appttude.h_mal.atlas_weather.monoWeather.ui.WorldItemFragment"
android:label="Overview"
tools:layout="@layout/fragment_home">
<action
@@ -67,8 +67,9 @@
app:popEnterAnim="@anim/fragment_open_enter"
app:popExitAnim="@anim/fragment_open_exit" />
<argument
android:name="weatherDisplay"
app:argType="com.appttude.h_mal.atlas_weather.model.forecast.WeatherDisplay" />
android:name="locationName"
app:argType="string"
app:nullable="true" />
</fragment>
</navigation>

View File

@@ -7,7 +7,6 @@
<item name="colorPrimaryDark">@color/colour_four</item>
<item name="colorAccent">@android:color/white</item>
<item name="android:windowBackground">@android:color/black</item>
<item name="fontFamily">sans-serif-light</item>
<item name="android:textColor">@color/colorAccent</item>
<item name="android:statusBarColor">@color/colorPrimaryDark</item>
<item name="android:colorControlActivated">@color/colorAccent</item>
@@ -17,6 +16,7 @@
<item name="materialAlertDialogTheme">@style/YourAlertDialogTheme</item>
<item name="bottomNavigationStyle">@style/Widget.MaterialComponents.BottomNavigationView.Colored</item>
<item name="floatingActionButtonStyle">@style/Widget.App.FloatingActionButton</item>
<!-- <item name="fontFamily">@font/font_family</item>-->
</style>
<style name="YourAlertDialogTheme" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
@@ -54,12 +54,12 @@
<style name="TextAppearance.AppCompat.Widget.ActionBar.Title" parent="@android:style/TextAppearance">
<item name="android:fontFamily">@font/archeologicaps</item>
<!-- <item name="android:fontFamily">@font/archeologicaps</item>-->
<!--<item name="android:textColor">@color/colour_five</item>-->
</style>
<style name="titlebar" parent="@android:style/TextAppearance">
<item name="android:fontFamily">@font/archeologicaps</item>
<!-- <item name="android:fontFamily">@font/archeologicaps</item>-->
<!--<item name="android:textColor">@color/colour_five</item>-->
</style>
@@ -82,8 +82,8 @@
</style>
<style name="icon_style__further_deatils">
<item name="android:layout_width">64dp</item>
<item name="android:layout_height">64dp</item>
<item name="android:layout_width">48dp</item>
<item name="android:layout_height">48dp</item>
<item name="android:adjustViewBounds">true</item>
<item name="android:layout_gravity">center</item>
<item name="android:tint">@color/colorAccent</item>