Design of the second page use to save a City

This commit is contained in:
BGbaderguet 2020-11-07 19:56:30 +01:00
parent 991682f0ce
commit b92ca8fe6e
2 changed files with 13 additions and 0 deletions

View File

@ -9,6 +9,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyWeather">
<activity android:name=".AddCity"></activity>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -22,6 +22,10 @@
</com.google.android.material.appbar.AppBarLayout>
<Space
android:layout_width="match_parent"
android:layout_height="130dp" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
@ -34,6 +38,10 @@
tools:layout_editor_absoluteX="89dp"
tools:layout_editor_absoluteY="566dp" />
<Space
android:layout_width="match_parent"
android:layout_height="120dp" />
<EditText
android:id="@+id/editText"
android:layout_width="match_parent"
@ -43,6 +51,10 @@
android:hint="City name"
android:inputType="textCapWords" />
<Space
android:layout_width="match_parent"
android:layout_height="100dp" />
<Button
android:id="@+id/btnSave"
android:layout_width="match_parent"