Hi I am new to Android & experimenting on some projects.
Need some basic guide w.r.t styling.
I wanted to style or at least change color & font size of all the " *
TextView *" in " *RelativeLayout *" by adding *style="@style/foo"* to only *
RelativeLayout*
*
*
*
*
<RelativeLayout
android:id="@+id/pod_info_box"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="top"
style="@style/foo"
>
<ImageView
android:id="@+id/foo_displaypic"
android:layout_width="15dp"
android:layout_height="wrap_content"
android:src="@drawable/ic_categories_red" />
<TextView
android:id="@+id/pod_name"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/pod_displaypic"
android:text="POD Name "
/>
<TextView
android:id="@+id/foo_romba"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/foo_name"
android:scrollHorizontally="true"
android:text="We are in war with Android " />
</RelativeLayout>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en