Changing Font Size On Tab Activity

by Mark Hansen » Thu, 19 Feb 2009 03:36:28 GMT

Sponsored Links
 Is there a way to change the font size on a tabbed Activity?  I can
add an icon but I'd like to shrink the font a bit?

Changing Font Size On Tab Activity

by Mark Hansen » Thu, 19 Feb 2009 04:27:10 GMT

 I don't think that was clear, I'm looking for a way to change the
default font size on the tab itself.


Sponsored Links

Changing Font Size On Tab Activity

by toihart » Sat, 21 Feb 2009 01:48:29 GMT

 I have changed de font size by changing my own theme.

I added to my styles.xml the following lines:

<style name="Widget.TabWidget">
     <item name="android:textSize">11dip</item>

and to my themes.xml:

<item name="android:tabWidgetStyle">@style/Widget.TabWidget</item>

Mark Hansen ha escrito:


Other Threads

1. Which protocal impemented in IM package in Android Donut

Dear all,
Instant Message(IM) is one app in Donet vertion, But there is no
official IM document, if developper want to design their own IM for
some case, what task should be done? for example?
1, Which protocal this IM used, XMPP or others?
2, Has IMPS protocal been implemented in the IM code, or it's just
some one layer of this protocal?
3, If developper want disign their own IM app, the only thing is to
implement the base translation procol, right?
4, Want to start the AccountActivity, what is the intent data section
format, you know, it uses startActivity() to start signin, but after
that, which will check the intent data format, but there is no
specific definenation of that, how could we reference something?

Wish you could guide us, advance the Android app dev!!



2. Displaying virtual keyboard in a custom View

Hello all!

I am building a custom view and would like to pragmatically display
the default on-screen input method (if any) when certain conditions
are met. Due to some specific features of the view I am not able to
reuse the TextView and EditText views with all the functionality
already present. The idea was to simply display the keyboard and
capture the keypress events in the view.

inputMethodManager = (InputMethodManager) getSystemService
inputMethodManager.showSoftInput ( editorView,
InputMethodManager.SHOW_FORCED );

While the approach seems to work with EditText I was not able to show
the on-screen keyboard ( showInputMethodPicker () seems to work ).
While browsing the TextView source code I came across the following

@Override public InputConnection onCreateInputConnection(EditorInfo

that (basically) returns

InputConnection ic = new EditableInputConnection(this);

I was not able to find the class EditableInputConnection in the
documentation or in the source code.

I would appreciate any kind of advice on how to show the on screen
keyboard and how to properly register my view so it can receive the
keypress events.

Many Thanks,
Martin S.

3. Protecting /system/app packages from extraction

4. Virtual Keyboard on custom input field

5. Edit text change input type in code

6. System Privileges on emulator

7. Error to add WAV file into Android database