Skip to content

Commit a76249f

Browse files
authored
Merge pull request #1 from Earendel-lab/main
Update app icons, UI layout, and theme colors
2 parents c3c2de0 + 8ddc68c commit a76249f

21 files changed

Lines changed: 8 additions & 37 deletions
131 KB
Loading

app/src/main/res/layout/fragment_compass.xml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
android:layout_width="match_parent"
4545
android:layout_height="wrap_content"
4646
android:visibility="@{model.trueNorth ? View.VISIBLE : View.INVISIBLE}"
47-
app:layout_constraintBottom_toTopOf="@id/declination_text"
47+
app:layout_constraintBottom_toBottomOf="parent"
4848
app:layout_constraintTop_toBottomOf="@id/compass">
4949

5050
<androidx.constraintlayout.widget.ConstraintLayout
@@ -134,18 +134,7 @@
134134

135135
</androidx.constraintlayout.widget.ConstraintLayout>
136136

137-
<com.google.android.material.textview.MaterialTextView
138-
android:id="@+id/declination_text"
139-
android:layout_width="wrap_content"
140-
android:layout_height="wrap_content"
141-
android:drawableTint="?android:attr/textColorHint"
142-
android:text="@{model.trueNorth == true &amp;&amp; model.locationStatus == LocationStatus.PRESENT ? @string/true_north : @string/magnetic_north}"
143-
android:textAppearance="@android:style/TextAppearance.Material.Small"
144-
android:textColor="?android:attr/textColorHint"
145-
app:drawableStartCompat="@drawable/ic_compass"
146-
app:layout_constraintBottom_toBottomOf="parent"
147-
app:layout_constraintEnd_toEndOf="parent"
148-
app:layout_constraintStart_toStartOf="parent" />
137+
149138

150139
</androidx.constraintlayout.widget.ConstraintLayout>
151140

1.21 KB
Loading
4.7 KB
Loading
1.19 KB
Loading
298 Bytes
Loading
1.77 KB
Loading
310 Bytes
Loading
2.09 KB
Loading
8.04 KB
Loading

0 commit comments

Comments
 (0)