New design

This commit is contained in:
BGbaderguet 2020-11-08 18:16:45 +01:00
parent 115fe155b6
commit 777a5bf959

View File

@ -13,18 +13,19 @@
android:theme="@style/Theme.MyWeather.AppBarOverlay"> android:theme="@style/Theme.MyWeather.AppBarOverlay">
<androidx.appcompat.widget.Toolbar <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbarAddCity"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="75dp" android:layout_height="60dp"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:title="Add a city" app:title="Add a city"
android:minHeight="60dp"
app:popupTheme="@style/Theme.MyWeather.PopupOverlay" /> app:popupTheme="@style/Theme.MyWeather.PopupOverlay" />
</com.google.android.material.appbar.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>
<Space <Space
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="130dp" /> android:layout_height="120dp" />
<TextView <TextView
android:id="@+id/textView" android:id="@+id/textView"
@ -40,7 +41,7 @@
<Space <Space
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="120dp" /> android:layout_height="100dp" />
<EditText <EditText
android:id="@+id/editText" android:id="@+id/editText"
@ -53,7 +54,7 @@
<Space <Space
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="100dp" /> android:layout_height="90dp" />
<Button <Button
android:id="@+id/btnSave" android:id="@+id/btnSave"