android - matching font size in ListView and TextView -


i have implemented "endless" scrolling in app. use these layouts (they pretty standard)

<listview     xmlns:android="http://schemas.android.com/apk/res/android"         xmlns:tools="http://schemas.android.com/tools"         android:id="@+id/frag_list"         android:layout_width="wrap_content"         android:layout_height="wrap_content" /> 

footer layout shown when downloading more content:

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"               xmlns:tools="http://schemas.android.com/tools"               android:id="@+id/loading_layout"               android:layout_width="match_parent"               android:layout_height="wrap_content"               android:padding="5dp"               android:orientation="vertical"               android:gravity="center"> <progressbar         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:indeterminateonly="true" /> <textview         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:text="@string/msg_loading" />  </linearlayout> 

everything works fine, except "loading" text in text view small. right way font size in textview match listview's?

you should @ layout list items using. example, if using simple_list_item_1, corresponding textappearanceshould textappearancelistitemsmall


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -