Adding the list of city (retrieved from the database)
This commit is contained in:
parent
b535207dae
commit
39779040ad
@ -7,6 +7,7 @@
|
|||||||
tools:context=".MainActivity">
|
tools:context=".MainActivity">
|
||||||
|
|
||||||
<com.google.android.material.appbar.AppBarLayout
|
<com.google.android.material.appbar.AppBarLayout
|
||||||
|
android:id="@+id/appBarLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:theme="@style/Theme.MyWeather.AppBarOverlay"
|
android:theme="@style/Theme.MyWeather.AppBarOverlay"
|
||||||
@ -24,7 +25,7 @@
|
|||||||
app:srcCompat="@drawable/ic_baseline_umbrella_24" />
|
app:srcCompat="@drawable/ic_baseline_umbrella_24" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView"
|
android:id="@+id/textViewAddCity"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="51dp"
|
android:layout_height="51dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
@ -46,4 +47,11 @@
|
|||||||
app:rippleColor="#FFFFFF"
|
app:rippleColor="#FFFFFF"
|
||||||
app:srcCompat="@android:drawable/ic_input_add"/>
|
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>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
Loading…
Reference in New Issue
Block a user