Skip to content

Commit

Permalink
Invert side slider
Browse files Browse the repository at this point in the history
  • Loading branch information
VishalNehra committed Mar 18, 2023
1 parent 1d7553d commit 9a53c80
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

adapter = new ArrayAdapter<Item>(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);
Expand Down
1 change: 1 addition & 0 deletions lib/src/main/res/layout/document_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
11 changes: 11 additions & 0 deletions lib/src/main/res/layout/simple_list_item.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:textColor="@color/white"
android:gravity="center_vertical"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:minHeight="?android:attr/listPreferredItemHeightSmall" />

0 comments on commit 9a53c80

Please sign in to comment.