1. layout small fixes

This commit is contained in:
vadym 2020-06-22 00:24:35 -07:00
parent 8faf0c67ab
commit f9335316a7
2 changed files with 5 additions and 9 deletions

View File

@ -51,18 +51,18 @@
android:layout_margin="20dp"
android:background="@drawable/info_panel_rounded_corner"
android:gravity="left"
android:paddingLeft="20dp"
android:orientation="vertical"
app:layout_constraintTop_toBottomOf="@id/ipLayout">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="20dp"
app:layout_constraintTop_toTopOf="parent"
android:orientation="horizontal">
<TextView
android:id="@+id/ipPeers"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:background="@android:color/transparent"
android:elevation="8dp"
@ -70,7 +70,6 @@
android:text="Peers:"
android:textColor="@color/dark_30"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/edit"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button

View File

@ -7,21 +7,18 @@
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginStart="20dp"
android:paddingTop="3dp"
android:paddingBottom="3dp">
android:padding="2dp">
<ImageView
android:id="@+id/countryFlag"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"/>
android:scaleType="fitStart"/>
</FrameLayout>
<TextView
android:id="@+id/peerInfoText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginStart="10dp"
android:paddingEnd="20dp"
android:minHeight="22dp"
android:textSize="13sp"