안녕하세요 안드로이드 초보 개발자입니다.
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<RelativeLayout
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
>
<ImageButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/common_default_profile_img"
/>
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/shadow_white_thumbnail"
/>
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/stroke_thumbnail"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width="0dip"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#fffcdc"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dip"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dip"
android:textSize="15sp"
android:textColor="#222222"
android:text=""
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dip"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dip"
android:textSize="12sp"
android:textColor="#222222"
android:text=""
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="11dip"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dip"
android:textSize="10sp"
android:textColor="#222222"
android:text=""
/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
레이아웃을 이런식으로 구현했는데요
제가 궁금한것은 imagebutton 위에 감싸고 있는 Relativelayout 이나 LinearLayout width 값이나 height 값에
값을 200dp 이런식으로 픽스 시켜주면 다른 해상도 기기에서도 제대로 작동할까요?
테블릿이나 이런건 아니구요 그냥 일반 단말기를 기준으로 하고 있기는 한데요..
width 값 말고 heigth 값만이라도 값을 고정할수 있는지 궁금합니다. .
고수님들 도와주세요..ㅜㅜ