Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Update TextIcon.java #391

Merged
merged 1 commit into from Mar 15, 2015
Merged

Update TextIcon.java #391

merged 1 commit into from Mar 15, 2015

Conversation

ghost
Copy link

@ghost ghost commented Mar 5, 2015

This change modifies
TextIcon.java to create a multi-line image if the input test contains multiple lines, and
ColorValue.java to change the applicable EditText to multi-line.

This change requires a simple test before acceptance. After build,
create a shortcut with a single line of text and verify that it appears normal, and
create a shortcut with two or three short lines of text and verify that it appears as expected.

I apologize for not testing but I cannot run Android Studio. I have tested the code in another application, but not in TEA.

Alterations necessary to create  a multi-line image from text containing linefeeds.
@jackpal
Copy link
Owner

jackpal commented Mar 6, 2015

Thanks Frank. I'll take a look at this in a few days -- I'm busy at work
for the next week or so. I'm sorry that you can't use Android Studio -- is
it because you develop on-Android? Can you run the command-line (gradle)
builds on-Android?

On Thu, Mar 5, 2015 at 6:57 AM Frank P. Westlake notifications@github.com
wrote:

This change modifies
TextIcon.java to create a multi-line image if the input test contains
multiple lines, and
ColorValue.java to change the applicable EditText to multi-line.

This change requires a simple test before acceptance. After build,
create a shortcut with a single line of text and verify that it appears
normal, and
create a shortcut with two or three short lines of text and verify that it
appears as expected.

I apologize for not testing but I cannot run Android Studio. I have tested

the code in another application, but not in TEA.

You can view, comment on, or merge this pull request online at:

#391
Commit Summary

  • Update TextIcon.java

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#391.

@ghost
Copy link
Author

ghost commented Mar 6, 2015

From JackPalevich:

Thanks Frank. I'll take a look at this in a few days...

Thanks, it's obviously a very low priority -- an
anti-priority I suppose.

I'm sorry that you can't use Android Studio -- is
it because you develop on-Android? Can you run the command-line (gradle)
builds on-Android?

Thanks for the hint, I thought Android Studio was
Windows-only -- I'll look harder for Linux and Android
options (remember that I am not a real programmer).

Frank

@jackpal
Copy link
Owner

jackpal commented Mar 15, 2015

Yeah, I can see why the use of the word "Studio" might lead you to believe that Android Studio was somehow part of Visual Studio. Confusing naming. But in fact Android Studio is based on "JetBrains" IDE, which is Java based, similar to Eclipse. Android Studio is available on Windows, Mac, and Linux. Visit http://developer.android.com/sdk/index.html to download it.

jackpal added a commit that referenced this pull request Mar 15, 2015
@jackpal jackpal merged commit d50ae0f into jackpal:master Mar 15, 2015
@jackpal
Copy link
Owner

jackpal commented Mar 15, 2015

I tested single-line and mult-line text, and both seemed to work.

@ghost
Copy link
Author

ghost commented Mar 15, 2015

From JackPalevich:

Visit http://developer.android.com/sdk/index.html to
download
it.

I started to install it a few days ago but it requires
acceptance of the normal Google anti-privacy agreement,
which I will not agree with. So I'm slowly learning how
to make gradle build from the command line. It'll be
slow because I've never used Grade, Maven, or any other
such system -- I just compiled C with a command line
Borland compiler.

Thanks for the pull!

Frank

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant