-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added images to Pages. A lot of refactoring is now imperative.
- Loading branch information
1 parent
11c7d0a
commit aa5dbad
Showing
14 changed files
with
447 additions
and
47 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
app/src/main/java/com/luxlunaris/noadpadlight/control/classes/Notebook.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
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
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
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
24 changes: 24 additions & 0 deletions
24
app/src/main/java/com/luxlunaris/noadpadlight/ui/ImageGetter.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,24 @@ | ||
package com.luxlunaris.noadpadlight.ui; | ||
|
||
import android.graphics.drawable.Drawable; | ||
import android.text.Html; | ||
import android.util.Log; | ||
|
||
public class ImageGetter implements Html.ImageGetter { | ||
|
||
|
||
@Override | ||
public Drawable getDrawable(String source) { | ||
|
||
Log.d("TEST_TEST", source); | ||
|
||
Drawable d = Drawable.createFromPath(source); | ||
d.setBounds(0,0,d.getIntrinsicWidth(),d.getIntrinsicHeight()); | ||
|
||
|
||
Log.d("TEST_TEST", d.toString()); | ||
|
||
return d; | ||
|
||
} | ||
} |
Oops, something went wrong.