Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lukas Bersinger
TaskTracker
Commits
5f473a21
Commit
5f473a21
authored
Oct 25, 2020
by
Lukas Bersinger
Browse files
fix weird layout glitching
parent
daaa1083
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout/activity_main.xml
View file @
5f473a21
...
...
@@ -9,7 +9,7 @@
<androidx.appcompat.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"
0
dp"
android:layout_height=
"
56
dp"
android:background=
"@color/colorPrimary"
android:elevation=
"4dp"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
@@ -24,15 +24,14 @@
<TextView
android:id=
"@+id/txtToolbarTitle"
android:layout_width=
"0dp"
android:layout_height=
"
0dp
"
android:layout_height=
"
match_parent
"
android:layout_gravity=
"clip_vertical|start|center_vertical"
android:layout_marginTop=
"4dp"
android:layout_marginBottom=
"4dp"
android:layout_marginEnd=
"8dp"
android:fontFamily=
"sans-serif-medium"
android:gravity=
"clip_vertical|center_vertical"
android:text=
"@string/app_name"
android:textAppearance=
"@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title"
android:textColor=
"@android:color/primary_text_dark"
android:text=
"@string/app_name"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/btnShowAll"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -41,7 +40,7 @@
<ImageButton
android:id=
"@+id/btnShowAll"
android:layout_width=
"wrap_content"
android:layout_height=
"
0dp
"
android:layout_height=
"
match_parent
"
android:layout_gravity=
"end"
android:layout_marginEnd=
"8dp"
android:backgroundTint=
"@color/colorPrimary"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment