Skip to content
This repository was archived by the owner on Dec 18, 2022. It is now read-only.

Commit cf3a957

Browse files
committed
move the dashboard's text view for displaying messages as to be less annoying with causing screen resizes
1 parent 25c525a commit cf3a957

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sampleapp/src/main/res/layout/fragment_dashboard.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,15 @@
203203
android:id="@+id/dash_text_view_message"
204204
android:layout_width="0dp"
205205
android:layout_height="wrap_content"
206+
android:layout_marginStart="8dp"
206207
android:layout_marginTop="8dp"
208+
android:layout_marginEnd="8dp"
207209
android:gravity="center_horizontal"
208210
android:padding="8dp"
209211
android:textColor="@color/primaryTextColor"
210212
android:visibility="gone"
211-
app:layout_constraintEnd_toEndOf="@+id/dash_text_view_port_socks"
212-
app:layout_constraintStart_toStartOf="@+id/dash_text_view_port_dns"
213-
app:layout_constraintTop_toBottomOf="@+id/dash_button_app_restart" />
213+
app:layout_constraintEnd_toEndOf="@+id/dash_text_view_tor_network_state"
214+
app:layout_constraintStart_toStartOf="@+id/dash_text_view_tor_state"
215+
app:layout_constraintTop_toTopOf="@+id/dash_text_view_tor_state" />
214216

215217
</androidx.constraintlayout.widget.ConstraintLayout>

0 commit comments

Comments
 (0)