How to make a LinearLayout fousable and its children change foreground color

by n179911 » Thu, 19 Nov 2009 12:46:46 GMT


Sponsored Links
 Hi,

I have a LinearLayout with 2 text View as its children.
How can I make the children of LinearLayout to change foreground color
(in this case, the text color of the text view) when the linearlayout
has focus?

<LinearLayout>
        <TextView android:id="@+id/name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:textColor="?android:attr/textColorInverse"
        />
      <TextView android:id="@+id/value"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:textColor="?android:attr/textColorInverse"
        />

</LinearLayout>

Thank you.

--



How to make a LinearLayout fousable and its children change foreground color

by surya prakash » Thu, 19 Nov 2009 14:54:08 GMT


 


Thank you.


>


Sponsored Links


Other Threads

1. QQ Groups : 69169822. ้”›ๅœ•hina้”›

thanks
--~--~---------~--~----~------------~-------~--~----~

2. android.speech.recognition???

I found this API, but I dunno how to use...
any one or any tutorial is available on speech recognition system on
android???

http://lamp.epfl.ch/~linuxsoft/android/android-m3-rc20a/docs/reference/android/speech/recognition/package-summary.html


Wesley.
--~--~---------~--~----~------------~-------~--~----~

3. Speech Recognition API

4. Question to Android team

5. Text2Speech now hosted at google code

6. switch between activities

7. Decoding Reverse Geocoding HTTP Response