Image at top of android application -



Image at top of android application -

i need similar android layout like this

i have set image when select bigger screen size device in emulator. image looks stretched a-lot. , when increment height looks on big screen size cover more half of little mobile screen. don't have tablet test app can test in mobile. please help not old android

<relativelayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".queryactivity" > <scrollview android:layout_width="match_parent" android:layout_height="wrap_content" android:scrollbars="vertical" > <linearlayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:gravity="center_horizontal" > <textview android:id="@+id/tvbanner" android:layout_height="wrap_content" android:layout_width="match_parent" android:background="@drawable/sportnutrition" ></textview> <textview android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_gravity="center" android:layout_margintop="5dp" android:layout_marginbottom="5dp" android:textcolor="#66a5f8" android:textsize="20sp" android:textstyle="bold" android:text="@string/app_name" ></textview> <button android:id="@+id/btnanalyze" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/btn" android:text="@string/homepagebtn1" /> <button android:id="@+id/btnrate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/btn" android:layout_margintop="15dp" android:text="@string/homepagebtn2" /> <button android:id="@+id/btnexit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/btn" android:layout_margintop="15dp" android:text="@string/homepagebtn3" /> </linearlayout>

android android-layout layout design banner

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -