Comments (3)
Managed to find a workaround when running on the nexus player (i was unable to delay subtitles before that) by using an EditText widget instead of NumberPicker in NumberPickerDialogFragment.java as shown below:
import android.widget.EditText;
...
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
if (getArguments() == null || !getArguments().containsKey(TITLE) || mOnResultListener == null) {
return builder.create();
}
final EditText numberPicker = new EditText(getActivity());
final int currentValue = getArguments().getInt(DEFAULT_VALUE);
builder
.setView(numberPicker)
.setTitle(getArguments().getString(TITLE))
.setPositiveButton(R.string.ok,
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
mOnResultListener.onNewValue(Integer.parseInt(numberPicker.getText().toString()));
dialog.dismiss();
}
})
.setNegativeButton(R.string.cancel,
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
}
);
return builder.create();
}
then rebuild the apk and install to get this (not so nice though but it works):
from popcorn-android.
Hi mate, I know its quite late to ask this question but looking at the response above, I can see that you are the man. Please help, I have been requesting these developers for a long time but its of no use. All I am looking for is to include subtitles position in subtitles settings as they kind of come in between movie and its like hell. Please help me or teach me how to accomplish this task as I m sure these people will never listen. Please help
from popcorn-android.
This issue was moved to https://discuss.popcorntime.sh/t/weird-thing-is-happening-with-subtitle-time-settings/111
from popcorn-android.
Related Issues (20)
- No api servers manual control. Api servers aren't updating on Android. add manual control api servers
- No API selection HOT 1
- Not playing on Samsung Galaxy NOTE 20 Ultra phone
- [Bug in the source code - some configurations are not correct or missing] HOT 1
- nothing is loading
- TV Series episode list wont load, movies load correctly HOT 7
- Just installed the APK and it's loading data forever
- Filmes
- TV Shows not working, just show black screen. Movies work with no issues.
- On homepage, top movies keeps loading forever HOT 1
- The desktop FAQ download link lead to outdated version (Android 1, 0.3.6 arm)
- Unable to search for Movies or TV Series
- nothing 😑
- Installed APK, movies load forever. HOT 2
- Add a Dockerfile to build the .apk HOT 1
- No data found
- App is not working
- An update? HOT 1
- Request to add asian shows
- Pls bring back download button too 🙏
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from popcorn-android.