Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use less hacky way to tint icons (#44)
- Loading branch information
1 parent
c2e622d
commit a0be8bd
Showing
19 changed files
with
69 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_checked="true" android:color="@color/accent"/> | ||
<item android:color="?android:attr/textColorSecondary"/> | ||
<item android:color="@color/primary"/> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="bg">#202124</color> | ||
<color name="accent">#1E9E73</color> | ||
<color name="primary">#bdbdbe</color> | ||
<color name="bar">#313236</color> | ||
<color name="execute_button">#c2c2c3</color> | ||
<color name="main_button_text">#ffffff</color> | ||
<color name="primary">#1E9E73</color> | ||
<color name="success">#1E9E73</color> | ||
<color name="accent">#1E9E73</color> | ||
<color name="warning">#ED9D56</color> | ||
<color name="danger">#F65E5A</color> | ||
<color name="white">#ffffff</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="bg">#fafafa</color> | ||
<color name="accent">#378B6F</color> | ||
<color name="primary">#737373</color> | ||
<color name="bar">#fafafa</color> | ||
<color name="execute_button">#737373</color> | ||
<color name="main_button_text">#ffffff</color> | ||
<color name="primary">#378B6F</color> | ||
<color name="success">#378B6F</color> | ||
<color name="accent">#378B6F</color> | ||
<color name="warning">#ED9D57</color> | ||
<color name="danger">#F0433F</color> | ||
<color name="white">#ffffff</color> | ||
</resources> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,89 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
<PreferenceCategory | ||
android:title="@string/title_activity_settings"> | ||
app:title="@string/title_activity_settings"> | ||
<ListPreference | ||
android:key="theme" | ||
android:title="@string/settings_theme" | ||
app:key="theme" | ||
app:title="@string/settings_theme" | ||
app:useSimpleSummaryProvider="true" /> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory | ||
android:title="@string/settings_webadmin_heading"> | ||
app:title="@string/settings_webadmin_heading"> | ||
<Preference | ||
android:key="webadminDescription" | ||
android:summary="@string/settings_webadmin_explanation" | ||
android:icon="@drawable/ic_webadmin" | ||
android:layout="@layout/settings_description_icon"/> | ||
app:key="webadminDescription" | ||
app:summary="@string/settings_webadmin_explanation" | ||
app:icon="@drawable/ic_webadmin" | ||
app:enableCopying="true" | ||
app:selectable="false" /> | ||
<Preference | ||
android:key="webadminOpen" | ||
android:title="@string/settings_webadmin_open" /> | ||
app:key="webadminOpen" | ||
app:title="@string/settings_webadmin_open" /> | ||
<Preference | ||
android:key="webadminLogin" | ||
android:title="@string/settings_webadmin_login" /> | ||
app:key="webadminLogin" | ||
app:title="@string/settings_webadmin_login" /> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory | ||
android:title="@string/settings_install_update"> | ||
app:title="@string/settings_install_update"> | ||
<Preference | ||
android:summary="@string/settings_install_update_explanation" | ||
android:icon="@drawable/ic_cloud_download" | ||
android:layout="@layout/settings_description_icon"/> | ||
app:summary="@string/settings_install_update_explanation" | ||
app:icon="@drawable/ic_cloud_download" | ||
app:enableCopying="true" | ||
app:selectable="false" /> | ||
<Preference | ||
android:key="installUpdateBinary" | ||
android:title="@string/settings_install_update_binary" /> | ||
app:key="installUpdateBinary" | ||
app:title="@string/settings_install_update_binary" /> | ||
<Preference | ||
android:key="installUpdateServer" | ||
android:title="@string/settings_install_update_server" /> | ||
app:key="installUpdateServer" | ||
app:title="@string/settings_install_update_server" /> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory | ||
android:title="@string/settings_install_no_sha"> | ||
app:title="@string/settings_install_no_sha"> | ||
<Preference | ||
android:summary="@string/settings_install_no_sha_explanation" | ||
android:icon="@drawable/ic_policy" | ||
android:layout="@layout/settings_description_icon"/> | ||
app:summary="@string/settings_install_no_sha_explanation" | ||
app:icon="@drawable/ic_policy" | ||
app:enableCopying="true" | ||
app:selectable="false" /> | ||
<Preference | ||
android:key="installNoShaButton" | ||
android:title="@string/settings_install_no_sha_button" /> | ||
app:key="installNoShaButton" | ||
app:title="@string/settings_install_no_sha_button" /> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory | ||
android:title="@string/settings_install_manually"> | ||
app:title="@string/settings_install_manually"> | ||
<Preference | ||
android:key="abiText" | ||
android:summary="@string/settings_install_manually_explanation" | ||
android:icon="@drawable/ic_install" | ||
android:layout="@layout/settings_description_icon"/> | ||
app:key="abiText" | ||
app:summary="@string/settings_install_manually_explanation" | ||
app:icon="@drawable/ic_install" | ||
app:enableCopying="true" | ||
app:selectable="false" /> | ||
<Preference | ||
android:key="installBinary" | ||
android:title="@string/settings_install_select_binary" /> | ||
app:key="installBinary" | ||
app:title="@string/settings_install_select_binary" /> | ||
<Preference | ||
android:key="installServer" | ||
android:title="@string/settings_install_select_server" /> | ||
app:key="installServer" | ||
app:title="@string/settings_install_select_server" /> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory | ||
android:title="@string/settings_troubleshooting_heading"> | ||
app:title="@string/settings_troubleshooting_heading"> | ||
<SwitchPreference | ||
android:key="troubleshootingAuthenticationToggle" | ||
android:title="@string/settings_authentication_toggle" | ||
android:summary="@string/settings_authentication_errors_explanation" /> | ||
app:key="troubleshootingAuthenticationToggle" | ||
app:title="@string/settings_authentication_toggle" | ||
app:summary="@string/settings_authentication_errors_explanation" /> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory | ||
android:title="@string/settings_info_heading"> | ||
app:title="@string/settings_info_heading"> | ||
<Preference | ||
android:key="infoDebugInfo" | ||
android:title="@string/settings_info_debug" /> | ||
app:key="infoDebugInfo" | ||
app:title="@string/settings_info_debug" /> | ||
<Preference | ||
android:key="thirdPartyLicenses" | ||
android:title="@string/settings_info_libraries" /> | ||
app:key="thirdPartyLicenses" | ||
app:title="@string/settings_info_libraries" /> | ||
<Preference | ||
android:key="version" /> | ||
app:key="version" /> | ||
</PreferenceCategory> | ||
</PreferenceScreen> |