/as_01/res/layout/activity_main.xml
https://bitbucket.org/kmiyawaki/android_shooting · XML · 49 lines · 43 code · 6 blank · 0 comment · 0 complexity · b3cca28bc55e81b11e2848da6640d4e5 MD5 · raw file
- <LinearLayout 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:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:orientation="vertical" >
-
- <FrameLayout
- android:id="@+id/frame_layout1"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="0.8" >
- </FrameLayout>
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="0.2" >
-
- <TextView
- android:id="@+id/btnLeft"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="#ff0000ff"
- android:drawablePadding="10dp"
- android:gravity="center_vertical"
- android:text="@string/left_button_label"
- android:textAppearance="?android:attr/textAppearanceLarge" />
-
- <TextView
- android:id="@+id/textView1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.6"
- android:textAppearance="?android:attr/textAppearanceLarge" />
-
- <TextView
- android:id="@+id/btnRight"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="#ff0000ff"
- android:drawablePadding="10dp"
- android:gravity="center_vertical"
- android:text="@string/right_button_label"
- android:textAppearance="?android:attr/textAppearanceLarge" />
- </LinearLayout>
-
- </LinearLayout>