나는 res에 2 파일이 있습니다. Activity_main.xml은어디서 안드로이드에 레이아웃을 설정할 수 있습니까?
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.test2.MainActivity"
tools:ignore="MergeRootFrame" />
fragment_main.xml 난 그냥 서로 내가 끌어 모든 항목을 드롭이 현재 레이아웃에서 문제를 중복 레이아웃을 변경할 계획
<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"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.test2.MainActivity$PlaceholderFragment" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world" />
</RelativeLayout>
방법에 멋진 양식 유형 레이아웃을 만드시겠습니까? 어떤 조정과 어떤 파일을 조정해야합니까?
레이아웃을 어떻게 편집하고 있습니까? Eclipse 또는 Android Studio를 사용하고 있습니까? –
나는 이클립스를 사용하고 있으며 매우 안드로이드에 대한 새로운 것을 유감스럽게 생각한다. – user2711681
사과 할 필요가 없습니다. 겹치는 부분에 대해 더 분명히 할 수 있습니까? 또한 GUI 편집기를 사용하고 있습니까? 아니면 XML 텍스트를 직접 편집하고 있습니까? –