Adding the list of city (retrieved from the database)

This commit is contained in:
BGbaderguet 2020-11-14 02:58:12 +01:00
parent b535207dae
commit 39779040ad

View File

@ -7,6 +7,7 @@
tools:context=".MainActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/Theme.MyWeather.AppBarOverlay"
@ -24,7 +25,7 @@
app:srcCompat="@drawable/ic_baseline_umbrella_24" />
<TextView
android:id="@+id/textView"
android:id="@+id/textViewAddCity"
android:layout_width="match_parent"
android:layout_height="51dp"
android:gravity="center"
@ -46,4 +47,11 @@
app:rippleColor="#FFFFFF"
app:srcCompat="@android:drawable/ic_input_add"/>
<ListView
android:id="@+id/listeCity"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
tools:layout_editor_absoluteX="6dp" />
</androidx.constraintlayout.widget.ConstraintLayout>