material design guidline is a JOKE

pull/5/head
Felix Prahl-Kamps 2018-04-04 03:13:46 +02:00
parent df4d2ab153
commit d85f0a61dd
4 changed files with 28 additions and 6 deletions

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="1dp">
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:attr/dividerVertical">
</View>
</LinearLayout>

View File

@ -8,5 +8,5 @@
android:orderInCategory="100" android:orderInCategory="100"
android:title="Setttings" android:title="Setttings"
android:icon="@drawable/ic_settings" android:icon="@drawable/ic_settings"
app:showAsAction="always" /> app:showAsAction="never" />
</menu> </menu>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="colorPrimary">#3F51B5</color> <color name="colorPrimary">#212121</color>
<color name="colorPrimaryDark">#303F9F</color> <color name="colorPrimaryDark">#000000</color>
<color name="colorAccent">#FF4081</color> <color name="colorAccent">#FF4081</color>
</resources> </resources>

View File

@ -1,13 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="MISP Server Configuration"> <PreferenceCategory
android:title="MISP Server Configuration">
<EditTextPreference <EditTextPreference
android:defaultValue="https://example.foo" android:defaultValue="https://example.foo"
android:key="server_url" android:key="server_url"
android:summary="Server URL" android:summary="https://example.foo"
android:title="URL" /> android:title="URL"/>
<EditTextPreference
android:defaultValue="Company Name"
android:key="company_name"
android:summary="Company XY"
android:title="Organization Name"/>
</PreferenceCategory> </PreferenceCategory>
<!--<PreferenceCategory android:layout="@layout/preference_divider"/>-->
<PreferenceCategory android:title="About"> <PreferenceCategory android:title="About">
<Preference <Preference
android:key="pref_static_field_key" android:key="pref_static_field_key"