Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 92

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
05/28/13 05:21 PM (12 years ago)

Notepad Plugin: Pre-populate the Screen

Hi All, Does anyone know how to pre-populate the notepad with text and still allowing the user to edit as they go. Thanks, Jake
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/28/13 05:36 PM (12 years ago)
Is that for Android or iOS Jake?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
05/28/13 05:36 PM (12 years ago)
iOS
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/28/13 05:40 PM (12 years ago)
Ah, sorry, only know Android :(
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
05/28/13 05:40 PM (12 years ago)
How would you for Android? Jake
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/28/13 05:45 PM (12 years ago)
I haven't got the plugin, but in it's xml file there will be an EditText view, in the view add something like: android:text="@string/mytext" then in the strings.xml file (in values > strings) add: <string name="mytext">This is my text </string>
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/29/13 12:44 AM (12 years ago)
This has been a feature requested by several people, and I'm going to work on getting it implemented this summer! Mark
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
05/29/13 11:50 AM (12 years ago)
A quick easy way is to create a image with the text you want (I used Photoshop) and use it as the background for the note.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.