Skip to content

Commit c433e6f

Browse files
committed
fix graphs by adding new required dimensions
1 parent fffa14a commit c433e6f

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
android:sharedUserId="net.i2p">
55

66
<uses-sdk xmlns:tools="http://schemas.android.com/tools"
7-
tools:overrideLibrary="android.support.v14.preference" />
7+
tools:overrideLibrary="androidx.preference" />
88

99
<uses-permission android:name="android.permission.INTERNET" />
1010
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

app/src/main/java/net/i2p/android/preferences/util/CustomPreferenceFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
public abstract class CustomPreferenceFragment extends PreferenceFragmentCompat {
1212
private static final String DIALOG_FRAGMENT_TAG =
13-
"android.support.v7.preference.PreferenceFragment.DIALOG";
13+
"androidx.preference.PreferenceFragment.DIALOG";
1414

1515
@Override
1616
public void onDisplayPreferenceDialog(Preference preference) {

app/src/main/res/layout/fragment_graph.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@
66

77
<com.androidplot.xy.XYPlot
88
android:id="@+id/rate_stat_plot"
9-
androidPlot.graphWidget.domainLabelPaint.textSize="@dimen/graph_domain_tick_label_font_size"
10-
androidPlot.graphWidget.domainOriginLabelPaint.textSize="@dimen/graph_domain_tick_label_font_size"
119
androidPlot.graphWidget.marginBottom="20dp"
1210
androidPlot.graphWidget.marginLeft="20dp"
1311
androidPlot.graphWidget.marginRight="10dp"
1412
androidPlot.graphWidget.marginTop="11dp"
15-
androidPlot.graphWidget.rangeLabelPaint.textSize="@dimen/graph_range_tick_label_font_size"
16-
androidPlot.graphWidget.rangeOriginLabelPaint.textSize="@dimen/graph_range_tick_label_font_size"
1713
android:layout_width="match_parent"
1814
android:layout_height="match_parent" />
1915
</LinearLayout>

0 commit comments

Comments
 (0)