Android :: ADB Bug : Italic TextView Disappears / Fix It?

Mar 15, 2010

I am layouting my xml file with eclipse using adb.

Changing the Text Style to italic makes the whole TextView disappears.

Android :: ADB bug : italic TextView disappears / fix it?


Android :: Linkified TextView Non Linked Text Disappears On Touch

May 3, 2010

I have a text view (white text on black background) which is linkified. If at least one link is created and the user touches on any non-linked part of the text, then the non-linked part disappears (or turns black, I'm not sure).

View 4 Replies View Related

Android :: Add Italic Font And Link Into SMS Using Driod APP?

Nov 8, 2010

I want to add some italic font and links into SMS using a andriod app. is it doable? if yes then how?

View 1 Replies View Related

Android :: Typeface / Italic Does Not Work With Sans Serif

Sep 16, 2010

I've got 2 problems with the Typeface.create(...) method :
- the javadoc for this methods say : "Create a typeface object given a family name, and option style information. If null is passed for the name, then the default font will be chosen". However if I use for example : Typeface.create(null, Typeface.ITALIC), it does not compile, with the following error : "The method create(String, int) is ambiguous for the type Typeface". This is because there is 2 different methods : create(String, int) and create(Typeface, int). I guess there is a problem with the API here :(
- italic does not work with sans serif. For example if I use Typeface.create(Typeface.SANS_SERIF, Typeface.ITALIC), the text will not be in italic. Bold works fine. Serif works fine with both bold and italic.

View 6 Replies View Related

Android :: Edit Text To Support The Properties Of Bold Italic And Underline

Jul 6, 2010

I am working with an edit text to support the properties of bold,italic and underline.I got succeed after selecting the text and clicking on bold my text was bold.Now what my requirement is how to remove the bold again after selecting the text and clicking on bold button.

View 2 Replies View Related

Android :: Default Sans Serif Font In Android Support Italic

May 28, 2010

First question:

Does the default sans serif font in Android support italic? Oddly, you can see italic sans serif text if you indicate it as such in the xml of a layout file, but if you specify sans serif and italic to a typeface of a paint object it appears nonitalic. The exact same code works perfectly for bold for both serif and sans serif, but italic only works with sans serif.

Has anyone else ever noticed this? Can anyone else specify sans serif italic to a paint object?

Second question:

So, to specify a font directly by name, it appears that it must be reference by file or path as an asset. It looks like such fonts are always specified as bundled with the app. Are they *any* internal fonts at all? I mean, how does Android draw text in the first place? It must have *some* fonts, but I have no idea how to indicate them to a Typeface object (or a Paint object). I mean, Courier? Times? Helvetica? I'm looking for basic stuff here? Where are the fonts on Android?

View 2 Replies View Related

Android :: Android Typeface / Style Of Text Is Not Set To Italic

Sep 28, 2009

I try to display italic text in a text view. I use the method TypeFace.defaultFromstyle(TypeFace.ITALIC) but it doesn't work, the style of the text is not set to italic. If i call the get Style() method on the return of defaultFromstyle() it returns 0.

View 1 Replies View Related

Android :: 2 String In A TextView Listen Seperated Clickevent In 1 TextView

Nov 16, 2010

I want to do something like that. For example, I have a textview with String
Alibaba love Mary so muck. In that String alibaba and Mary have a event to open something but I can't know how to use event for Mary and Alibaba seperately

View 2 Replies View Related

Android :: Tab Host Disappears

Aug 10, 2010

I am developing an Android application consisting of 4 tabs. On the first tab I have a button, which again calls an Activity called ActivityA.When my ActiviyA is started, the tab control is not shown anymore.

View 1 Replies View Related

Android :: Android RelativeLayout - Trying To Vertically Center A TextView When The TextView Below Has No Text

Jul 14, 2010

I have a ListView that contains an Image on the left of two vertically-oriented TextViews using a RelativeLayout. When both TextViews have text it looks fine. Sometimes the TextView on the bottom won't have any text, and the problem is that the entire layout is several pixels above where it should be because it still reserves that space for text when there isn't any making the entire list have annoying blank gaps. I remember seeing an example of where someone made the layout not reserve the space, but I can't remember how he did it.

View 2 Replies View Related

Android :: Exchange Account Disappears

Apr 18, 2010

My exchange account disappears at least once a week and I have to set it up again. I also get unable to connect to server sometimes and I have to pull the battery to reset to make it work. What is going on?

View 1 Replies View Related

Android :: Gps Icon Disappears / Way To Get Back?

Jul 22, 2010

I am using the GPS and something I do in my program causes the GPS icon in the notification area of my phone to disappear for a few seconds then come back, then disappear again. None of the other GPS programs I use have this "problem"... if it is actually a problem. I've read all kinds of articles about the GPS icon staying on after the program exits, but I can't find anything about it disappearing while the application is using it. What causes the GPS icon to disappear?

View 5 Replies View Related

Android :: Controller Disappears After A While / Show It Always?

Jun 4, 2010

I am adding MediaController to a VideoView, but it does not show up unless I tap the phone. The controller disappears after a while.

Is there a way I can have the MediaController show always?

View 2 Replies View Related

Create TextView On ActivityResult - No TextView Displaying

Jan 4, 2014

I'm trying to create a textView in the parent activity onActivityResult but the textView does not appear. There is an ImageView that takes up the whole parent activity. I can create a textView and place it, and it should go on top of the imageView?

In the parent class:

[HIGH]private void addClothes(int menuId) {
Intent chooseClothesIntent = new Intent(this, ChooseClothesActivity.class);
chooseClothesIntent.putExtra("menuId", menuId);
startActivityForResult(chooseClothesIntent, 1);
}[/HIGH]

[Code]...

then in my new activity:

[HIGH]@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
try {
ClothingItem ci = mListContents.get(position);
String imagePath = ci.getImagePath();

[Code]...

View 2 Replies View Related

Clear Textview And Add New Textview While Click Next Category?

May 4, 2013

In my Android application I have to display article title on corresponding category.

I wish to display the output in following format:

[HIGH]Languages Programming --- Category name on Horizontal listview[/HIGH]

If I have to click Languages which means getting the article title for that selected category alone and displaying on Horizontal listview.

[HIGH]Languages Programming

Tamil Engilsh Hindi Telugu[/HIGH]
If I have to click Programming means need to display the :

[HIGH]Languages Programming

Java C C++[/HIGH]

Now my current status is :

I have to run the app and click Languages which means getting the output is :[code]....

View 2 Replies View Related

Android :: Google Maps Search Disappears

Nov 5, 2010

I have a problem with Google Maps. Everytime I start searching for something in Google Maps, the search box will disapper while typing like I hit the back button. I don't recall this type of behavior happening in any other application. I'm using a Spring HTC hero with Fresh 2.4 (Andriod 2.1) and I'm running the latest version of Google Maps (4.6). After some quick google searching I have seen other andriod phones with similar issues, so I don't think it's related to Fresh. THis issue also happened with the previous version of Google Maps.

View 1 Replies View Related

Android :: R.java Disappears After Project Clean

Oct 9, 2010

After I added some .png files into my Project Workspace drawable folder I refreshed my drawable folders in Eclipse and the newly added files showed up. But when I tried to access those resources using R.drawable.xyzimage, xyzimage although in the folder could not be resolved. So I did a Project Clean and guess what after this clean R.java is totally gone and all my classes accessing resources using R.java is showing all sorts of error and Eclipse won't let me run the code anymore. I have backup of my source code but I want to explore if R.java can be regenerated and how?

View 6 Replies View Related

Android :: Custom View Disappears When Scrolling / Fix It

Mar 19, 2010

I wrote a custom view for ListView rows. It works fine, but when I scroll it, all views in the list disappears. This this how I draw my view. code...

Any suggestions, how to fix this?

View 2 Replies View Related

Android :: Android TextView's Background Not Moving When TextView - Padding Changes

Apr 28, 2010

I have a TextView that I created in the main.xml. In my app.java I am dynamically positioning that TextView based on where the user taps the screen. The problem I am having is that when I call myTextView.setPadding(100,100,0,0), it moves the actual Text of the TextView, but does not move the Colored Background of the TextView.

View 3 Replies View Related

Android :: ScrollView Disappears When Keyboard Appears On Screen

Aug 11, 2009

I have the following layout:

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">

<TextView android:id="@+id/title" android:text="@string/.......................

When I click on the EditText "@+id/updateStatus" of the ScrollView, the keyboard appears on the screen of the device and the ScrollView is hidden. I'd prefer to hide the ListView "@+id/myListView" at the end. Is it possible? Why that view is hidden?

View 2 Replies View Related

Android :: K-9 Email Client - Read Emails Disappears

Mar 1, 2010

I got my 2 gmail accounts (as POP) and my isp email account (as POP also) in my K-9 email client.

When i receive emails they appear in inbox just normaly. But if I leave the inbox and come back in, they have disappeared. I just can�t figure it out, what kind of setups I have to have to keep the read emails shown?

I have the same 3 account in my laptop and k-9 doesn�t delete the emails from server, because I can download them when I use my laptop email client.

View 3 Replies View Related

Android :: Dailog Box Disappears After Flipping Device / Avoid It?

May 12, 2009

I have created a dialog to accept the name and password. code...

It will display the dialog but if I flip the device the dialog will get dismissed. How can I avoid that . I tried d.setcancelable(false) it works for only back key .

View 3 Replies View Related

General :: Onscreen (navigation Bar) Volume Disappears Android 4.0?

Apr 18, 2013

I have Micromax funbook infinity p275 and it runs on Android 4.0 (ice cream sandwich) and my volume controll buttons disappears from the navigation bar. restore it without a factory reset. This has been the second time. When i go to Talking Tom app, and exit it, it appears again but not for long..

View 1 Replies View Related

Android :: Cupcake Memory Bug With WebViews - That Disappears When Debugger Attached

May 15, 2009

I've literally spent 15+ hours trying to figure out this one bug (when I should be studying for finals). Any help is greatly appreciated. The bug appears on the dev1 phone running cupcake. It was not present before the upgrade. Basically, the problem is that when a activity with a webview and 2 threads is run, the service that runs after it will always crashes the process (but it works fine when the debugger is attached). The worst part is that it crashes at arbitrarily places in the service, so I can't isolate the error.

The details:

I have an activity with a WebView. The activity executes two threads, one after the other using the basic new Thread(new Runnable() {public void run()... Both threads use the same handler to report back results to the main activity. Flow works like this: when the activity starts, the first thread gets data to construct the URL that the webview will load (using DefaultHTTPClient). Then when the user navigates to a certain page, the second thread is again fired (using DefaultHTTPClient) to get some xml. This works fine.

The problem happens right afterwards. Once the activity with the webview finishes (it calls finish on itself), a service is started that has a thread that using DefaultHttpClient to downloaded some xml, process it, etc. The service crashes at arbitrary points with no error messages, simply displaying a memory dump, and kills the main process with it. When I attempt to debug the process, it runs just fine w/ no crashes. I've repeated this at least 30 times, with the same result. (no crash w/ debugger, crash when installing signed apk file to device and running it).

The program doesn't crash when the threads are removed from the activity with webview. So even if the webview activity runs (but all threads are removed), the service runs just fine regardless of the debugger.

Here is how my threads start (both of the ones in the activity with the webview, and the main thread in the service that is launched afterwards):

CODE:..........

.................

Here is what logcat displays:

CODE:..................

View 2 Replies View Related

Android :: Coverage With Ant In Test Project From Another Directory Report Disappears

Jan 15, 2010

I've encountered a problem, when I run coverage with ant in my test project from another directory the report disappears, e.g. "ant -f some/dir/tests/build.xml coverage". This seems to be the cause that I cannot get reports when building through hudson.

View 3 Replies View Related

Android :: Video Playback On VideoView Disappears After Going Back From Another Activity / Why Is So?

Jun 8, 2010

I have two Activities: one with VideoView attached to MediaPlayer and the second one.
I start watching a video in the first Activity, then during playback I start second Activity.
After going back to first Activity I can hear sound but see no picture.

My Video Layout...

Do you have any ideas why video doesn't appear?

View 2 Replies View Related

Android :: OpenWnn Project Disappears In Latest Cupcake Code / Why Is So?

Apr 23, 2009

The OpenWnn project was involved in the cupcake project when I got the code at 1st April, but it disappears in the latest cupcake code. Why? Will it be in the final cupcake release?

View 2 Replies View Related

Android : Media Controls Bar Disappears After Appearing For Second In VideoView Droid

Sep 18, 2010

I am able to play a video using VideoView in combination with MediaController. The problem when I started my activity , a bar appears below with media controllers play,pause,rewind ,progress bar representing video. But it disappears after displaying 1 second. Then I how can I make this media Controller bar with controls to display as long as my video plays so that I can pause,rewind my video.

View 1 Replies View Related

Android :: How Can Pass Text Of Textview From One Class To Other Class Textview

Oct 15, 2010

if there are five text in a text view and we want to pass one of them on click event to the next class text view which method i m used on android

View 2 Replies View Related

Motorola Droid 2 :: MMS Sending - Just Disappears

Oct 1, 2010

I'm having trouble sending pics, when I get the msg ready it converts the file from sms to mms but when I send it, it just disappears.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved