This repository was archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include native libs for CRT fixes into Tweakbox
- Loading branch information
Showing
10 changed files
with
93 additions
and
18 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
36 changes: 36 additions & 0 deletions
36
XposedLibrary/src/de/robv/android/xposed/library/ui/SeparatorPreference.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package de.robv.android.xposed.library.ui; | ||
|
||
import android.content.Context; | ||
import android.graphics.Color; | ||
import android.preference.Preference; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
import android.view.ViewGroup.LayoutParams; | ||
import android.widget.AbsListView; | ||
import android.widget.ImageView; | ||
|
||
public class SeparatorPreference extends Preference { | ||
int color = Color.GRAY; | ||
int height = 7; | ||
|
||
public SeparatorPreference(Context context) { | ||
super(context); | ||
setSelectable(false); | ||
} | ||
|
||
public void setColor(int color) { | ||
this.color = color; | ||
} | ||
|
||
public void setHeight(int height) { | ||
this.height = height; | ||
} | ||
|
||
@Override | ||
protected View onCreateView(ViewGroup parent) { | ||
ImageView iview = new ImageView(getContext()); | ||
iview.setBackgroundColor(color); | ||
iview.setLayoutParams(new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT, height)); | ||
return iview; | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
XposedLibrary/src/de/robv/android/xposed/library/ui/TextViewPreference.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package de.robv.android.xposed.library.ui; | ||
|
||
import android.content.Context; | ||
import android.preference.Preference; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
import android.widget.TextView; | ||
|
||
public class TextViewPreference extends Preference { | ||
private TextView textView = null; | ||
|
||
public TextViewPreference(Context context) { | ||
super(context); | ||
} | ||
|
||
@Override | ||
protected View onCreateView(ViewGroup parent) { | ||
return getTextView(); | ||
} | ||
|
||
public TextView getTextView() { | ||
if (textView == null) { | ||
textView = new TextView(getContext()); | ||
textView.setId(android.R.id.title); | ||
textView.setPadding(5,5,5,5); | ||
} | ||
return textView; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-275 Bytes
XposedTweakbox/assets/crtfix_samsung_d506192d5049a4042fb84c0265edfe42.bsdiff
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters