diff --git a/lib/src/main/java/com/artifex/mupdf/viewer/OutlineActivity.java b/lib/src/main/java/com/artifex/mupdf/viewer/OutlineActivity.java index c4e1954..09c36be 100644 --- a/lib/src/main/java/com/artifex/mupdf/viewer/OutlineActivity.java +++ b/lib/src/main/java/com/artifex/mupdf/viewer/OutlineActivity.java @@ -32,7 +32,7 @@ public void onCreate(Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); - adapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1); + adapter = new ArrayAdapter<>(this, R.layout.simple_list_item); setListAdapter(adapter); int idx = getIntent().getIntExtra("PALLETBUNDLE", -1); diff --git a/lib/src/main/res/layout/document_activity.xml b/lib/src/main/res/layout/document_activity.xml index b20603b..aa760f5 100644 --- a/lib/src/main/res/layout/document_activity.xml +++ b/lib/src/main/res/layout/document_activity.xml @@ -184,6 +184,7 @@ android:rotation="90" android:layout_marginStart="@dimen/eight_dp" android:layout_marginEnd="-70dp" + android:scaleY="-1" android:tooltipText="@null" app:labelStyle="@style/Widget.App.Tooltip" app:trackColor="@color/highlight_yellow" diff --git a/lib/src/main/res/layout/simple_list_item.xml b/lib/src/main/res/layout/simple_list_item.xml new file mode 100644 index 0000000..ac24238 --- /dev/null +++ b/lib/src/main/res/layout/simple_list_item.xml @@ -0,0 +1,11 @@ + + \ No newline at end of file