Skip to content

Commit 9a53c80

Browse files
committed
Invert side slider
1 parent 1d7553d commit 9a53c80

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

lib/src/main/java/com/artifex/mupdf/viewer/OutlineActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void onCreate(Bundle savedInstanceState) {
3232
requestWindowFeature(Window.FEATURE_NO_TITLE);
3333
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
3434

35-
adapter = new ArrayAdapter<Item>(this, android.R.layout.simple_list_item_1);
35+
adapter = new ArrayAdapter<>(this, R.layout.simple_list_item);
3636
setListAdapter(adapter);
3737

3838
int idx = getIntent().getIntExtra("PALLETBUNDLE", -1);

lib/src/main/res/layout/document_activity.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
android:rotation="90"
185185
android:layout_marginStart="@dimen/eight_dp"
186186
android:layout_marginEnd="-70dp"
187+
android:scaleY="-1"
187188
android:tooltipText="@null"
188189
app:labelStyle="@style/Widget.App.Tooltip"
189190
app:trackColor="@color/highlight_yellow"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:id="@android:id/text1"
4+
android:layout_width="match_parent"
5+
android:layout_height="wrap_content"
6+
android:textAppearance="?android:attr/textAppearanceListItemSmall"
7+
android:textColor="@color/white"
8+
android:gravity="center_vertical"
9+
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
10+
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
11+
android:minHeight="?android:attr/listPreferredItemHeightSmall" />

0 commit comments

Comments
 (0)