Refactor code
This commit is contained in:
parent
369411ffc6
commit
6cdaf27eda
13 changed files with 28 additions and 160 deletions
|
@ -1,8 +1,9 @@
|
|||
<!-- drawable/ic_license_white_24dpnse_white_24dp.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#000" android:pathData="M9 10A3.04 3.04 0 0 1 12 7A3.04 3.04 0 0 1 15 10A3.04 3.04 0 0 1 12 13A3.04 3.04 0 0 1 9 10M12 19L16 20V16.92A7.54 7.54 0 0 1 12 18A7.54 7.54 0 0 1 8 16.92V20M12 4A5.78 5.78 0 0 0 7.76 5.74A5.78 5.78 0 0 0 6 10A5.78 5.78 0 0 0 7.76 14.23A5.78 5.78 0 0 0 12 16A5.78 5.78 0 0 0 16.24 14.23A5.78 5.78 0 0 0 18 10A5.78 5.78 0 0 0 16.24 5.74A5.78 5.78 0 0 0 12 4M20 10A8.04 8.04 0 0 1 19.43 12.8A7.84 7.84 0 0 1 18 15.28V23L12 21L6 23V15.28A7.9 7.9 0 0 1 4 10A7.68 7.68 0 0 1 6.33 4.36A7.73 7.73 0 0 1 12 2A7.73 7.73 0 0 1 17.67 4.36A7.68 7.68 0 0 1 20 10Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M9 10A3.04 3.04 0 0 1 12 7A3.04 3.04 0 0 1 15 10A3.04 3.04 0 0 1 12 13A3.04 3.04 0 0 1 9 10M12 19L16 20V16.92A7.54 7.54 0 0 1 12 18A7.54 7.54 0 0 1 8 16.92V20M12 4A5.78 5.78 0 0 0 7.76 5.74A5.78 5.78 0 0 0 6 10A5.78 5.78 0 0 0 7.76 14.23A5.78 5.78 0 0 0 12 16A5.78 5.78 0 0 0 16.24 14.23A5.78 5.78 0 0 0 18 10A5.78 5.78 0 0 0 16.24 5.74A5.78 5.78 0 0 0 12 4M20 10A8.04 8.04 0 0 1 19.43 12.8A7.84 7.84 0 0 1 18 15.28V23L12 21L6 23V15.28A7.9 7.9 0 0 1 4 10A7.68 7.68 0 0 1 6.33 4.36A7.73 7.73 0 0 1 12 2A7.73 7.73 0 0 1 17.67 4.36A7.68 7.68 0 0 1 20 10Z" />
|
||||
</vector>
|
|
@ -43,7 +43,7 @@
|
|||
app:listItemTitle="@string/changelog" />
|
||||
|
||||
<code.name.monkey.retromusic.views.ListItemView
|
||||
android:id="@+id/translators"
|
||||
android:id="@+id/openSource"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constrainedWidth="true"
|
||||
|
@ -51,33 +51,20 @@
|
|||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/changelog"
|
||||
app:listItemIcon="@drawable/ic_account_group_white_24dp"
|
||||
app:listItemSummary="@string/translators_summary"
|
||||
app:listItemTitle="@string/translators" />
|
||||
|
||||
<code.name.monkey.retromusic.views.ListItemView
|
||||
android:id="@+id/openSource"
|
||||
android:layout_width="0dp"
|
||||
app:listItemIcon="@drawable/ic_license_white_24dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/translators"
|
||||
app:listItemSummary="@string/pref_summary_open_source_licences"
|
||||
app:listItemTitle="@string/pref_title_open_source_licences" />
|
||||
|
||||
<code.name.monkey.retromusic.views.ListItemView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="0dp"
|
||||
app:listItemIcon="@drawable/ic_info_outline_white_24dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/openSource"
|
||||
app:listItemIcon="@drawable/ic_info_outline_white_24dp"
|
||||
app:listItemSummary="@string/pref_summary_open_source_licences"
|
||||
app:listItemTitle="@string/version" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue