mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Adding error view in preview and sharing fragments
This commit is contained in:
parent
8f91278d1a
commit
b83acf373d
@ -6,9 +6,23 @@
|
|||||||
|
|
||||||
<im.vector.app.features.location.MapTilerMapView
|
<im.vector.app.features.location.MapTilerMapView
|
||||||
android:id="@+id/mapView"
|
android:id="@+id/mapView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="0dp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:mapbox_renderTextureMode="true"
|
app:mapbox_renderTextureMode="true"
|
||||||
app:showLocateButton="false" />
|
app:showLocateButton="false" />
|
||||||
|
|
||||||
|
<im.vector.app.features.location.MapLoadingErrorView
|
||||||
|
android:id="@+id/mapPreviewLoadingError"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
@ -35,6 +35,16 @@
|
|||||||
app:layout_constraintStart_toStartOf="@id/mapView"
|
app:layout_constraintStart_toStartOf="@id/mapView"
|
||||||
app:layout_constraintTop_toTopOf="@id/mapView" />
|
app:layout_constraintTop_toTopOf="@id/mapView" />
|
||||||
|
|
||||||
|
<im.vector.app.features.location.MapLoadingErrorView
|
||||||
|
android:id="@+id/shareLocationMapLoadingError"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:layout_constraintBottom_toTopOf="@id/shareLocationOptionsPicker"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<im.vector.app.features.location.option.LocationSharingOptionPickerView
|
<im.vector.app.features.location.option.LocationSharingOptionPickerView
|
||||||
android:id="@+id/shareLocationOptionsPicker"
|
android:id="@+id/shareLocationOptionsPicker"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
Loading…
Reference in New Issue
Block a user