Comments (4)
@mikelantzelo Can you please share the code snippet and also the relevant screenshot.
from mathview.
@nullable
@OverRide
public View onCreateView(@nonnull LayoutInflater inflater, @nullable ViewGroup container, @nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.dialog_show_answer, container, false);
context = getActivity();
getDialog().setTitle(R.string.apantisi);
MathView mathView = view.findViewById(R.id.html_text);
Button button = view.findViewById(R.id.button_apantisi_ok);
mathView.setTextAlignment(View.TEXT_ALIGNMENT_TEXT_START);
mathView.setText(answer);
button.setOnClickListener(new View.OnClickListener() {
@OverRide
public void onClick(View v) {
getDialog().dismiss();
}
});
return view;
}
from mathview.
Thanks @mikelantzelo to raise this concern. Do you mind having a look to MathView.java class and figure out the fix. I will be happy to see pull request for this.
from mathview.
Hello! I think it may related to the MathJax which display everything in center by default. (I'm not familiar with it so i am just gussing)
and maybe you can check here: https://stackoverflow.com/questions/11296415/how-to-left-align-mathjax-elements
from mathview.
Related Issues (12)
- Library not found HOT 2
- how to change textsize of formula HOT 1
- Certain Latex commands not working HOT 1
- Failed to resolve dependency in M1 MacBook Pro HOT 2
- Failed to resolve dependency in M1 MacBook Pro (Reopen) HOT 2
- This dependency can't be added by the way of implementation HOT 1
- Not able to render MathML HOT 2
- Can latex be used for native display HOT 5
- Minimum SDK version HOT 1
- Newline HOT 1
- V1.1 Build fails HOT 1
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 mathview.