Need to implement WYSIWYG editor on Android - android

Basically, i am trying to implement a WYSIWYG editor just like MS Word or Quick Office. After so much R & D, i am not able to find a good simple solution.,The app would contain basic formatting buttons like text style, font, size, alignment, bullets.,.
So please anyone suggest something
I am adding snapshots from QuickOffice.,It is WYSIWIG Rich Text editor.
Snapshots are in a Series from 1 to 5.,.Pleas go through them..,.I am sure you will understand what i want now.,.

Rahul I got the point. Thanks for your explanation.
You have to build the listener what you are looking for any button's action. Like bold the text, underline , changing the color or font, change the justification of text and others. I will prefer to follow these link from where you will get depth knowledge of working with text editor on android:
GOOGLE DRIVE SDK [ANDROID, iOS , Java & more platform]
https://github.com/googledrive/dredit
Some other repository you can check :
https://github.com/paulmach/Text-Edit-for-Android
https://github.com/jecelyin/920-Text-Editor
https://github.com/jiro-aqua/Jota-Text-Editor
And if you get any specific problem you can share I will try to give the solution.
Happy coding !!!

Related

How do I use the full editor screen in Android Studio?

I know it must be a dumb question, but Android Studio has so many options that confuses me. I want to use the whole editor section and not the half as shown in the following link.
https://i.stack.imgur.com/4IYln.png
I'm new into this and willing to learn Flutter. Thank you! ^^
You can set the value for Hard wrap at in the Android Studio Preferences to a value higher than 80. But even very high values won't let you use the full width of your editor for the sake of common Flutter code style. If a line gets too long, you might want to consider breaking it apart to make it easier to read and understand. Or, regarding Flutter, flatten the widget nesting by extracting parts to custom widgets.
You could also use the remaining space to display the file explorer or to view two files side by side.
You are using the whole editor section. That's a hypothetical line that is adviced to keep your codes on left side of it.

Simple RichText Editor in Android

i want to create a simple rich text editor in android, just like this application on google play store: https://play.google.com/store/apps/details?id=com.spn.richnotepad&hl=en
and i am very new in android so anyone can provide some idea about it.
Thank You
It's not difficult at all but before you start I highly recommend you to read the guide from Android Developer site:
https://developer.android.com/training/basics/data-storage/index.html
You will learn how to save data which is a very important part of your project.
Then you have to learn all about EditText (allows the user to type text into your app) and TextView (displays text on screen).
http://developer.android.com/guide/topics/ui/controls/text.html
When your app is finished you can add some additional functionality:
Spelling Suggestions
https://developer.android.com/training/keyboard-input/index.html
Text Formatting
http://www.chrisumbel.com/article/android_textview_rich_text_spannablestring
Font Style
http://code.tutsplus.com/tutorials/quick-tip-customize-android-fonts--mobile-1601
Some useful links:
http://developer.android.com/reference/android/widget/EditText.html
http://developer.android.com/reference/android/widget/TextView.html
I also advice you this Notepad Tutorial which will guide you step by step to construct a simple notes list that lets the user add new notes.
http://developer.android.com/training/notepad/index.html
Check out this one https://github.com/chinalwb/Android-Rich-text-Editor, it is still in progress but you may get some pointers from there. Thanks.
Supported styles:
Bold
Italic
Underline
Strikethrough
Numeric list
Bullet list
Align left
Align center
Align right
Insert image
Background color
Hyper link
#
Quote
Foreground color
Emoji icon
Superscript
Subscript
Font size
Video
Image from internet
Dividing line
All styles support save as HTML file
Set init html content and continue editing or displaying
Demo for part of the supported features
Found some quick solutions :
droid-writer
cwac-richedit
Also check following discussions:
Rich Text Box in android
Implementing a rich text editor in Android?

Rich Text Formatting

I'm trying to find a way to format EditText in an Android app that I'm planning to create.
When I created a example project to do this, all there is are plain text multiline edit text etc. There isn't really a specific EditText for rich text formatting. For instance in windows there is RichTextBox. Here thw developer can set styles such as bold,Italics underline etc. by selecting part of the text and styling it.
I'm wondering how I can achieve this in Android development. Can someone shed some light on this, would be greatly appreciated!

How to edit the value of a Text Field using Graphical Layout view (Eclipse Android Development Tool)

I don't understand what is going on when I am in the Graphical layout window in the Eclipse Android Development tool (v22.6.2-1085508) and want to change the text of a TextView. I saw other questions/answers on how to do it programmatically. But unless I am overlooking something obvious the process to do it using the GUI seems very laborious and non-intutive.
Here is the steps I went through:
Start with the default Android Application project. I Want to change text: "Hello World"
I find that I can't modify the textView inline (i.e. visual studio style).
So I select Edit (F2)
But now I find I can't really "edit" the resource http://i.stack.imgur.com/cBtXL.jpg
So I click on the "New String" button.
And create a whole new resource with the new text string that I want.
The screen shots: http://i.stack.imgur.com/yAcLz.jpg
Can someone clue me in to the philosophy behind this Graphical interface? Is there a better way to do it?
Maybe you aren't using the editor correctly:
Here you see I defined #string/help for the Text property
And you correctly read "User guide", as defined in strings.xml
Alternatively, in the xml view, you can add your TextView the attribute:
android:text="Whatever you want"
or (better), reference a string resource (as in my example):
android:text="#string/your_string_name"

Android Application Layout Help

Hi does anyone know how to add/change the colour of the application layout. It is a .xml file
I'd like to add a border and change the background colour. There are also text fields in there, is it possible to add a border/border colour to the text fields.
I am a novice by the way!
Thanks
If you are new to this, you should use Eclipse with Android SDK plugin. In Eclipse, you can use the visual layout editor which will give you a fast and easy answer to your questions, and even more.
android:background="#ffffff" for white bg .
2 b vry frank 4 a beginner, developer site or other tutorials will prove much more effective den putting questions here .

Categories

Resources