Browse Source

Simplification

main
M66B 6 years ago
parent
commit
15f4af4708
1 changed files with 12 additions and 19 deletions
  1. +12
    -19
      app/src/main/res/layout/fragment_message.xml

+ 12
- 19
app/src/main/res/layout/fragment_message.xml View File

@ -257,28 +257,21 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/vSeparatorBody" />
<ScrollView
android:id="@+id/scroll"
<TextView
android:id="@+id/tvBody"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginEnd="6dp"
android:layout_marginStart="6dp"
android:layout_marginTop="3dp"
android:fillViewport="true"
android:orientation="vertical"
android:fontFamily="monospace"
android:scrollbars="vertical"
android:text="Body"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textIsSelectable="true"
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnImages">
<TextView
android:id="@+id/tvBody"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fontFamily="monospace"
android:text="Body"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textIsSelectable="true" />
</ScrollView>
app:layout_constraintTop_toBottomOf="@id/btnImages" />
<ProgressBar
android:id="@+id/pbBody"
@ -287,10 +280,10 @@
android:layout_height="24dp"
android:layout_marginStart="12dp"
android:indeterminate="true"
app:layout_constraintBottom_toBottomOf="@id/scroll"
app:layout_constraintBottom_toBottomOf="@id/tvBody"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/scroll" />
app:layout_constraintTop_toTopOf="@id/tvBody" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
@ -301,7 +294,7 @@
android:src="@drawable/baseline_fullscreen_24"
android:tint="@color/colorActionForeground"
app:backgroundTint="?attr/colorAccent"
app:layout_constraintBottom_toBottomOf="@+id/scroll"
app:layout_constraintBottom_toBottomOf="@+id/tvBody"
app:layout_constraintEnd_toEndOf="parent" />
<com.google.android.material.bottomnavigation.BottomNavigationView
@ -357,5 +350,5 @@
android:id="@+id/grpMessage"
android:layout_width="0dp"
android:layout_height="0dp"
app:constraint_referenced_ids="scroll" />
app:constraint_referenced_ids="tvBody" />
</androidx.constraintlayout.widget.ConstraintLayout>

Loading…
Cancel
Save