Loading app/src/main/java/net/fabiszewski/ulogger/Alert.java +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ package net.fabiszewski.ulogger; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.support.v7.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.view.View; Loading app/src/main/java/net/fabiszewski/ulogger/ListPreferenceWithEditText.java +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ package net.fabiszewski.ulogger; import android.annotation.TargetApi; import android.app.AlertDialog; import android.content.Context; import android.content.SharedPreferences; import android.content.res.TypedArray; Loading @@ -18,6 +17,7 @@ import android.os.Build; import android.preference.ListPreference; import android.preference.Preference; import android.preference.PreferenceManager; import android.support.v7.app.AlertDialog; import android.util.AttributeSet; import android.util.Log; import android.view.View; Loading app/src/main/java/net/fabiszewski/ulogger/MainActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ package net.fabiszewski.ulogger; import android.Manifest; import android.app.AlertDialog; import android.support.v7.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; Loading app/src/main/res/drawable/button_background.xml 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2018 Bartek Fabiszewski ~ http://www.fabiszewski.net ~ ~ This file is part of μlogger-android. ~ Licensed under GPL, either version 3, or any later. ~ See <http://www.gnu.org/licenses/> --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/button_selected"/> </selector> No newline at end of file app/src/main/res/drawable/button_selected.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2018 Bartek Fabiszewski ~ http://www.fabiszewski.net ~ ~ This file is part of μlogger-android. ~ Licensed under GPL, either version 3, or any later. ~ See <http://www.gnu.org/licenses/> --> <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <item> <shape android:shape="rectangle" > <solid android:color="@color/colorBlue" /> </shape> </item> <item android:bottom="2dp"> <shape android:shape="rectangle"> <solid android:color="@android:color/background_dark" /> </shape> </item> </layer-list> No newline at end of file Loading
app/src/main/java/net/fabiszewski/ulogger/Alert.java +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ package net.fabiszewski.ulogger; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.support.v7.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.view.View; Loading
app/src/main/java/net/fabiszewski/ulogger/ListPreferenceWithEditText.java +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ package net.fabiszewski.ulogger; import android.annotation.TargetApi; import android.app.AlertDialog; import android.content.Context; import android.content.SharedPreferences; import android.content.res.TypedArray; Loading @@ -18,6 +17,7 @@ import android.os.Build; import android.preference.ListPreference; import android.preference.Preference; import android.preference.PreferenceManager; import android.support.v7.app.AlertDialog; import android.util.AttributeSet; import android.util.Log; import android.view.View; Loading
app/src/main/java/net/fabiszewski/ulogger/MainActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ package net.fabiszewski.ulogger; import android.Manifest; import android.app.AlertDialog; import android.support.v7.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; Loading
app/src/main/res/drawable/button_background.xml 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2018 Bartek Fabiszewski ~ http://www.fabiszewski.net ~ ~ This file is part of μlogger-android. ~ Licensed under GPL, either version 3, or any later. ~ See <http://www.gnu.org/licenses/> --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/button_selected"/> </selector> No newline at end of file
app/src/main/res/drawable/button_selected.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2018 Bartek Fabiszewski ~ http://www.fabiszewski.net ~ ~ This file is part of μlogger-android. ~ Licensed under GPL, either version 3, or any later. ~ See <http://www.gnu.org/licenses/> --> <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <item> <shape android:shape="rectangle" > <solid android:color="@color/colorBlue" /> </shape> </item> <item android:bottom="2dp"> <shape android:shape="rectangle"> <solid android:color="@android:color/background_dark" /> </shape> </item> </layer-list> No newline at end of file