Change app style
Update the app style by modifying some colors & using Source Code Pro. Yes, this looks like Music Player GO but Ill probably make some more changes in the future.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -31,9 +31,11 @@
|
||||
android:id="@+id/albumNameText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@{album.title}"
|
||||
android:textAppearance="?attr/textAppearanceListItem"
|
||||
android:layout_marginStart="@dimen/margin_medium"
|
||||
android:fontFamily="@font/source_sans_pro"
|
||||
android:text="@{album.title}"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.05"
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:background="?android:attr/windowBackground"
|
||||
android:elevation="@dimen/elevation_normal"
|
||||
android:textColor="?attr/titleTextColor"
|
||||
app:titleTextAppearance="@style/ToolbarText"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:title="@string/title_library_fragment" />
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
android:id="@+id/loading_bar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminateTint="?attr/colorAccent"
|
||||
android:indeterminateTint="?android:attr/colorAccent"
|
||||
android:indeterminateTintMode="src_in"
|
||||
android:paddingBottom="@dimen/padding_small"
|
||||
app:layout_constraintBottom_toTopOf="@+id/error_text"
|
||||
@@ -32,6 +32,7 @@
|
||||
android:id="@+id/error_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/source_sans_pro"
|
||||
app:layout_constraintBottom_toTopOf="@+id/reset_button"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
@@ -44,8 +45,9 @@
|
||||
style="@style/Widget.AppCompat.Button.Borderless.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/label_retry"
|
||||
android:fontFamily="@font/source_sans_pro"
|
||||
android:onClick="@{() -> loadingModel.retry()}"
|
||||
android:text="@string/label_retry"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
||||
@@ -9,4 +9,7 @@
|
||||
<color name="black">#000000</color>
|
||||
|
||||
<color name="white">#ffffff</color>
|
||||
|
||||
<!-- TODO: Placeholder accent color, need to remove -->
|
||||
<color name="blue">#2979FF</color>
|
||||
</resources>
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<string name="label_retry">Retry</string>
|
||||
|
||||
<string name="title_library_fragment">Library</string>
|
||||
<string name="title_library_fragment"><b>Library</b></string>
|
||||
|
||||
<string name="description_cover_art">Cover art for </string>
|
||||
</resources>
|
||||
@@ -3,6 +3,11 @@
|
||||
<!-- Base theme -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<!-- TODO: Make this accent settable -->
|
||||
<item name="colorAccent">#295DE5</item>
|
||||
<item name="colorAccent">@color/blue</item>
|
||||
</style>
|
||||
|
||||
<style name="ToolbarText" parent="TextAppearance.AppCompat.Title">
|
||||
<item name="android:fontFamily">@font/source_sans_pro_black</item>
|
||||
<item name="android:textColor">@color/blue</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user