android - How I can make adesign that play on any Device like this -


how design this form in ِandroid run program on more 1 device, whether mobile or tv thx...!

its easy linearlayout. can see divided 3:1 horizontally, , right section 1:1 vertically.

<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="horizontal" >      <view         android:id="@+id/video"         android:layout_width="0dp"         android:layout_height="match_parent"         android:layout_weight="3" />      <linearlayout         android:layout_width="0dp"         android:layout_height="match_parent"         android:layout_weight="1"         android:orientation="vertical" >          <view             android:id="@+id/rss1"             android:layout_width="match_parent"             android:layout_height="0dp"             android:layout_weight="1" />          <view             android:id="@+id/rss2"             android:layout_width="match_parent"             android:layout_height="0dp"             android:layout_weight="1" />     </linearlayout>  </linearlayout> 

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -