• R/O
  • HTTP
  • SSH
  • HTTPS

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Android Samples


ファイル情報

Rev. 0d668f50272cfa92848dd40affaadd00a52ee925
サイズ 1,958 バイト
日時 2014-06-14 08:52:57
作者 Masahiko, SAWAI
ログメッセージ

Added ui-pattern-listview-crud-db module

内容

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
	xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent"
	android:layout_height="fill_parent"
	android:orientation="vertical"
	android:padding="4dip"
>

	<ScrollView
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:layout_weight="1"
		android:fillViewport="true"
	>
		<LinearLayout 
			android:layout_width="fill_parent"
			android:layout_height="fill_parent"
			android:orientation="vertical"
			android:padding="4dip"
		>
			<TextView
				style="@style/header_text"
				android:text="@string/first_name"
			/>
			<EditText
				style="@style/value_text"
				android:id="@+id/first_name_textview"
				android:inputType="textPersonName"
			/>
			<TextView
				style="@style/header_text"
				android:text="@string/last_name"
			/>
			<EditText
				style="@style/value_text"
				android:id="@+id/last_name_textview"
				android:inputType="textPersonName"
			/>
			<TextView
				style="@style/header_text"
				android:text="@string/email"
			/>
			<EditText
				style="@style/value_text"
				android:id="@+id/email_textview"
				android:inputType="textEmailAddress"
			/>
			<TextView
				style="@style/header_text"
				android:text="@string/age"
			/>
			<EditText
				style="@style/value_text"
				android:id="@+id/age_textview"
				android:inputType="number"
			/>

		</LinearLayout>
	</ScrollView>

	<View style="@style/hline" />

	<LinearLayout 
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
	>
		<Button
			android:id="@+id/cancel_button"
			android:layout_width="0dip"
			android:layout_height="wrap_content"
			android:layout_weight="1"
			android:text="@android:string/cancel"
		/>
		<Button
			android:id="@+id/save_button"
			android:layout_width="0dip"
			android:layout_height="wrap_content"
			android:layout_weight="1"
			android:text="@string/save"
		/>
	</LinearLayout>

</LinearLayout>